{"_id":"@ptkdev/quizquickanswer-telegram-game-bot","_rev":"531-1a5ab1f5f95f9384463f43b163b70fc1","name":"@ptkdev/quizquickanswer-telegram-game-bot","dist-tags":{"latest":"0.7.5","nightly":"0.7.9-nightly.99","beta":"0.7.5-beta.1"},"versions":{"0.4.0":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.4.0","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","init:token":"ts-node scripts/configs.ts && ts-node scripts/init.ts","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","mongoose":"^5.0.0","pm2":"^5.1.2","telegraf":"^4.4.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"gitHead":"77efc23d3618d3a56a422c62985ba80c7878a944","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.4.0","_nodeVersion":"14.17.4","_npmVersion":"8.1.1","dist":{"integrity":"sha512-5WB14pwDQNiZcWiriJkAQeFyhYjFLbCUMjFYzuOXw84Wmr5AFiQXu3MdNJcsEN01bJMr6AlNA5WJo72503wuiA==","shasum":"833b072c252d7d0bf517d34dae7abef8d082f386","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.4.0.tgz","fileCount":8,"unpackedSize":27754,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxWfeqFyOVfT1wBeqF7D7J9cZGnuasgzIAykz3V47awCIBAnaVrEBGGzTxEtmCENaHIK57XuEYA7gVxCSov6eZZX"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.4.0_1636318943996_0.5324422672643481"},"_hasShrinkwrap":false},"0.6.0":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.6.0","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"gitHead":"ff84bde5affd434c220366ae1234bd2ec6d71eb4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.6.0","_nodeVersion":"14.17.4","_npmVersion":"8.1.4","dist":{"integrity":"sha512-TNA+8yfUteC4mG8vks2UpYxyZoYVDOqRergQckervmyD5/UO5tFsP+l5tD0EyyZu/1VlbRjLjoCSheKYgEVPVg==","shasum":"48edb97045e526074be53a624940c23047867cb5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.6.0.tgz","fileCount":7,"unpackedSize":26794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhorkFCRA9TVsSAnZWagAAv7wQAJYNXUauoBgW8Lp/tNwQ\nF3vEHhKWJU6RhDKt9y48XPfRz35rDKwI2RjPHpU0v5bt/UjDY4tQWftaqtgL\nHKTqmN0IDKYdtBPPEtuuPnavyMzyE9p4UAn5ARst+ToRscF/4MKPvjkAPiD/\n36xiEBO+l+prlRx8Wgfd6JJ5Q6QZXzsD26VHsXo1//9v3xDdjKXYoVUPHGVe\n8LqXHYwgvGd/TnIoCkzjNfXuLmXP7ORI/K5ZWlhZuXPuvDs2IAGJN7+Mdqhw\nTX/NzvK4i5YbhzNmNwmr4NJX22LGwx9kkRZvZ0NIZrVjS65uvkB0oAF1MyXk\nggRrKUTZxmULTNwQT28gdPgODL/QrIM8w+lvdiEMYVrKGtXfSGKYQAPqUs9d\nr2a1d0DixPYJCRGAu92QJb7TCxNXYDF8VZ+lsFcuO2O3SAWQyLUYXBpCzhtv\nyoshmBw5cVLLrxESza3CL9SHAxSwL2OpeylgX8OuyxTO05uP7pVUvdEEUoDH\nFSrV+R6NrGvdSFoMdLtZ8TWQkdRJNt1YU2vow+uz+BrNxCOCdRdvF7b2jxpy\niWqr+cKthqjUyB9GAOwgNNN/E6wfmjVpgrc2/zpr91fuvs5P2hLsnw8V1Okw\n5/IKpxP/kzd9EO9oXe0k/RaJs9laPs9jm097zrih/rX6VLVtcsSSRsOdjX4v\nf5ZN\r\n=0td9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2EtCTGcs69gKXfIp3eo2YqK1aKien3dDyL1D33iWBHgIgGR6q6CqWbPdQvkFKqLd9nk6eedY8XcqSHUzicrcU7s4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.6.0_1638054149268_0.9465063073430404"},"_hasShrinkwrap":false},"0.7.0-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.0](https://img.shields.io/badge/version-v0.7.0--nightly.0-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bd1f66c514071046dfc49ff35099691fdec3e6ed","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-FgTBwJ/qIxFRHsEPQ7QJgDdo6bdokhGE1k/09XfPIqAnmh+v9H92QJPp+PErNR7wxZjLQjWvqMynRmVRBEtJsg==","shasum":"bc3a2cbda31bb01109fdbf7dfcfb88ab3ee1903f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.1.tgz","fileCount":7,"unpackedSize":27056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhx7S+CRA9TVsSAnZWagAA1x4P/ig94SqKWTG7ZBUCUV4h\nS1QjONMog/mpVOIic/6rYKTv1yzgQxQ+ncO/Y4LF2c8hTEE9PxepMNTMADAv\nGk5wit717MnB5csBpLrH8xilyf+U2VdNP2BHfcXt0QT2JMU477QfJtcKR5KN\nXpE0WMNdj6I5jkJY9k3CBDEb43ryhLAvsr5/RB5s+X6OHniQGUWwZr1irhod\n3aOmuQBZnxt8YJ038owgU5B3zyIm9r7W4tT/zTqtrGwEtjfDI+4PYqiIH5v2\nbdu79slPAnsy/lIsE3HOn64dqdnObbAS4mHQhYGjZq6eKVFk0B+5/9iTCEcW\nXQNnbV0Z1hh1pFC5pJx6qJ+jG6+0Uy16LFD1KPCv8JWE8yQDP+SVTNWpHUzh\nI2xyWLQoPMCG2yuwaXg9vMYDt5QtgtMPnbzLAB2vcZhFI/f1KEvxLnb4W8Mx\nRf33Kih/GHQQ9W66o17lBzVLosiOypTTSXmSndvFpNseBDbZIr77NZ1bo3+H\nDAS4+h01mdk2Q625lYM5OgLOTnbWEJG+w1ApAPtAOHFVMKUf83IRpip7HL+k\nIH7Pykduk59g4FH1XBDgOThnceEpHrET3fm8QW0cnXerVncMzyl4ad/e0pbY\noaQdPPJ3qK74nkIHyKiruY5R2m0dj0HHeXxMlgjNP6SRPHnQ5QDn5514PATE\n0OU9\r\n=Hg3r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+L6pHLW7JuV1saPHLHn4TLCq84rLl+O7+mg56xiSy4gIgAudxp9KThnmLvZ0shQU9PIS8uEkvr3B1SUd3Ot3xwSY="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.1_1640477886519_0.8679505719928644"},"_hasShrinkwrap":false},"0.7.0-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.1](https://img.shields.io/badge/version-v0.7.0--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"66ea20ca6493ba5a97f8653f5481dfd7a1809d55","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-5iw/wSMKykovVa28HIL/SwB/rzu6qAM571H8ZxQ5TvBdWp83Lzf1Gbn+jkMiAr9nNtDhQD5g6zjFVibTMNLD0Q==","shasum":"33f061944171b0c7faa141d9f9474fc24b291360","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.2.tgz","fileCount":7,"unpackedSize":27168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzdiUCRA9TVsSAnZWagAA3w4P/A5+MkJE8A2wHUWX2zIG\nfXQ2t0y7bYNgnb/auYIppMr8W8ndkes+1BU0xwhCoz4m0g60dgX8tGjcvSfv\nscvs3fcKW446oxl/7nhKbig8PqZFTrfsMgHR8Vr4ljyOuaunieOUAW/iKOyT\n/DZbO9BiM2NZgMPmOXmUcBEuapneE+ZifyqcoCSdmRxdNneJnu6a/aO9/g/p\nIMCHe/ox5avFgBWDfSALR0PGtVmyUNwPHcjoBy5aPWLnp0MWAtNjS6paQIvF\nx0en/b4m92LtLsaQiDnrecuXT7vOo+ABdnhJaneKKZpFJR+OBsBqAihxAHVd\nGfu7JrTmye9fKJGTH9qSvOXnQH7W/YRBnGyJWoomAASKcSVctmWumKq2AEMC\n4YzNKr7AubfbqWb+aGylVa1Gm/Wm5ECj6PEabLyblFtDrUZp2EjUPBaA2D67\n2edjtsIFSZBZF1uO2kUP1PNecsrdo6OEvMNcfBqmgDT3m97VyefSCL4CRNay\n4VK3p05yk4hWcP+ywXdBCTF+tfOuHyXSfcCFQ/RDhrJkw/tEm0LZ7J2vrMXi\nIuU4bRuj+KCjrOxtJ22pJ0F7e34ka49iQeTgHtYI5fKnoofuWy77BnqQGMXi\nTcY4MwSVwzICY0zreNCxOB69VBNyRiwH9KzqIfafKJHpkODm91jD2QjoxxMW\n1aMB\r\n=3QeF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICo0WyWeiG8yIzlN5VyV8ZmxlSRScVfrI8b5iNOK/BByAiEAsD4lXS/4NU9aPMIMPos08cfVzMlhyK/l3L0nzngN+QY="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.2_1640880276054_0.8097927960660798"},"_hasShrinkwrap":false},"0.7.0-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.2](https://img.shields.io/badge/version-v0.7.0--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4ceaaccb668fb1f044877800bf7223f2b8a54067","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-UPQ4d0y33/IOwB2j7Sdd+hPYf4frdPuQ1pyH9Hc6cf5lXIqAuTJDe1z5dK/eYDn/rGbz7bKkrC9fi/jmzvXUWA==","shasum":"8304019155e7a42dafc3b86b4293d8c5f621df70","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.3.tgz","fileCount":7,"unpackedSize":27168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhz47QCRA9TVsSAnZWagAAMlcP/14Wk9gefG5t6DzHV+Jn\nknTwVmbq+oXbs6mbQXX+DmTFECseIe+hZeVO/CyZMMhXpxXr4Ib2NwHFAJy7\ntlZzPptcvIps3oRSmDG3uYw0DyYTahfg142P3oW/gK5+5q3NzMHW7AZr+r9A\nZaOGbUkaOMgA0FBKqnSj/2SOu7jOcmrpH9lAO9BBKJ6EOVLuE1T+QzrZjl1x\ne1YuFE6dBWQS5ndzgQSEYVkXnvbeTa/UYY8dccUj8ivRRRuM6Qxk67hOGgVd\n07IaOdhv0OErgspJ5Esj5XFccgsmATQNhdFY3dZ3LLqdVAbaOUG0XGoW+6Mc\ncjIpZfU4/UXyogr3Y0/+GbZIBFkpDTXdrOKFd1TcakpG6SEa1Apmie//ztyg\n3UZaBQHNHvPDB8b02yoB+eedI23vail6olpUysi5Ervi/y8XhnZyS7qx4FPx\nDSsIguGc7HKFGaJhBzbZqAUtw3a+u57/l9Oqqn6BJoFkHWxS52n49gTN7v4t\nlCaU7nnTSNtQqmpVXn7S8LMeky7o11BIEoQs8zd0QU7kNrYlRgthLdoZE0px\n69cYrCrDrznhlTDzAsO/X7eDblCYtxqeQ7kv6PUxwepSpBGW++6qE/7pbB+y\n5M8iiNXxvY8koNtRqPgoBlDoq6vUoLDKBUJWaHNWePPhZCb5Hxr4dBohEFhs\n0isq\r\n=B/ME\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIEZhHEt2LNQeiwfakGO8dsXWIi/djiNjMSp4p8gyiuAiBW8DPcHqh+cccxBNxlXxuCN/BvDL3v8b2suV1/otJNow=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.3_1640992464306_0.2580437841477816"},"_hasShrinkwrap":false},"0.7.0-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"git-info":"ts-node scripts/gitInfo.ts","init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-info && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.3](https://img.shields.io/badge/version-v0.7.0--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d605fe908fa531210847ca6bf5299d862c32de05","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-mMGLTNuK6rLLibj96VDklfWKX4z0kM9s701BkrDz8/JM5XjkNpNMVcKz0IBcos9QD5a8PUoRLzg3EEkRWPPaGA==","shasum":"74a3f9a9956395d2bb0550eb94d865b5d31ca1f5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.4.tgz","fileCount":7,"unpackedSize":27272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0ilLCRA9TVsSAnZWagAApy8P/0TQpZeyO7AKQkd9/zaA\n4cJdOxBiuWHeauGVyqJKhjROcPg4W8hIuS8a+8y/Eljb8ykQ+2KcvkFAbUoo\n+ZAcehLdUWO9QEC2OhWvNugenwW3mUEGI9BSXNxC15/Ua4qPNfjmuXP2UjWl\nel53DVEofwZBYGRq+BxfaXx5R1glamDT8W1vpugI/KVdz2DkfvbDHKEBjxS6\nfGBNpqCcCvdm6l9NHXIWI/wUX2hQysDmhtMV7214TnBDw8k8u9jYI0CJUoc5\noyxZh9aua0x6923+b6l6xGFxKmFuw+GLbu1eMurj/4DEGtUJD0PFQitopsbR\n24Xwh8FeflYpNR2rzjl4/1uMjrPWdjz2ck2VGIO/BNHnoQUvR+n5ldmX2cul\n3EL9CdqN6LjIiHswokOX6Gg2VF1pokF1s604QLp2pgi7sJEbWYIwEMRI1hrT\n9XhLH1QwDjLsNt94fwJ13cmNY7tOBOuvRiCDL5M3+FTg4xFy0XylaI377TCQ\nrIgn50YmsobwLK4IW2sz1x8Gu//qcvWCo2pUREf2HO+mm9v2JbohbJF+8dO+\nd4t0OB0tmXV4Uz+jcTVWRayvhdrXbMjwDoCrIw31HglQbAJmGK6PrtRf89JI\nNZeUGlxCWT/bsdfaCphFluiM8gpUpdaMVy3ZZsDNdn38Fid8tTR3MZ9kVoF4\nSjMf\r\n=zZ/g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT5afjh11XJVBC1x3z2JA29mVOvgIEZx08af7oZCjE0AIhAPjjakvT2MgAmy3wPM65lbHYLjb+SEI9b2SrjCBswFg7"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.4_1641163083548_0.3941030481202652"},"_hasShrinkwrap":false},"0.7.0-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"git-info":"ts-node scripts/gitInfo.ts","init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-info && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.3](https://img.shields.io/badge/version-v0.7.0--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7ef9f860d2176522e651453458b4624b7fe3aac2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+muZGYR9wMDBIvQwKckfrHuktOyJO9mpr4oWYELt5/C8EeuUSQnJBT2t7aUry5jTr1qMFVcZypClzePYyAy8TQ==","shasum":"ae7c453d9ed577596abb810801aefdf07a472f17","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.5.tgz","fileCount":7,"unpackedSize":27272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0jbtCRA9TVsSAnZWagAApKAP+gJTanF21Cg398C8taqG\ngqTRvtu34Sdo2ZNgYSm29fnOKLFRDEeH/+fPVUo8enCCT1xzDi94vr+dfRiV\n0RYTFIlfiM5DAf7e///5C+4uLBBAS6V+g0l5t5hZEdNZkX3M063jMp+3pN6R\nJ6kZyZg06i1DjuRw8qz6NuEPS/IcaKbm8d6txe98UyLV+vyA++mMHEfmxVcE\nyKd+RZmtAxuJ6e+xHvWDxjnzAWMsoOse+nK2kB3od890cOyMjzGZ2+oyMrHf\n98uXEJuDxTdfRTkx6FNudqov77OFpPZUMjcHVCjdr0ogY7SDWFsI3uqpNKme\nPbcsMg3f4Wh3gz11V70nPK/BZ7UdcOKcfXC1HwAE4E7dsXCohz7qkfsvUNvz\nNFDI1QrX7jFwv7Gw9BY9RSd4ZRejWXTCghsgGHCz5cg3WSjBkXjK1OZYC+0y\nryUXQZnZUBGpX54EeQ1f08IjVg6OPHHPCNf5doMgkhZqXNDDAWaA1gQRk4FL\nwqB9XXqiLZ3uDbIbgC2Qn/uu/pQsBz2JKsKYj3KchEoGpWf47d3zzQSw2SbR\nd0IS/Vt8H12AAQSdhkPF/0KMi4FtMgI47aeerJQzy2vNzoQlvw3QgARfbI2Z\nO/nndSBhis9q7obZgly0IHFfIIVAogavN9k2lz6QXkHzKXvu6baASieJmV8L\njS27\r\n=MjQj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYKLrlRBoDRNw9sp6QstD46haYhs/vaa/usnWAw0b6uAiEA3yiDztpnbDLhFZcgxYnSwC1gzRcJ2Ve9SxI5J6UcHhs="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.5_1641166573854_0.7423343451953215"},"_hasShrinkwrap":false},"0.7.0-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"git-info":"ts-node scripts/git_info.ts","init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-info && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.4](https://img.shields.io/badge/version-v0.7.0--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1725091a80fb1ee0e5de07e8c2062d8b337a66ae","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.6","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-P8knGt6ePgRy2ZoTd1FrNiMOwZVj/TBsSFrhak0o10EB9iEw79mM+6tFEo+dV+wicwDzumm3Oqz7cJq7tQU4vw==","shasum":"d7d26371d6d375a1eaeaa4d2dfd01fae3724cceb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.6.tgz","fileCount":7,"unpackedSize":27273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0j+JCRA9TVsSAnZWagAACCQP/A+2thCmGvPq7AScnVVf\nMhomBb6SDSJxa8c2oNICYiLRCn76fMvfJubAF9StzGeRa6p3mVsMuXV2M9UT\nbT8/XsLl5GrX/3o3GtPKFz/UbBKQmEClIWF0mG43vAcR5qVgrN35/s7a5KZs\nryBDpp70eGFWcTcxxZNo9W/M+/xeUpemtfN+Y3Rz1Dwa3r4HsrhC132dBu1Z\n81Di975TPdPzaCPHZpRLsRg7vkl/nGjI+vBOr5bHT6eF+z0iSmAsg6tjYGl4\nzN1RDlekd/T/8jG5T2Aks9zmoLXBHNKGuo1pb3znavkaCBJBxEFs+pO6m/vA\n64tqFus0QQF6XEZy2L54gffkqwlDsibZfYjVOrw9DAwfCG9mHvX05gVP7AcA\nzmaZ4A6RIpRIlKTkrOZUtoUQI4aYC5O+W2HanfSNfwWEbLaTANb3zzDzVyFX\norugFnClcq3QP3DiMadStGGHifKAIq/AqTkCUVNQ4+0jF/WEhdYtT3ZZETNN\nyf0ooih8pfo2qjMGyMCQppzxVoAtGoN4nafxlcx6vGKlkGb+6hNS/LRLs+we\nKpKTkzFrurAKwHOnV0UVLBLW1lljGi0seTdAKcDDsbSPByGGUhvRe+y2LVxZ\nu8iCWhCwyrIsdUR+oeq+k5LXJiPtq95AlLi9FlDT0wMKp1xmkYOgmlHpnT4I\nFGO0\r\n=nugR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBXEtX2cFiKICkECVZG/4cJiz09HcgIOSv5Mo2j42hAAIgb5l+xxBj5Y04OHLMmcS4h9D1v89+WJdhGfU6UMstixI="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.6_1641168776887_0.9699994652562005"},"_hasShrinkwrap":false},"0.7.0-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"git-info":"ts-node scripts/git_info.ts","init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-info && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.5](https://img.shields.io/badge/version-v0.7.0--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b7a5ccdbb1d88a55002d3c25da3b5c228f1281db","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.7","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-8JzZL/98BL+hI1IM+1FmEaHKVM8y2NSnAqwXQOgHtKSZLuAhDA2D3mUFPW0bDw9TUTvt6EbtA2vMHqslqC/VyQ==","shasum":"b8e3c1871a41f41c355c8676dbe7d8ce44edd1d2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.7.tgz","fileCount":7,"unpackedSize":27273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0kJ3CRA9TVsSAnZWagAA380P/2eMPCOwk6u70LDNVr4V\nKmJGwOocVWHcx7EnP0CRYtWDmBrunCxSAiVm0phXls130fs+nI/raqX9Mi01\nWwUwDPhQSRtp0gNekVob9UirZi0vz2UiM02MOXlU9cVs24n1L6bitDXndx0P\n2qzDNihrhD0jCooognRIzKCnu8vJjKGgEy+2GjZcxziWr0FiwhygD8leK4P3\nAtkfRlNSOWFC57Fok4dImLuz5F28ak843Vldwaobbh02FeoPdaweeILLr/Iy\ngR8PzZGwZ9bMHrXgS2MygHK4U3M+0cnbTzTXqRk9Uwfyrshum10kRogt716r\nLxtUpdlpxZwwE8zCRLQ7BgB8dJVm82J/tmaUt3pSPSuvxajU2zU7KBdA7e4Q\nj3DoZEOSMfZsXZT8OHvKaIuReuA9LB4wqBKNtkyLz5YKcr4W9yZe0L9+Luqw\nLMmVJv3bPD/sa81vpXjfiTgMPUI4u2jDhXr1Lm7sSTwMxU33FCMSHtD48BxZ\nPjqL9bpNkOaNxTl6FbvvOTdyla7pZZFM2fTT7dUWWHC1QVUhIQRGA4aGB5Ad\nNlWnu65lZupwAoqbiqL3xO/Nne0sHOBGgxNgIoe1Rr4/YDDKxXkjHD+bjviL\nwIhKuf3EKnI9hJUWxho4YKyf9KdgqufHepzr7cFm0p+g8OdHB9X1J6ZZoqar\nHxLA\r\n=iTes\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl8x8kMDHrqsLmdnQjCAsdl8/9pGTHMiqDcIrfiOHWDgIgUmgFPsHSXOM2WDnTyc01W1l8OFXtWcpEZa1EVIeAtYo="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.7_1641169526980_0.34205148211911407"},"_hasShrinkwrap":false},"0.7.0-nightly.8":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.8","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"git-info":"ts-node scripts/git_info.ts","init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-info && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-info && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.8](https://img.shields.io/badge/version-v0.7.0--nightly.8-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cf5234b215a9f031ffea08516209e1c877b91d9d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.8","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-FZKzLyYeqWbgRHJ+2kqJrcjNRDx2q/4uSLaT06YvN3YMx3pChFZudznrrTggz8oqKKqR5DvER7z10CKow2dPkw==","shasum":"502b77804ab8ab100032036a96703ea8c6d36143","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.8.tgz","fileCount":7,"unpackedSize":27273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0kLHCRA9TVsSAnZWagAAZBAQAIvOBf1Z1xyRGqAeDSm8\n3lXlV5bG07i0QZardvehaYuCzshMMz7oIkKT20jV2RJz38oP/vp9ZgSGvhRy\nyxb2ssGclIpjt7tN4b3MFNtEIG7/BIZKzT2ZDSYi9deCCRKMLTvBW8t2tRwy\nMDgOwxvxryNZfV12iqURFDpQgHBxwHLooERrRexA+lp3URkVW2/ZCUPFIDwE\nlqrc7yU3UzpdRZqkKfIRAynvSDYsxlryTKgC0Eq1XNRUW9NKcpPICNnKybjR\nMDAzovoKG//PWGNvNcyNDMe0BcGcq0YvWs50z4dXXY5dNCS5Q7Pw693E3DGT\neRI3TOY9kJrLJ6qV+JDpQnRFAetLmiZOQ6urYljxIQopm3iFvHaycx4YPqP6\n83i7FBMnnOM40zwG1mrdqAWzjeAeF+5EHrUioXB7yd5y9xV+881/hzLr4ooW\nUs6y2BBlbtzqfw58ne3ASCIRfq+3Cx7qlsJKt/fT/3DBQDkd8NHAbOHl+OHQ\n8xjAutR8xiJ72ZJOyHu2FbfDjMFMY+LVY2sW8z5rrp2vlD9idHsursUZJ+7b\nk4OolWzsO1r/0b2PWIR6Zgf4TyNV/k51M2kCXvcR/darBBbCD3z9juv7hBza\nE/hU1BcbmkMFIivXxXt3U2JoEHHv6QqAGEWXokQnr6IIlV6J+aFFXHcRHgbz\n/ugX\r\n=86Ph\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ9A9Dm5PWi0U4jc9LLezqj28pAqALUouOmTCK3ICG9gIgPfcBMJraXjESdDmbCJsOwekXbsjbrdmsxO50Gm0oSEI="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.8_1641169606859_0.718459908205981"},"_hasShrinkwrap":false},"0.7.0-nightly.9":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.9","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.9](https://img.shields.io/badge/version-v0.7.0--nightly.9-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"97d935dd4462441719fbb89476abf8177d156399","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.9","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-qVpuLuc61q/DGu5D7PldzdGEDjhXrCSe0/hf2lnn8r7dZRUSGJt91FJ3TbN9I2iRMECSLSMYSGoLepFuFChz3Q==","shasum":"73e483909809c6acedb92c0f6fb32e6ede03d7e3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.9.tgz","fileCount":7,"unpackedSize":27272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0n/lCRA9TVsSAnZWagAAu90P/isGgv78HB6k6yGZs/nq\nMvNW43+SD/R5aotGLtEOn/EKhrHRtpiVczx7UDMRFzfPqeDnBDutPzsJ4sVQ\npYl+RxLVj5sHQ6sJGPQWCRp80ArsfYQLK/y0lm/0KUCtmiALyeXStHcCsHrs\nhN/NYix6H5GED+NBYlBenJhNVVnFsJHc7v+m3eFHmfbo1jS9HeTeyghR1yKt\nVcxRTBTflgfCIe8/h86VQB7za2b4CC/URUsGFnvsEkuOJWxU+UpjAyjcHfjS\nFu+FkP4na7iF+/1YZvt2EPiZbMMPa9PVYtIr8hayZ5EAz4R4/FDbk9LksVMb\nRrLLofjMcu2vAb6HRnnuxWzBhURCxiZffkeQzyr7jpxEKMLzxcvpjE6WieHr\nIHubPqRnZlQfGS0Txt782Sa/eZKNE4v3Kd4zGcH2WUGwBRa+1VVq2XB9FaE4\nv9aRI9eEKO0K3PFCbxGqbJ5Fsa2DdHE6MiKfMjjinSzCh49EhOI9AsUceo4j\nasdRiut+Mk7ZVz9zbvKM/1PMXWGinSKdQrTTJM/xXcIQhJtGu97b8WhVJBf2\ntTVWa045y+oX2HnG782rmPrbAOwrdQBZm7nVgpEXB2hvUa7+lP6RqLd973yg\nvAwzyniwv0c//nNnfB+YM+QAiiMbx8+2dqko3SopPaohT0HJwEv0ypu6iZ1W\nmOC5\r\n=oAH7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6QjP4MLDl+TlEu3ddeIv3v8hxpuRkoFG9I7xla5pf2wIgZBySgsd55TBsVi1qltPdgrARvw8DPuVQxeeZJsNLLhg="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.9_1641185253744_0.9383556463665144"},"_hasShrinkwrap":false},"0.7.0-nightly.10":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.10","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/debug.ts --disable && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.4.0","mongoose":"^5.0.0","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.6","@types/shelljs":"^0.8.9","@typescript-eslint/eslint-plugin":"^5.3.0","@typescript-eslint/parser":"^5.3.0","all-contributors-cli":"^6.20.0","eslint":"^7.0.0","eslint-plugin-jest":"^25.2.2","eslint-plugin-jsdoc":"^37.0.3","husky":"^7.0.4","jest":"^27.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.14","prettier":"^2.4.1","shelljs":"^0.8.4","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.4.4","typescript-transform-paths":"^3.3.1","yargs":"^17.2.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.10](https://img.shields.io/badge/version-v0.7.0--nightly.10-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5ba6616edc821f517f1c00f13055fe0ba3839b27","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.10","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-VABjYDjUBCPL4AhI2Zh2Uf3BpG7BFpu7cFkzZ4M4tRkxPAwBZ7jKkoAdlwHfjdz2G7JFJRkgeJ1En8efmKQjSg==","shasum":"1d9e0074edeaa4f8338f01255fff92789ceee7a3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.10.tgz","fileCount":7,"unpackedSize":27275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1lUUCRA9TVsSAnZWagAAMZwP/3Pm5S/hpzqm/I/XQfbx\nFDYzKz5iIp+tI9hWtKtWsSbuf2ZXlLZqLoiqzBbFIl2Wzy27b8aEamHCZDNu\nqexPt9JhxGy8LKaDKhsYSEGW52LHPF3vZyKxKKu3gZJ8Pbisfkpc8AQ+fzVs\npxLLUgFYhEjds/y+p80cGUa5U0lP6aINTh6ftrI+u7XhBHfIg98ehpTY0LP/\noc+C4mQdckaih0F2H9N2+EU929ad7bfMyGsBpXgU5ojB60YCCcJTsiiXP0iA\nNiJ/rv52aJIZf12YXomRe1YHhytHZhtTrW3Uc+b/sYVooCDQIrlBGBGE7Yn0\nbcK5VWPgKNB8LQMbkcedWFR3RT4sNByQSufVck9VCE7HhIQLhfB2LxYPO/6u\nrYpHii7S4Jbx//kHRZnxJbsQyw07Pre2H5UbNJjMo+NjgWgpbNoZhIqzNbBU\nCvCdNJm5QpHBcL4CrpZkY4wg9CDv4+Mpr4HgVKW/eyRnWT6iC/NZzIHRvJ5E\nWUmUaHr+LDnlmMtAZ5thxdTwmKP1hxmTotLfM6gfNUGeeFSDDrH7ZUofYzo4\nUS/lBHfCpvUkMGeaYY7NUQu6hcxFmYB1Tk5JLXcgst7N1AsZsdQmWWYZdRGX\nbl1NVwtUZb7PpSC7FNj+7F065Oe9+zRXh4/yt53UEh3k9M8wEno7VH823I6v\nV3Ln\r\n=KrVF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkzO8Z2YIEVX5KQbk+XnsaTH5BB3ek1rHvwoWqWsB80AiEA6GedT2MggW2T52+yFZ+KUpVTtGJ5COPIcrJ9sJOlmGA="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.10_1641436436038_0.5634457011007452"},"_hasShrinkwrap":false},"0.7.0-nightly.11":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-nightly.11","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-nightly.11](https://img.shields.io/badge/version-v0.7.0--nightly.11-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5fdca86844639956a4095b7d643582c6015a2527","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-nightly.11","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-33P16yw2gjNafdNfy6Mgu89uLHjtzWLemIpwGyuV9dqxaxT+iZEZkh64LdL5ie3bP2FVWNcQTg6V7CDEg9140Q==","shasum":"bc982a7058fc132dcee7b97834710badef08ea70","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-nightly.11.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IIQCRA9TVsSAnZWagAAxyoQAJR3g/AKRC2TyQiRVwnd\nEcZQiHncgaQfL1erDppGmysnfG5sQnCg9TwN9B+OqG9+YCz9iUZz+cUFs/qq\nWxBCRmGamiidgZj4s2xn6K4hXFfOp7rHaAWA12taKcs2adqJgi8LweeaeP8M\n8o+xSzx1Ch5yuCVTC9Mtsv6KyjeNVSayh1kTeKPyVLRFw18kejUjCfpxHTlQ\nrymMnlrJql/CpEYRT9RD9xBYCnsxtalKlnbEfX4krCeFLh6HemSVAMYJjMyA\nM1+4F/iThF2SFp5nmn2s7jS7lz2hoVSYsg6agjv35WxyLR1xneQWDRaKptLi\nYLe/qqJRPj1YFd4W5r+u4dehEqTDRhoqp96vpEXyRzRW8+Pt294K2F/HbAjz\nJlr54DqgV/yd6fmJwl7Eh7eLj4gCuBmhUoqZcXkbL77Q6tHHepAaEAaLrEbH\nPGP+NoYf867muvUdOAW7XiseKBV9jnV6kPGmWs512S0+tXwgXh+fwJqY77k3\n0DfrKT7FbW4YV1w0fkr+owbnxDqV/9LnKQi1wQPzoGr20mtomqBp2/p2qLE8\nfS9tdR9P0vfa38K23BE7GwJyOvj+xJPjU8Hr2UVQ9bYBcQmSpLee7GMFZ+tb\nO4ohjodNOWPbbx6CXFMLgsDfzgGQAX//Yz8MrJEdQoDCjjoiz+57dqHBnz7X\nsogz\r\n=xYTx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt1FlviddfIP48E6ElrZ8W8sLtBf8ibYa+uwWqsS0JlQIgKgO2v8L6JaY+2cRuaX+4d/qAgGZFVipiPMV7SjGcMFM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-nightly.11_1641841168712_0.7946926584547196"},"_hasShrinkwrap":false},"0.7.0-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.0-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.0-beta.1](https://img.shields.io/badge/version-v0.7.0--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3894909ad7940f2434a43c463e4bea86ab29f75d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.0-beta.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-P8JS/8SEO0s6kwU1EtdnYZ2ejgokGEqy2vtpntKQoudtA8lYeLU7MVNPVimpwNHJxnjSLJt4V+4X+KSTLqUEGg==","shasum":"c28136ad6392c018cbb7c004d4538e5c5a77c0e4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.0-beta.1.tgz","fileCount":7,"unpackedSize":27112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IIuCRA9TVsSAnZWagAA1RwP/1BdjdvpJuaGn3eJSvga\nClsxt7REAjT//C5IegzQvDc1ELo+adVLoHj+chY5UakCWO75TmSVcHue6Ldr\njiRpZCdOFWF76dqS0s5WCDqQ9d+gV6dGLuKgpx5P045BoL8Y3oDqouuOcmbY\nXvrsiYd5udR9uchluQrVqyLyFjTLRNlgGVCG9aZsUkXyeJnIuVR4r9fOgoWZ\nmqvbJdlOU8sq7yQAjIpNvZ4G4TWosuUTWf85tXFqKudvRp9Z71FPSk5hHeQF\nYw7Vkh2o94vFjmKzHdZNxrTdC7+JwFJwK5V6HgjLjJ6EjerpH5vlhe65VQNe\nYUoP0gLVmXgY07yrqPzhQf5oG85WXu9VqQAVU9/Ifl75iuG4dNjLkkrfaQNW\nRdcjxnd0E5diZvPv7pEFo1ODBuWKH9jLFvt2oYRePpSlKIM0X7GwI8X87jBP\nFXbyziIEBjBCKo2HOZMxkC/sgrpJ7M4yc02aKpOxcRksxdZHpY6Rw6Vlxze1\nUSHIX4JjkSvngsqwEOWFcN32owa4WLZiRJauFZFTjBPnQfacJ678t58D4xL4\ngrM4aeT6akYIJkhRS8WDbnnTClcpNRpXV9mR2FmoUwasZvSpDBqvZtX7lLn5\nTeWygmmWUhaGTkU0u8TLsSbIRBZymkHSLMshC4V3gclbv2WAOUvYrQkXh9rL\n6y2I\r\n=q+VC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGI0uGCQce7ZDSbO3mwPoVGidXEIJH8hAKffYgWQWj/gIhAMTffsnwNF43kCRIcjHFJq+TKUuRDsLsB8cICwY9wfRr"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.0-beta.1_1641841197959_0.521817258414982"},"_hasShrinkwrap":false},"0.7.1-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.1-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.1-beta.1](https://img.shields.io/badge/version-v0.7.1--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9aa276f388ceb5db2a1693bb11debf220c3b895f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.1-beta.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-w2Z11riSUToCQrH3uer812KvKz96VlKv+cTOgc4kKYP5IjKCph/IFl6BGPRCmAC8HEmNKSn9IyLjKSlW2n0ypA==","shasum":"60a39898b82c167f1579d540999186cd7a41fdce","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.1-beta.1.tgz","fileCount":7,"unpackedSize":27112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IO+CRA9TVsSAnZWagAAKx4P/RsjSlhnUk0Bs92uBDsE\nJ8lPO8upH1TdDqHghg8bL0869o0RNTG5d2TwYKbNDe4p/seLDV6ObyU6WC5p\n/gp1wFWQaDEmmKqcp0P1WgBSo7R6SM75Mw/layoyjmGQlwe30OR/6CtxrJXo\nwv2PntgQE2X3wCHCAMsmV/cPXbS+FTj9YcJdRfhLS4zlR5KxY7LKugA3D3+x\n8YQbLxEr0vDTAHYDNeo15YH3eoJRhVhDjnIzCB0Bh8unpfArPPVJ6e2PbA3N\nHcqvz2zEAyrXjhA4YIwsluKS/xqNYC+lM97kkiV/2ESRZfBFsQ7FpfFX0eq3\ndcq1gbRytaqCvx1pw9ENp4XgWMELtNuqkU+9VzqY34WEzhw2jDR7xa/HRzJx\nUer/xNapwhnVZVpNkGkWjR8wIqdsHziQK419wGxI+17AyQ4Re3uK+RqVsKBe\nzs4ZotuPI+0M4nkrNJaTT9KZcrExYNIQw0ZJMYk0KXlxN5Cy1sBO/KmIUhKP\n0JgDkwFS2ORZu4dzX7eS6Ii2JQdW6oYtwNX7MWhX1uyZIRwxnYbVfvGJMD4E\n4zyQNaKgE4li1pACWjVfygQpBiVpa6SmEZIWHcJ4xstYCrCdtXZ+1IaQj1LV\neoQEEEweI8uMe5IX3v7rcy+NkZQZnyXEUp7Kpi8xnsHhdXtBaHIzdc9OVQ3P\nYQzE\r\n=HrYo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXDL97aVUREgyms6hIe3uAvKlkXGjCaTlDDCLbf6CRhQIgELI4RBlZKjhYs8xite++X9+WAkBE37k/ad9Q82TAPgc="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.1-beta.1_1641841598601_0.8638199329342857"},"_hasShrinkwrap":false},"0.7.2-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.2-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.2-nightly.1](https://img.shields.io/badge/version-v0.7.2--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5f514fc38f0eadfd492d7dcbad6f8a9844dc5c03","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.2-nightly.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-YaLvZD9t+/Nmw9Vv14MBztL2aMEMH77MAX4s0foWD9ZnUs9HmLLkgB2n0Q9LGcl3x5+ipiPOjMrieiRI7xds+w==","shasum":"921447802070a44ab62190e924e2fd6823ada53c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.2-nightly.1.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IebCRA9TVsSAnZWagAA89IQAIqYO0h9R9BR/pV+YU93\nLhLhleE9wgaYiEiJ1s9YvS/X1LltqvQPCQL/ywtz7E+pmTI+rkk5CpMHuT1O\nFdYEz5QPAoucO06LIOSEJosf9gu8vtN0/b0zgUSmSl/PXxoSnn7Ql8r3KQFa\nvZ24Xd8dKFdxaYDdyqMe6W5tbdb5KioRnHWq1ZdtaXAGKi+ncpvj9OfDlpFF\n6d6MYydmwjAgFqyh+ahA4OcnjmwxYvlNWphRwGJC4ZBImPoxFdU3RMgQ9aS4\nWaqhtVP9B80OQriIawiZdPnQhXKWmvM0dwIas7k3tlKijzmyX8hqWfIyrIC2\nLE0XF9Mfyy3Iy5h+BBPdo8CWwCLQBGneyjA8ryD8R61lw9AM29rklqEmizOB\nRzx3P5seZKHfAwziyauAfktkdlG7oeDQTr+dEzCWqgDlmYmjOEXa7xisNuMQ\nZ02jV9QhzU/iDqjfQAUN4LmzDWvsxEMIQrweH8uV6/egMk+Ypmd+fx9nfR5r\npp7BJq4QXrzoJcuzwXXnqcSc31Tq7zc2KdiOwIyLJWuIJIgyidvBaqCWVU6x\ne4MD6tDbVyC96ApOPj/VelazZmLOM5RlNuL7849RLF+ROGGeoj6eXl20EwJs\n5HxZa0IJ3BZvLuI7kSQPEfnpivHxqqVLvFvqmVRiIB3fm0VNwaPso1AycVsl\noagw\r\n=wZKS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZza6tFVlnj5g91HdqFq0atleFdoKXPHBYiYMDuJBySAiEAyLnQJtE8PJf4TmnFV4f0q3zKA3+cjf7coGNhS+Ye1XM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.2-nightly.1_1641842587713_0.8001896690214785"},"_hasShrinkwrap":false},"0.7.2-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.2-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.2-beta.1](https://img.shields.io/badge/version-v0.7.2--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0f26b77439e04fc993e9fcf743a072e07d924580","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.2-beta.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-b4qvafzEt5LBmJ0G76k7S5IgG2c1Pu3wGQ4jJHzxqpqUTysIcL0zWLwqJFcy4794W8W1sP1UCrx6hZoO6JoYcg==","shasum":"695fd6d8e7ffca17527a7e786b22a1831b578048","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.2-beta.1.tgz","fileCount":7,"unpackedSize":27112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IetCRA9TVsSAnZWagAA0ZsQAIMSfR2xK1Ct+TulXv7N\n7YuGbj1hfiRiqtTbHHI5Ds3Oz2Ds41qoGQDzzAMuAOFuaVpNaQTHznE6twZ2\nZdnivB9/jPSmENroiu4ilgHvTzY+I8E0FAAGQsijHSETuaOQLLnAoiqDFyhH\nZLg69d/5uqQkglPa6pxQ7hDvBvZ1R5Am+h6SVouM7Nj/EbC+XmFCleRChuvS\nfXr3APINO5nDqpdr5h/B35UM8jzOCI4QGkFkSTXOeEHsQvj3QyTHNbO1YEPc\nzFNtboOlZHeB3Ty7HfQmT8Z0Uvh9DKz906SiWz+KxO6f/IoW7keMcp0L49oG\nssZ5TLzim7Bmgg+oBEKL0UEmDrsJy8D+5ZkBxdVoaya50c2tQUWvryeSW19j\ntRuKDLE3Cp9P01wOhGN0fuIxhoRa0fvoQPFP9WLh4dBHkD9sk0iIah5FNrBc\nspgpLUkspfnTpQmTix3/PiB9de+CEkLXDJxDQgkl0MJWMRgH+ukwU2jz+OK9\n8RCZkaUh+oV4J6AIsOaI6SVtJ5mkyGwVlCj5gccs+7f+ad9ir22y8s9QV6SS\nrM09xAb4UDUalQMQvOSfm9T+rVaXRhKVXJCNcBL6/Ais2bNVWnwwdU9zm+4R\nTxWGzYTX7yfj3Mzvf4WYuprB/vGp9r7KCmfWQgBj2PZ2WfaJMXyyPc8VD7mu\nUeQt\r\n=PXYV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD948XcFaozwkbeO2EnT47kSsJvA5nnC26+dX/e3+viogIhALOK9nbiSMmPbGkhRZcX28KYhINhIzXECiOvueaSH1Zp"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.2-beta.1_1641842605223_0.8643190216572103"},"_hasShrinkwrap":false},"0.7.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"gitHead":"dac6455c1269c2eb99671a68a9255dd075d6d7d9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-bEViNkRFbLdN8s3Fmx+2ZCpEWo1yp5Ghkq4WGVWmQ0UJ0Mj1VA3dum5+lvifXq7Q/hQr2MZV2sowAoNQG4YT1g==","shasum":"baed22e05f00725fa436b1ed32db7e8b4a163588","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.2.tgz","fileCount":7,"unpackedSize":27090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3If2CRA9TVsSAnZWagAAJx4QAKL0feI2aey79+njHFBj\nJyCTSXqJjjlmZT/K9+NNhhmoHJeG9qWb83htEDyN7dA8kaP3Rs5+b8yHFe3Q\nMGxinEgRDdLrAP0uClVrGa5vGw7mchDcODYy8Xtk6H7MtzsDrfMuazTw2Ct0\nJkkBs/jjsIU0gLxrXiWN4euEkKHsONNc3VdU4UezXx1nrFx1ieEjo/ZlkkR9\nbMWaD2k5MEeRRFZ3RsrwRJjhfP+xj6VW8U+tv3ReIHYJxFgI2hqBV2ccrVMO\nLEOoYilMM/T0IaLtqdI1KEImiNFrj7qfGtLGKX+7xZsBVN+2G/14YyyPY3hD\nwFviWa5IGzW5v3vb1MPAxk3P7zOFsKJ5OsNYJ79W2Qiscp6y20Zsa3oqhLUP\numh/Fnpn/B/sSNOWfDwN8DhHa33WDMudFp9aHRe4h7PVqCsBz/g3l0BLiKP0\nbhFUdBwMgLhc8yOQC93a7kheHAHxZNgm4UT+dQr9gW/DBC1ZTYgV+ZdVzp5g\ndPzZlUiT7+F8CUbi0KWcIsk1kTxib8vWj1ba5OeM20syg6MOVxeA91SFXQ3v\nG+eF2pywx5E/4Tuv+aCXdL5UZAbDfKDr8Zc9mKpBeDbMTnFvsEUBJWq7QKFz\nAhM8g39ms76WZ1WyFM/jznHVT4HNNIferkWPW3kJjZEZSW3UegIgLRjUuGWd\nG2ZH\r\n=VeHQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8dcoZur70MxP/IpMDRSKMS6Zo0dtDT5H2FvGGskJXcgIhAI8CgN/QgWIrNbfhp4qr3Jz5mQ4PYUgmSUWolHPmz70B"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.2_1641842678074_0.23780956162587508"},"_hasShrinkwrap":false},"0.7.3-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.1](https://img.shields.io/badge/version-v0.7.3--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"111d6ec637c165ddd42d4e6589cb99a55ee49ee2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-TxZ3ZqZvDTD/XXLlau7IDVKmZcOjgw0CQ2MGSl5pbmHbYwu9FQKbxeme3hSJ4KBDEy+nihF8yU01fD1Yk9hRvA==","shasum":"385cfb579403c6f72fabcdb85809c3b350b00911","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.1.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3IlHCRA9TVsSAnZWagAAV+QP/RL94AOtduP/d+PKxCzA\n4tXzt5gYjqjkcgNZm2+VRlm5H26GBQimmDMrvYM/nLAB1To4o8uDbRxNw01+\nhzbfw1Hx6tH5OUZ87oT33pI58hS5evJrxw+sLLb6+rWoI1E+/piUavZhahyT\nykx9YCwU4VO2RHTvBGpwYjveW/RgTje3uY08tYthYkJM5L3RWcjIPy9M+nu7\nb+XW1QgJ4cRuu2Vg5M5KKGQTwD5U7nhoybnRYql1iYeoumVNgyUlhOD/FEAy\nSpp3oPOBTJnWVpKkXyc1iedzd+rZRbEIo8eA1ZSBTJuGn3Y5j1276L9YN6yh\ntUljwkI7P0MboxoandnG7GX8xGt8Enb1UOuBcKOtJvzv68CXmxlnUOKfiF8J\nEw9QMjroN6skhY4vVmVaUOR6Uwbyk+jBy0MOqMj+nsraAkEZRGOIs2FJAcvC\nISpW+IW4LIbc8njExlEh8j2BqIwXNtXUz1D6/HpkszJsBTYey+9J3nOwQlTp\nsUvQP7iAIhCwJp6JCPeIIanmuro5m7mslmO944CJkF9Qd/b2H84tUw0sh7ve\ngCm0kiFnYsleyEGTNd85+EHsQqGNchrFVRMzG66CxDGDoytUbxRfvh5/4ow2\nReMlO84aIajhFsFQ3NNtewa43e/D0cwzuiUUTWQL1FFWerSfVqKhJ0SRZd5A\nmjpx\r\n=Kfqu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHiVslXxNkmYYIZkmC/vj5TmFALHo4K8N1iqDGfBBptAiB+lkfHZr7eFHdqLrRTCD1W9NOKzjpN2gxINA6KB/qf0g=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.1_1641843015640_0.6135217836819342"},"_hasShrinkwrap":false},"0.7.3-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.2](https://img.shields.io/badge/version-v0.7.3--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bec9fc8463c83e07f1c9f273301a804d0569b32d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-f5lVhGZgfxnVT8ZbDZnBNCsQKZm95OomgdF29YKwYVoMkPwgyL62b+KQ29MEewvz2hj8/41m3RwQr/LmkqxdSw==","shasum":"8b548f2c7ce4c8b6b3d60adfba789db117e089b0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.2.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3MMeCRA9TVsSAnZWagAAeg8P/jUmptvMrDwVKQa1OET6\nhtrr2UPT4Byn07mRtGUoE4jAfcV6q/T/HheYN8ATgQczkqtERrqJTZhz5h4a\nSYk2tiiQDEhZqMPQXwOSN2pnyv/0Yl+bhVhTyk6TIOP05X6QeGwCNDuexE/Q\naEEpNAGHHIE0FN3Pqzmgyq8+GHUnGfGbzeUnuYKjUd3lnk4Ym2JRu4vDJv07\nTuuTkt1TX4/u9fktZXd241FEtSgmzef8HzeESuG6ACEAQTqePUhiwaB90t96\nx2VLeY4vuKrUSaEteGvPGB78tLtkfy7ZihzojLWyq4BD6CNgoQnS4BulXTLg\ncDwDpsWl5+mWlcMg8g8lpe0EsVKP+dnXEwgB1nOVrHpbiVcp9TZKn5bK+xDS\nzWJn5zeBayRSN2nNI/ioK+O6CGi5MfJCXYOWgsSkgXzWzOWBlYEzaxiAapkO\nlhhSCLYcNB7LXjbF67A1+Q78fzr8WYGNA+Hl9nHtkWMCpXYQgIX+Z6c0B+Nt\nk8v5LCOLeyP2DSIv78BoEzd6p2D6zCJCkoIe7TD5Ce5rax18G+uhplc9ks7e\neIAp92+zykT0KBviujowxhtq27p3XGw3PUPq6+F+VIkeAWF+WDHXXZytw4df\nYmNHyAbyhOat6JcnGNIA6sycZU05aPcK73MzlEHQ3RAaAnXUlmKGOTAzY9EW\nJi7O\r\n=tsNS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbm47X4m5mtZP+JYxu0YtlIjzUpb/oTb4V88TnI8HhyAIgU7lnpXSsU2bLzyxda7WdgUQDh3EJrgvptZ3mCJ2TDM0="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.2_1641857821774_0.045681254171892505"},"_hasShrinkwrap":false},"0.7.3-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.3](https://img.shields.io/badge/version-v0.7.3--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"34166cee2ac80f4615ba9390fec31ff462453a25","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-qDxUyAaiLcQCxmZWrqSMg+nHR5ynp01zB4c9sUdgD/rfucYEKNpAKuDAMFh+2OhMVYOi5b/bOr7vERH0SmPEvg==","shasum":"3866c51d485a21a415f2ed70a20c4e09523dfc1e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.3.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3aiWCRA9TVsSAnZWagAAZq0P/A+vKqywVAxhfA9rp+gh\nhXpAQ9u8r/rvZR0Y5rknnn/XXAd6X6kap/NUpfIK3B5235wCPPs3bXApLayg\nE7uBQhcSidE0BIxWFDMQ9b4rtcIA1dWQ4AyyBDXqDs5fxcuTw2dIGbo8exxY\nTJdU2nn50UIm0ybkc0+NyaMVkhzuFTrqCNVF5jheQEztiZnf3Bw+nZa6DbLf\n0a+r/FWwr5uLup/nYqyOdtuQOC7YBNQHvG8eTagtTnfp8Iwaw+o7jrsN80Xa\ncQbp3dvFMTBtfD2CYUre73qwJR2xAARBDq/megwRsBXBtbAn5HVQXOsDqERr\n+oRUDkD3zm+Llw8/n6KfD1Pf55Y+yMPti0yztjiJ5Nzw1wSZ5FYLl5mNDidU\nz1MsB0keFTbOv6kea4C9HqEyP6xMXG/l52IfD6AC1RvUQFngMmF9go5H82rn\nM8wpqo4OiWD/95DlWy3qirnLfrRJjE04OTCUjZDyPCKidk384Hw0/Bocq/35\npd6ypiFyJlnMUMhvJTPPGCq5BRt3+eAljqvNHxTAC2Ko1GZ5QKjUAoNBlpvS\nvTT6Q5VlhEEZdlkR+jILt+a5g8/fanUS5s7MTGxgTiz0rbf6X5nd2fX9Zt87\nCHuZk965ypbCX4fHCb3Cyu5hOGMVTGe3EI2gtkfef0tEb5b2eQBVCewfuIU7\nvYju\r\n=cQEy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9KG7ggqk1Pb8M6/aufrHtZS23DOKtSREuH+5kfMrE9gIhAPCbC/VRuzkdd6mOKDjRKvNRTl/N/IUzUfOP8DkWmQWz"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.3_1641916566737_0.6070630028577311"},"_hasShrinkwrap":false},"0.7.3-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.4](https://img.shields.io/badge/version-v0.7.3--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"393742e0671197208054502369f3127eb343fa35","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-otIyKvRPKqiHaWMT4Dr/r4VpuK/9JAvY9EVufKeHJze6+/EI9nxpmEyWRhF/bHJbNhZmJbwuwOgDnxd3hZqIZg==","shasum":"96b420c08ac85fa65b326aef4610a4b6025a4359","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.4.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3hSwCRA9TVsSAnZWagAABT0P/3KOD8qeIKH6iZFv4T2R\naQEA6ra8x1Q1R7RmXahDlpv1LNsx2SXudY/ghCFVrYiSdr07e6Vo1jS10Psi\nInlmMyGoYFJ51yxZalxgxZXVy1UCQQbdy7SvfG8zgHNpA2n+kDqEzqspwjq8\nr0SU27rvFNzcBfdrsaZo+H7GjaXGoqF7PKICZd1jpSFHbzIkHNA5LiZvxEJC\nAOWZGZt0j+XPwvq3mTw9AmT7opJP892pfLrQdy92QEnxld8dLzyhkZiQeDbt\ndDYVJCxcR7MRPQ8IYHfqEkBJ3e9obnD0FQzKzpH0Hs4tb995HpONHLQVQrb3\nLtNAnqnLmhxgg+M0dVcAgIZR/ThdlU9xaAvpOfC+YyGiE6eg5ECvdUN2HsgY\nxApY+Ov/o4x2CWBRZF9xvhJh3ceMRV/wyE1lyOubh2TId4s3vJKkazYYVXzD\nuwB3ZJ6xK74/C+kmve2G8ebNcH5BJx/lTFIBZJMlnKOAUUF07NpFgGYsXjRu\nR4dLWnid2E5AcZWl0Y2Au7pR6yOoHe+TJkwUO20FBoC6zWSipmvuUQf+xfL3\nJ/1WbrmQpPlWDyMS2O8+kqm2CSH/ofGV8tiwxsSZxxAZJM3BnRKtJIu1nOmS\nX5eZ1OJVENmRs/m0iT/enwMnWacmagaZoh9FNet63T9AEaqealpNkcaLEOIw\nwIib\r\n=YSBh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk8RT9Ekw3sTappGXT/uy8gSMLHuZdEwDpfbTBS2+h9AiEA5AAHlK0ptCOXvA9yrsGQHedS2JnmsSXo1txBF2nSUKk="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.4_1641944240215_0.8928393483055395"},"_hasShrinkwrap":false},"0.7.3-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.5](https://img.shields.io/badge/version-v0.7.3--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"247159c73488d86f21888a8af7af36a747693296","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-qWugndwCb5HwgakMIhBZ4Jl0+6WnyAQevfe1aXe29t9wZ7GqwaFUOwZcZyFiHiDV/XOmjalRp1PsIJvz+MWhSw==","shasum":"1b9cafe11b34ebc62356dec676b750ee1a95b4ac","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.5.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh32X2CRA9TVsSAnZWagAA45YQAJOylUM1pJvXwORPZ76O\nfqUj/gOIiUCC2klBDZhiGUrYhJWMBhlg7Fj0uXUJtZwBaYZrSht+B7U5eIWa\n/CN0fRSfhrRBoPcYtqxX27p326OZTPnMvj0QocaipzZ3AsPz4jt8mUFppRlV\nnFPZZPZf8TWLrpRRqEiMpOCHso7HfgbIs/Z0k4JqZO5XrsAtwqmzwxesX/kR\niLJNVsar6LW8vH2/grhLY2MLV1Y+MkdAJbubbi6SrX6Y7m4hCgprAWoGyaST\nDDSMremKARpbC18V1pIqygklK1ep8xgK+Zxg2ftIcgjwsyppOsBGmXfoZVDN\nPClld4YXsz4QAqoU4TmYHLO/lwRcoV37LCztfUjh9dhytDV26Tk3mUnVX+H6\ni77f+g7f+LKfTIp0PLKjlG1Sy0jcXyogfsH+gnZPCL/pU0z62cAbWHBYi4SJ\nXDabh8mtbMCuKRPCzWzfieYDYRYXy122Nv3V6jWFVsTUuzGrfo08VBcMna+m\nSxwsw/hD7BkyQtbkQ27tMiS9hGHWMAmzXkhR6uqk7dWTXoJFTrmqVktffEhK\nWaJrbBwzH8bA6BHoSvVvbJY+/yh364plfdqVf4eZIy2tmUWvaHZ6Bf1My9Zf\n7fjtBwIjpCIkmd0k0P2dz002F9t1EJoxw4c1DG47kb1HSquydDuFNu8/vxyV\nvjgN\r\n=QDLl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDv8CiaDDS6TTqpjqOUV5Ej37jx7cpI9TJxhrUlOFHz4AiEAgsGGuXEEp9AGPU2fbc8bMpc8rNiMLi7634Y8zAsge2c="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.5_1642030582073_0.014738680923006786"},"_hasShrinkwrap":false},"0.7.3-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.6](https://img.shields.io/badge/version-v0.7.3--nightly.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"283d3ca047fb0bf341ce840bf46579f50535b26d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.6","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ekCA0t07cCHpWvjNP3B6or9ofUGHbaY8rRlHQN5Z58xf0jCGC45KlsdP97rKw6PThftpGaEbhxVc17DTsDyPhg==","shasum":"75e3f47825138f8e4c22be9d734aa70fddee97c0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.6.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4LeGCRA9TVsSAnZWagAA42gQAIKigd1+fC0RMscAMn+D\n0ZTTBVqPbNNOc8TX4y6bwe2bh55qjw1At5xlL+513dPytKO8HsG3+IvAU6YA\nDURK1+LhxpS0/orKWUL+uzHyEC26SbTN1e2vfRaHlQ/Nu1l2lA4dQd2MZRQF\npaANwBJMlXtzK2Lnbl1TbnCRuOc6hUYzNFYd8d5STdoP0dewMTVNi/yXwcKC\nI48BoP0C8DFjfAX+TjmVruq/flgjKw1DjhDehzvysJrGjKR+hjEpPFDP2CYF\nY2KDUYyemLnGlnEmHRkzTCHSm7i/1KG92xmemB8w9ltRy1GSQIJILt0Qvc9W\nfhKudx27Y04ugyZ52lWuq973RJwfw4vA7TvmXHE+P9/bUqXtjeXc/DjCD4yJ\nzMH69u+x6YgrMdCxaQlWyWiU/I87+ljLy6TlCPGmKQQ5WTQRreHd/O8k6kLk\nsAfV1ubz2UTernxNzOKjBoBFI5DFHbwjna7z13usAONU5fMgwicWlPTRflB7\n9d+Q4/ZU9BBZS6eIM6GCLaBSOUKy4611bkjAThWsH1HeLG20w2VOOf+IShgm\nlasakvim9JpkHXkDqL7EBw/FwPwGOL3e9+9ggwANno6RoK3uqSj6lck3I/p2\n9L0FDiarGF4yzosownhiyg2a8kfnCa01R5RZkKKEiN8hCMNG8k6QGbhDd9H4\n9Mgq\r\n=QhDH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0OUHcSF0S0DpnycqQ7EoTm+uzsHT0szv0APgUk4JaNAiEA5yideaxBGgpbKCXSozOmMAINA4VFRIDwFb+4y2CTAds="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.6_1642116998501_0.34572589256835773"},"_hasShrinkwrap":false},"0.7.3-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.7](https://img.shields.io/badge/version-v0.7.3--nightly.7-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4f367707479a63b96647a4f8f2dadd934957376a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.7","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-GYS/N6M2LrYrHOznDWyejJGyX0RkSvma59NWOFwWOEGDVcMdiiqcIhfsayzbPurP+W3NhENv9rwOJ88yi8AQ0A==","shasum":"bd0e075e5fb75e9907c716afb14dae8339757179","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.7.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4gj8CRA9TVsSAnZWagAA+eEP/1qwKct27yBwyyjjhdtH\n7IiPGurfBL3U/lfIxP5edqUhJn5RIUxrGC2KcZREy6ht2qI+b/gAcNtmSnG4\nWYTP/LtR2bFInDva7vg0LMs6PAYqPhfVeDSauMTN1NYMqBMZ+sqLp1c0wYY1\nTvPEgBSj577TBCnivOj9A3aVefbIswEc7nD29VVBpreD3mFTBwIwDcvkeaur\nQ8lA5Cya61r6QSe53g0IItQGOxxNqyIyF+FLcScBXN3i4NZBjC3B5jrSPm5m\nfd4K5EXDn5uq/WKmN14/FNdVBB+UgMelpRtAen7AJg6nBuQRvnewJE+aOz2I\nDORMvidb3mZ+8xd+mpwj8KhJS+it3xjtFEHo/bgktPc6ctdgMYGj5tHubrid\nwn2DP2fMHPXux08H/kgwPE05GSXir9ghbc0w9m/XnqwSCiL3MYiylpWYYWqF\nZnOAKxoTMVGafJ1nvRDC66jZzFIh6sMLmQseRXJwH7NmYHIywqYzO+klXhbt\n1k7boU1FKO1+h0qs8RV/3wl8MuqLEwk2KT8d12GBQtFdpRpQY+EyYJBmT3VC\nIQVKnQUlPb3Gjqg8tTPR0/cYx9ndkt+f0ybmTz67wWDm1LDSP4H17df7vYNv\nLYAXm9HkDjs4ofZ2yN5iaxVxHfkfE8SZQglV2Eyo5ZN2otlDeyusPBESbqmL\nQhJh\r\n=lNhu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLqmv4+6KZl8ixe7dLdPFp0o3zPLrsLuGcg6KXoFaDiwIgOlUpXiMwjjCh5E+2a9GC4DqZFsaPaVPbNBEEKJIqSs8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.7_1642203388360_0.8495918806323128"},"_hasShrinkwrap":false},"0.7.3-nightly.8":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.8","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.8](https://img.shields.io/badge/version-v0.7.3--nightly.8-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7a7f13d162c68a49cf3230bb11933483a7a9969a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.8","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+gxlmGOKkubUq1maEzhAwT7ISFmZT/T0W30avX6LScu3WrXBT5r3yAhFVTm9/PkN7pyoRUYGGJ0tf7K3kqP+uw==","shasum":"0b5184873ca5824ca4ad00c13d6bbdbceaef276c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.8.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh41pdCRA9TVsSAnZWagAAtMwP/0xQ69YVc+Ko7Hsr4jGU\ncISpnytAx5u1CauXSFDqlZ3ZjKB4/vLrBdXshyy54Xue8rD5GpBkBNZn/dOt\nLM/tm6mrQ8LPXUGvbhV8pkLy8+ckKhWCYKgGtlFSF37RXW5cJApwpsR6JLi4\nLfUmTsoS3nSrdLtCN6P1smKmuACmOq4JFlC7Zm33f1LyN+IPro4nqmWFNWaE\nb8QJVg3e3xSr6ePGO7ls8px7UGRtCSNfNyfreglojRY8S8YWh3nk+GHUH8W5\nVOLYjie8579+NgV21V+ccY+oBvzY1sGpGTEmzXsxCCHl7v2F8B6sa5Rkp3a/\n3C4gr8MlRV/U4htBk7T7LNZPuVBxiy/YNnzBxxPTgimY+zqU3l8XSsa+BziL\n4s0p/HZ1nZUhfzAvxo4yeWRUF3OxxZVtMC4njOHEt2xA4Y+y2WN66MvLp0kx\nnmYLtr33r2pFu37ZsH1wFkk46FuLoJq0eKysRTJbYtyYx8oHL5RCDlWBxyEd\nGtTYd/n8wpxMy30OQ32OHjVZvrsaMNBs4MOycmV0naU2fRCNoBXTIJ2KZw4U\noISTVJG089Xjc+NAB059CiLvhm7YVyRZBXCP7ecxTXJyhpzna9DP+2u8nTpF\nOJKvnCWNmPXrj6W0ftsY75iPNeyY/WdsdgItO5U3k0M1Y6lXQp6P7La2cKoo\nmtTd\r\n=CIdU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY6MgtqB/wYQXB2QUo53/kC0S1Op/ujTeW809wcGh/vgIhANKSynOE022OzMRxGlcnhhXtk4xAeLbZLf8QwOmsDhiX"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.8_1642289757018_0.4682995383265325"},"_hasShrinkwrap":false},"0.7.3-nightly.9":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.9","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.9](https://img.shields.io/badge/version-v0.7.3--nightly.9-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6ff696411565ff93c65cdd4440c5daac636124ea","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.9","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-qHCswYpPdtUmQ4JbZkibbEkDpmDXciCWqe/4aare/pKsG8XKc1tmh/EvcgecOxgb6pPaT83ZPeA0fb5qIkjkEQ==","shasum":"b08063e9c6c71f12a771c681fe7ce096c73b186a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.9.tgz","fileCount":7,"unpackedSize":27121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5KvrCRA9TVsSAnZWagAAdXUP/iRmiMkC0rixs3c/okAs\nJA9Ix/BMnKEavEi+QbbG+xwLhzGVWy4Y79ByjcPg/WOV7rnKrowd4STp3RIA\nRQ6Rx9D1gyI/tvWybk3PCwbF45b2xfi3auRALxyPIMFR9opJ0pH9dakEAdA3\nClGqDxFl8fljgt+1l+sqszSNWEjclvUBaYk6dwDnPQ6RkdGEh7dsxKyHx/iU\nq7zbCa4izmvgEmdLJphZ5KsuqA14tcPANCgDK0C+MGlB1lR1BiF87Tj0+c3u\n4oaAM+EJxaSehSOGgbGRwgI1WtT3N4bkwxiNR2qBW3scZJJEocJzWf3Wqiwd\na8VtevF13438l7aaCUV35ZtQiURn9pWgAFtT8aPmQTkx9syacHMqkZ/fuQQ1\njyHa6nXsxkmEOm8a7G6nYX9dZ/wW05wD35mqC2BuUhYEQZ86UJivkAvdnND2\nR8OVAFkYuICMsx8oWcdpRfr/24vbShMl8pCQehfDhqQjW2LmXFmyDKGcbmBL\nSsiffzrggUmK7bQaJFLPHgNHFLwGidqEOypUv4/27vay61X88s8Iq7OJp+zH\nFFagVnDkYfzmHV39NAr27eHmAC79zF+pYrYaJn1DEfgdvFWRq7x6okvibADP\n42LAZb9cInS2yxoO34pGP0v8H510xfTXz81tLkdzzRnFq+SYk2gzs4G3L1Py\n1XG/\r\n=6elO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgMiTW5/H8MJ/mFlSuJXeymMqETGyYp4U5zJpT/qf2LQIgb6rfu8qwmSX9r2UZycOAgerCMFWduEfFeRkk1cVJh5U="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.9_1642376171666_0.8963746876171939"},"_hasShrinkwrap":false},"0.7.3-nightly.10":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.10","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.10](https://img.shields.io/badge/version-v0.7.3--nightly.10-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7bf00e8dfef66594c6eaeee90c6dae2e169fb818","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.10","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-5jV3AllVHRAmzpCPH0NYtBmAoWkAMDXraS4zAWIVwHhvB39isNp6M8LAg4o1n7PhaLQ7StRAdjtvrx9j98U5sg==","shasum":"2de831c2180559f3cdf6636c911171cca1e18735","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.10.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5f10CRA9TVsSAnZWagAACwMP/05GebzCDJ9tEPjbaIuv\nhUCUZqt6RMiotnOHUI1eknn8yIaSAPsRcSmVMZPS23B4IQhoY/KLPVhnJTa6\nOV5bzo2W3hfF6+7nbonMG0OKb/BpcgScTG1D1Kgxwag/fn3Kt/J6IcPOgLPC\nfoG9bZ/R1HB/Feeg99YKNw/XWSVtRYlYVp0urMkv+K5N1rkXWojkt3DAHf7m\nt/TsOStksmjQDMYlYwa5+gWTdo0o5d+jC14byDfX5Md+sYrCFY6hFq+frCDD\nO4MvXTQmxndqMQN/Pi02/cTdhyIhPQ5TU3eyY+0YMBosSGZhAHvszDrtaf3K\nzP4e2Au6hRS8ZuyVQNC3GXZCPXZzbBQvlrTqnrpafPx8THv6CGXzQywJe+os\n70Epw8Uc3oscuH9c0MZy8/bspjouxZeSgLMPhvRdXh2SxTwiSek3WDxfuceP\nvGxhELQogXR6TPWd22HCe5tqjRe9t0yIa0WdX+lj8PHvNr9ucYR1/mLI9QbE\nYI6VyC6M4MjakivvlNSLHnND3w5CAURZbDuevzSAwDPgKgA4/yYyMlyhYXFA\nEqxjSNErErgDqnQ91dU7PXS7MAFxGe1V6ergZC4Ae3/AMyxHdp/vhZ1p1gmx\nNzCCWYJVfNkJYVoQoYcqsHrNLdWk+sZM33gJt5I79Miiljz7Te/0LubSoXJf\nTpi/\r\n=xWnm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFAyR9ID/mKh85RfWFIKeoKj0jkMzcRZwS7aNCICkBVgIhALHcCpla1S1iJ26Od7DojOxfQvsDSADV/qutvU0J2qdE"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.10_1642462580702_0.6809716306629399"},"_hasShrinkwrap":false},"0.7.3-nightly.11":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.11","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.11](https://img.shields.io/badge/version-v0.7.3--nightly.11-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"77847b92ccc77bc0a1db4e61cd13d381bcf67102","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.11","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-JNWqcB/liStfBtObYuroX31VOBAIF21D7IqBbxXebSeK35cgyfsb+Q1uSYo/j9VF2jW/hL69uFRl54LNCQbcFg==","shasum":"320669ae49c49db4a76bb0002ecd26caf4909951","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.11.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh506XCRA9TVsSAnZWagAA8fYP/iQk0W4ITfMZPo1+EBrS\nG3i92No5LsrVlTZZl79TjUp2G5yg1FxfdoApBAcNWShwqeQc3FVgwfr7GaNg\nfLNSxTLHj8++UZ3SGD+5rO99X+JleCKAekfZJQ0omZ3njCP3b7hYyTF2NsAb\nvnelcnRgT6YT/SL7cQzHELCytPhbtYavEibtf/TOo15QuiAtCy8RmjTODZTV\nT9acAEIpWgDnSA+JzNVHo0QyAlmkCPSZhoX0YPm4Nb2p1zWnaDrfRWq4m/gO\nM8rpQZgz5wLtH22TQV1I2h1W7bUx0/hGysCDsBdtm6G4WKdvGE+wEjuJZIxo\n2Xd+0AXPnXu6nFwac/qp2bTb5kLmPqJ6ZX3UGq5Ab8JPaAVJz1oGiU4dPZj0\nBFavrgIEuR/jDJJujGI75dM2ezMuFLoO7O+EQLCVjmPeENDZRluEZjKsMYWL\naQtDiSi+60T1k1WPy7Utcf4F3j6WdqbqqvZ1ug4M8CerHvPctxhgNq+7scwo\n9lcF1Ozf4++MDIQTGbykfYkITE07eOxR0dnHkH7Hu5rmGDFit0DWEPyoZau4\nwc/tiB7xB+mfyFAaDDOCRgV5ZFRwRgCg1UnJHTDNXU/NoMoz7prDO8tKjXhD\nMPKvRmwmdWIiSyfhsIVDYoyAoSRD+AmskSgKjIBntl41ostTQy0ZnAA2OKCW\nwCKC\r\n=Ma3A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBc7pfnLntME+gs7XWyccfcgXyqZQh89wkzFhoBAclJfAiB3+gAIFBSW3ZHH6JQv67hGsoOPaC3OYs8UEDFovKXXMQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.11_1642548887582_0.9377715958026773"},"_hasShrinkwrap":false},"0.7.3-nightly.12":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.12","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.12](https://img.shields.io/badge/version-v0.7.3--nightly.12-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eb58186ea97b18043eb6de0f05c08bcecdbf57f1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.12","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Ri/74XAM+4n4C88FWe35hOBdmomWsrjHZsDlXpOffbrA6XpKv5dn5vgqviU2xQkv323/Hxk6/ps8F6gH5qNv6Q==","shasum":"8355d24053488d1bc78476b955638fe2efddc291","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.12.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6KBICRA9TVsSAnZWagAA8R4P/R5yUO0Dm44lwASTcAgh\nyAZRi5fo6YJ9MhD/YN25ApU8skJRkx8cKJTsFVdxIyqIyO4Rq9SDaGYfa0Xh\npkcuAC8hrg0th2Dk/iTCkNRdez8zrGbZK0pjibIkIKtfx0OLF9F3NkohQz0l\nkMT1nANP8VFRue22IV9vNioPTTPkeb/h1HRxyeVWL7MvZ4f+gXMu73ltSBx6\nvdVL5hiu15i7zh/GOXCoJ2IU5gwiHWl0VzAiwictD8ZtfFo9j6VenIpmZSZA\n2waIdmEEXFB1koubKIY/qyqllAfpa4P+/wiAfyAZ7Yp5mTwS5G6hEnSjb1YX\nPg42z5uRfnQiwOQSn67SsOnV92OcsZT078WRL2qq7W7jbHxuBkCGIswMXSnp\n6UUsTg/8HwoWJj61lUd7SXK0Elr13LH30MHzuzPNkPDUmzMOWNYaSXjzM+2w\nJZjm1xAFolzUwwRL6sa9I5SG7Pkwy92o9siRv/g+NOxQ+NOM/WDgCk+KIZ1H\n/jnkaaLDS200aSgnvYrnq9nhUee/NKAHlwjLkVFN7FGhkJulkhYfDVl810YC\nfAuq7JDG4AJXeF/S3RcXaGPG2nfMSjHZn+rEC0vytqjeKSNZKJGzvHQgF/rQ\noaJYNhOuWNA7DP16VgwxTJrwrUqNsqJgR89yo1qNS5aETIYlbffnFuHQezBQ\n6SEz\r\n=fqf9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLUa0Y1RvG7lv5eukoIIW36MErTwACMu6GjQ+dF8xFNgIgNU5RFLabaly4HDWG7SW5scGt6NPnF6f03FI4YxYUPO8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.12_1642635336293_0.6039236599728879"},"_hasShrinkwrap":false},"0.7.3-nightly.13":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.13","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.13](https://img.shields.io/badge/version-v0.7.3--nightly.13-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"87c40a90775f2d898db51a72422452a05cc84f0e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.13","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-E/ve9b3GnjEfPlqJNRELAG/2a8ZVPNfLi8PHb+V1DrFyKuWzh+El/LYu/2SzcVrykVhxqt5apZy0B8/zygKo3A==","shasum":"b59b0c680a485611caed29c4b46b164fcffcc0ff","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.13.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6fGYCRA9TVsSAnZWagAASuMP/3pDWWwjL2OZZoMT6Z58\noE7PjWvc2HNAtk2L5QzpjxPycSX6JQ1fT8EiY2hLhW5YHdYxOYFHMgY7rcJW\nruh/1CcLH8wxXvxXacpW9XN5HBM/OZEfyyfjb7XNg8wvDHRoMOT4YMBUtnE/\nunKLn6BYYKYXC9LN99iUhWF+qbpcUNMSa4e7iN/L8NIqBTne9wVrGLI+IiNn\n/vIqqESL8FYYJm/zM796tkF29LKHXK38NGspWjV2wVJZ2slxp/CbxbHOmrkV\n20ityACHJ3xc6EvYWZd8nRaoQJTG0WwKP86Jg5DULQdmhE1KZRPoVwA8Yn1N\nmddVdkZjDvGJe5U9x/gEpvytoD+qvxZ9dHdvTXuqYDhHojhwTwS9UjrS5ud0\naUFCL1oGwCDPm6d0NW0/0F9r6+4+3YU2htYxFp08fNYqpOT81acjAXKQNX8O\n0ZmSU2tGFfcMEo5bopwVDhXx4//Oq7czxGugI8s5KhrIpenh5UUUmAfsimyV\nYMnq2aJQZC/rx0KR/Eg+auPWA4uAAB2317/4C1HJdQvIGz02mGeczWADSlaB\nQdjXJv6uiQCXHmBQUH6VGZ5Vy5ri+uKviKsasmziFxlrCP4slCKqOybUfQHv\nlviJs8GVwZVviDH0zS3ybJQlN3gEzAMcg2UoovDs1/O14dMx1QUe+0/WH/ph\n2qCz\r\n=taBl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4qPqf6IOGscU35yakxJ/g+nmijypEjYosWAbEoKle6AIgcpWQaXIAsWx1otPP/N872gBfy2GEKciBICIkcA+XKa4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.13_1642721688256_0.03424708313443503"},"_hasShrinkwrap":false},"0.7.3-nightly.14":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.14","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.14](https://img.shields.io/badge/version-v0.7.3--nightly.14-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a1651a03591a8b007fed3c2b0f2d4f34b269c29d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.14","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-EIjjo2bb+7XMyf3DLhmVWTTpBVbJ3yK4YBlqspjC8CH3AI0q0sL+G6doYsdcTCmhYt8yhP+OzfmBWMjJ/BO5iw==","shasum":"d0f2fb66e6e98cdc9c4d422f7fe4aaa595a8d0e9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.14.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh60MrCRA9TVsSAnZWagAA2jgP/1f6SJY2M1/mWopiKcLO\nbQ43xG275G3q3Ex3wpH1X7h9OXtXXZ7aG/a5Vw423Yd5OleA//PotEYPwm3r\nSxMEEXVTcMotDxVhfOkeeaz/YD3HukVxGDFfX9NSwbFZQu9rjDVgd651S09R\nxi6O7tOmN11nFp/jPL/3C+jUtJb6LrNnUN7gwuBUp5nM+4En/zHDrdI/m+/Y\n+4WukjInX1xOmw0W5zyhlZ00lyzRwLh4HnqhFq19tpvMPRdASsV3fMoqbmhi\n61/2Mb7ev3rV3V8i1+Tl5X2d7GKm10hoG9fT3Tc4LQANhd+q89GDa+dZ/cYC\nukMopP7BMWfxjqo+30uXJme+xWCYe3rs3arTjyGNj9shDo02zxgKRZYEA6k+\nY26YQdymNl0PSMjcOjQutBo7V5crLdqFId+zBDz4I2Wg/djpq+eDJ07biVpU\nJda9+C2dJAAFUyRfAvYyipd/5p4jdg/mUCuBbh6GCQl/3WtXQEuM4GUtNsFU\nFjLiJ/dXqTTDyEE9X5dIe2k75uEHEozz1FIjeYBgxGjtYbATjGDhPHk62DcS\n7qj1huw9qFmkY2AT9+o/zc1tmzxwR2QyFG0AVIYXBTohqbA1f3R9tix5mjD/\nvhcr/z+mUVn7L4SLRDzzgLvYXwzJKlbZ/38ekkwdPa/2861OyMx9Q0G1FUyn\nPzRK\r\n=0pXS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgrXjJb0ORrhFpfbF2MPUejJRk0czUCsEBewxuxGUMAAiAJXyUAdYB1M1pRWXAZzhl8exC/mQZShMdn4pGE0wEVTw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.14_1642808107491_0.6565643694246541"},"_hasShrinkwrap":false},"0.7.3-nightly.15":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.15","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.15](https://img.shields.io/badge/version-v0.7.3--nightly.15-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"62d296960c300897777719ef9b24a6f17667bf49","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.15","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-fE+Exzeb6OKGanxR8Iyk26AQaKhb9nVXMWXizwTAlKXIdFTj5NTyJQ1DX6DUr6msdTS1u3+YgNLAgwiUCNc2YA==","shasum":"127a3f8d2dbcdf1f5411a5b9226fd76e62bdf156","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.15.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7JSgCRA9TVsSAnZWagAAbLUQAJtto64vaRPeXyqCx54B\n/gbeDO8xRqxdsiMF17MeSAjlIa6IshY8WAWcijnWg5bLWkOypVNNIsUaiyI7\nfa1gPgLA5qbWGWHtbigQXBJ7wxSoYiGQpPKfSUhTNA76bn2wcCMzt5UnA7KS\nZhYL5vmi9Adb8SSLh+X/ns3cVbRz5r5f6OTu4JdOVyrxIiSD0+6/hLDnoxdi\nNmqfvVKAJ1oKjnVj6zeYqwg/Z1tXHDhDn4dw+ilXgvfbRy9MAu19n3F4XK0h\nqe8hKC/JvW7dRS/6DRp43Z/mwmXi3TEo1/Hiw/HTDL/RzGhlZRvmzUqK85lz\nLQWtDDTDU58F1DRjHj+w0P7/DB9TyLAa46DZdk7BaqzbKZeqB7gkG2fyOMGl\nh0bjLWNt/lA00EweL21YHZYmMMrRH4NFakQquwLhbQMFTgZ4gLOHVJYaokx5\nFbA0q0ZuDtu1ARwQ5VlE8Anxvn94vLDWOKzgo6nDrrJN9MPKrtrumt/Kubn/\nc7ZU3q5QnjLdqStJlY1dry1I6GNxT1jcZ7nwOap8ASGFYIOJ7gq4yNTvcp5i\nhVZDTRDXF3aLECrjGJy97wSzsMkGp3g+5m9ZRX4OcGzLb41itRJ1K8HWjf6a\nAB7ztdn+bxJfMpGLN6MVm1SLtF3G/vU7y8cGWY0cbB9W13NPFeOB1H4Y1pt+\nv1wZ\r\n=vjd0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0hWDGbiElqpx4LTFeEm8TQ+TJVb7mpFf3EmgYC19soQIgBsDcdlyCEaDRXDT9zr68U/tRBnf/zo9R5tIeR5ckkE4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.15_1642894496455_0.09419483396809825"},"_hasShrinkwrap":false},"0.7.3-nightly.16":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.16","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.16](https://img.shields.io/badge/version-v0.7.3--nightly.16-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1641649e2bea973f67254c4ed15b389641450748","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.16","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-gf0684Xz1IwMBnXVOGuNe3VMyi2G1bKyAwDOKUcYzgRPugKr0HuCm0eaXUrkm3K5ZZdHdPFiSGTZqAKGtQETTA==","shasum":"9ad86ccc65a8341b0a08762ad0e9fe1297672ea4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.16.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7eYcCRA9TVsSAnZWagAAAAAQAINIX8J7GcNMrqaUX3b9\nfLBOzaQK3bt1ipfZFXA+8Cat573aUYWD7dFNApI6hXOqYTEj8VXZH8rPBSXJ\nGTpQmKyPugppVEf73sejVLMMrJeGy0POFCKQUhYzLZzqPzzSQkzZHBQd4dO9\nLdt4PIEYzeGGE2q/+2XzHr4Eu1OCB3yihPfbLE2LoAlzweHEQU6A39DDdyY/\n5lHKmzxLGKC1nf5NROPjW7UTQ8Qhtcc38kM2IcChjYscqjmSVKw9tfjHQlmv\nzLv8Gc+spBuo92RjQ4FLml0RVrp1dDVFDW5vArkC/KUr5cKEm+BDpREcOqoO\nNiHgr29z9YuyOWVBfNULI3yWg1C5vOSHPKVwpLxgiNb3Wq5Bt65r3E/JQ8B3\nZPCrrDKxRpBJRl+qX73e4X2/nFlHZeciR7icM4uedYobwz3Yomm+4iYxNhHF\nQCq3jhv89Vsesp3LlkSxHwLWKHmdpFf7CWhnBXjBd2botqEgvHbQ+Sjf5kbV\n9pbdO/XK6yr4IYeOiVu/ZQ5wRmX5f7R9JuF6lQIdZMxXymrV5GeqQ/3vJhzn\nB3cNqbVMrjnLlK3sRoqmBPsmtyKJunDQhOXlCKmwCFUrAHEOb07X+hYXFqhD\nUcbLZXV9kGSCOLkeUJYjk5HLa89VbWOaOHYz+970cU7MX6NlLw9KNzaKzV8s\n98uu\r\n=LONk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJs6ypqSqLtpAHF4iMkz00hN9iULOArIDpVKQPaP0C/QIgGAy/IuDaUB9Oo1PyW2gluCbP7FOFCUjoloZmGHGP6EM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.16_1642980892657_0.30334336061203127"},"_hasShrinkwrap":false},"0.7.3-nightly.17":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.17","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.17](https://img.shields.io/badge/version-v0.7.3--nightly.17-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3993a38ca722986369fe40eaccfa88f9eacd236e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.17","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ZpYN+3hwlnV+evzXKGfS4IM6QV4HigJWGQO8lddesBmHDfQVWBcpL9O7fLmPMW1RBfkYuo80atSj3GId7RPiRQ==","shasum":"6d9c24105f21ba49d15e1fd907a48e701606709e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.17.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7zeVCRA9TVsSAnZWagAAgQ0P/3ppNNl2iMa1e4RYNBWX\nQ1LFgjlbPHJb2iHxKgH76jeuLDcIULjmwjlEKsVHjG5P8XidKtrx/Nagxnvy\nZkzudcorIHfeCQDZQIV6clyDA8YwuemLjl4+nIIm/NRRcUFpA/xp8dL+ZRUq\nFwC7j/JSnoLSqJRAWkTk51wtaMAGwBUhgUrl+VGsf9dLZYnz1OJytLkrGwvr\npcSRAakDMgTZqrgy31hR/9aX4Rccb+92R8fgUKOO8MNk68lF1AAh5daNZDIY\nmQ6UivEIIUN8mrPay3NqOJAazc8xfbT2L0R56QCmEnJqnXL8hmsh7+cwZCRA\nlLG/c/qV1U7Lfew2ABn2PXVewbTyd1aUKCs88dloFFQmJanLqytLmitiVlAt\n1wVHxeJ6QfCRe1x48WXia5JVjjsuDNHzD7inSAssIMz95wI5GUwrVUIifT+4\nZwjP+9yAgFTFX+IloJ6Mt3gFfQD2lVm8R9JMSmL1ylk0Ib35RGWcUdjR7WtK\nLekc0nGGEk1IQsP4OFbMSt2gzIrsex4jGWqziYSZUSyWWka4M/E3ZE4C1yoM\noZ0iYcSTG5og39ngc4Jy+YynZFN+6lsDay9/7LRp1Nc6yZVvIKSuazKnil0F\nsAPpsZ7UxBsMKzvoqF6myqlRI/4iuRV9aHNDbpnF6zpDe9ZlzEYVoZhxjZpd\nnSjA\r\n=c0GC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+tfzVX74sHBv+uubNVDasHFmGkP+5xBAX0jPoUYLuiAiA+kUec+SrtcMPoohN2RacvP1+6Ebls+PJZNLtDiapuIA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.17_1643067285643_0.19735332460414168"},"_hasShrinkwrap":false},"0.7.3-nightly.18":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.18","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.18](https://img.shields.io/badge/version-v0.7.3--nightly.18-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1a4f29ef4b9412a0ade69d5590c5d25d6fd5263f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.18","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-w3oXpWOFSCFqbTyFacceVYI7Iqq2iQFGp86hkgzLl2Any+BL2sgtKPJUyNtmSgb1tEe/cSoG7lc50p1s11Ejbw==","shasum":"aa010f9b0baafe448e4c1946378b97fb8a4b7dd5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.18.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8IlACRA9TVsSAnZWagAAH2kP/15gl98cgONnO/lQRJbF\naGMZzXE48thveCPMPh18p/xNb1OBpN4egnqM1DHoywGltPj1QmdBsSLt7vkh\nPeL+AD/WcjDnT9gKxrhlHuiCH1048t9rbK6MZbd2n+MALVMIVdLHpz/sPxfk\ni/cU7FhuTy5o1byJxhkJmwi39fV832kR44312JglqGreU6QhV8Fi9SsxE2Cw\nguZ2Bpo44PbgT+YqXxA/KtvyhaXHkqbNaip8myP712XTmn/rWZjJaYTYr6D7\nMwR/C3wioqzj9rOjCpgVPduGsOoJXt46Bpz7fj7p4yqancJwsLHB7aihemW0\njSr+WKFkLJWkQdZvqChq3WrJSMrjq2xHxF2U+YivzepLlIhJjYV8DD9sB1nk\nlJlpNF3Z71hYmeL8wKY5LbL4OaomWzJQ/yskQVtBhUjOMfEwxlk8RDCDa3kA\nKSc8ZFYFScWU4Czw0WY+Uj23AH/HfQtyPvaPuktl1CCzohwbn1TeFYt2sU2/\nGNPQH+gHORvHtSW12BzFTgv1bKXXZ9YVxT5tMuIPgvqnK3YdCqUmd5iWILES\nbq8t4YJDZukwquKK6ZHMiWse3wlEKCBlS2vsvTIcf8cQ49iGD8IIifMDTnfd\nOxUea3ZTajphSMeRmQSFNJmauxTc7zKD2wEbUYJBJWEFgUO/tKxGjg8myWOd\n4Ph5\r\n=BRW5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNX+s9T+mqj4DV+hCePrubT3JxkPW8F44oxSUQZyKfbAiAuN7wS8U5qW5cNsWVZNKR+vPnj40s1jEZzy53zoMp3fg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.18_1643153728137_0.36329650960951043"},"_hasShrinkwrap":false},"0.7.3-nightly.19":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.19","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.19](https://img.shields.io/badge/version-v0.7.3--nightly.19-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a533da3fee6bd48a6959f436bc6f488734702431","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.19","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-3DHo0hagGTtTuAlTtDMjEDjmajLROwtiLzwFZqIxBSFS9md9ssV6J+YEwW9d3OhDZaiwArHYADp7zxrSH/YlPA==","shasum":"96275721348d43afcfc64ca3386cd48b551cbdae","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.19.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8dq1CRA9TVsSAnZWagAAG1oQAJEhbZIMuvOl8XWBm3Ic\ni6qWCO00yrJ33HkxdB1D1rMxodc4lSZMD/zDn3J+9FNEzvqANPqX3f+299oZ\nhYLg24vPCCTqyhmgHYN9tipRkCV5pILDBUTOISQ+xywAFv+wwGpKF3UkUaR8\ni1+ouxfK2BbS8SPk44Jhr7oUiloIlvRpFFgicsWVgquFxjQjgRm7vkhxOF7R\nMYjoqwOqxLcTn9te1eMt17x6f7CmOIPl7oiAa962B/1YSIcJjwVpKfKMlKFJ\n4fpa4SRvTofzWsjldfnX/G7sig/e4bYpnqxtFC8MCXs1JKy5/yg8kePx+buX\nLy22ztpwjk2o4ujds/ETFQtnTlGU3o1E/ZaRNXO2TOqJuohZO1VR/Ab1UGNB\n+iRy7d1dgQLIQsfimKQKkI2vRpjgXGOK5IsoaOIjKi9nNlIQaosyBExE519j\n27x3zk1v8KHGi3l2dY43LgmE3bn30g/sb/mOJqLmdqIfNdjmV3f4G5HIvJYV\nBbCyqArY5/vOg5e9WkblsAY5CUxYnYztxZyAL2pELASqy19xp7O/kDE5wh2i\nqADbgnqJNrHfHkK8C0jdz+jXwS96sA6lyJE8E+msEinHPYOt6T5+8aeHbKq0\n06D8wRP2CMhgZsCXgWcDAiXqz4pBZVXZvxeqXpQCMiVwfXX4aDDxGpFJfAMC\nfC6u\r\n=AY23\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD63y+1oLqspeLi32+RXSaeagFhkixqt/ZgxiujavbYLAIgeGbtNHe/baeRJmc9QpNYWy84+xPPf/eYZJq9WaC2eCU="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.19_1643240117643_0.3225124232661494"},"_hasShrinkwrap":false},"0.7.3-nightly.20":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.20","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.20](https://img.shields.io/badge/version-v0.7.3--nightly.20-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"40d345b5ecb3353f1b01b6da01bb27f82ef9c4c7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.20","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-bQSuJBceGA80N8qspRMz5k9ydhTpAV2KOg7zZ66PWNlYlDjQWoE6yCZrjdye+agZAftRk8saKVViCvEPswH0qA==","shasum":"d2068c6d544b224e55a702cbca6d577f36cb3021","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.20.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8ywyCRA9TVsSAnZWagAAHu8QAKCgpRx4mCVdEjFLc4PO\nm1uqStvHGF3uoyqJk+2wbLv+IZVCrOsjF0KR2+5+obMg2tZJmVDblPm9cIzo\nICLPViCIvbL2PX7kwcoBt1Uz9MrvuL4eiMCwE+kHADkzSWwvoKulh/3THBuA\nr07JNGk/FZylCm7DG2KYhyxYiR4kQXAww+mGwLnls8hbwWlfwU4DPOJtJGzA\nHMrPbVMbgXhX4GRjOFUTsQdkCuODExNkrR7pL4fu19LsMjo4vhuQtxVuUu0Z\nm/gz7fWJoGOCNShGvBFHJ9QJZXpES7yxPSUyTz8tRi5YO6zM9lmLD77NeKOM\nRzElz3ZLeaTxvR7OykDh8zy61FnqF3Je/YDs/IrmLBzBCk2jNm1GHIYHrgJX\npFrFH2MtdaByVI8Hr0hiCCl0+XPKWCLI93sO09cVQscFJ8SYkwuiurroHFeO\nIwy7byqZ6vScEkvYLnIKWIPzlzmxYltQMPC7kIFbTFPzn3vJuk7KXo9l+djM\nWfNJZfhaOSmab49myTult2F5d7hVNvpxaqcy6MSHIo1EKo8h0QzvaWJF7clu\nYQayL2+oFPXswzgTKijwTHCXv1NpnJ7us32nVAOkKzOtk5e+CoVf3Ak/L4rP\nDNZYexB7/EQv3RwUxclgFWDMDxI1fTcTbmtVI7mLMfeGS95Dm/3YTcxjmPi1\n1JbE\r\n=QGIp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5SkZKvLtd7teC2kZacmDHXzc6a5WMxhbGMinwo4sMxAiA+YgyewnUAfLhpnNiJd7nsVh791TMwFDm0JfbT5qWINA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.20_1643326514089_0.7295285505565845"},"_hasShrinkwrap":false},"0.7.3-nightly.21":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.21","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.21](https://img.shields.io/badge/version-v0.7.3--nightly.21-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a7c6c75afd02ff6c2500143eb71ca2dfd287b550","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.21","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Te0FG+PnqDIx9Xt3bRHSaZpYA0O9JtRQHte7XUsNgzYIOACNYV0PyOjQj7dLkosl11fdd/fiU1Np7qKj0IPjPA==","shasum":"97714a98fa5c4537ef756aabb8078bf86a1c7068","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.21.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9H2wCRA9TVsSAnZWagAAWw8QAJlP71G2LR3W5APigO9E\n5V50/Dcxd5KoF/uAzUHZYyNh8Yx29O0xz27EJ9lY17Uf5Q1DTtLxBYjOc1Qs\nqQ9bNVAx5TErvDN/OyH79DXgMy9u5IlnmvWuv9o+lZjHDOC3yQyRn+PW9F8C\nL8r+ENAF5csc0IEJGdZJUhHnkcch2O70rEPx/JZ512t4PKpYsTBngPa0Dhrj\n9wkuul3383eWCVfeKrO1XDa1rBSA0ZHsBMRPDO3m1WdEKsaMxsN/OYX9S5V+\nG8JaF3upHxEpdI8LW65mgWIzGRF++peHT1Rxlnw1NbXfC2DDI4RKbCRTKB1T\nhzt38dk0LjBFDKhv4Xnoz6CNurG4HpPOm02reXaIbyPK4wmYNbBVo6VVZ9Oj\nf36yZqmzYjYc4iTpT03g64a/PAAWYt+84yARwkzNpffUFzXq3P5WANXKT+CG\nRC3qkmAC8RmPsNZl2coNLTUaU4Rfx9B/dG8jR8uy0XtHDZKkVCw55nLVYgJJ\nE2F/7GZ1ONJ/o2hYFwfjeUNhMCr19yAjEE6Ua/jXcCG1K/wqfo/fLxCGZZiM\n67E+o4b47bCVy65KQumxe6hadkU3s9L++6R0U1e/uRkSC+YGYjIAFECXWpmj\ng302J+yCl/Jz+KovEOeU71tGfHk3VsiLBlXTdtb5pT3GOoDoUvub9hlGvv+v\nVDxq\r\n=sP9r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELCDLgI4VnYnQkPDqLIlhrmT2QLZzMlYVkNwE7eV2ECAiAbCmvu9qNxfl06RwDquGinO/d9IjyMuncrgMMmHICIAg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.21_1643412912752_0.3551579248780443"},"_hasShrinkwrap":false},"0.7.3-nightly.22":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.22","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.22](https://img.shields.io/badge/version-v0.7.3--nightly.22-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"adbf149b5a6603f72305960eaa66cea4fca3e636","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.22","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-HOQtNtqeAcs9wFBkF6EIuvOvGUjl6PQLSK/sUS9h4WeufgiXcFpo3zioj7BoAjP05pw9kLQoCOTzdcnHUZom5Q==","shasum":"4f53eb1cb43decf2ef005fbdc834ae0739fb93e4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.22.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9c8PCRA9TVsSAnZWagAALwQP+weA+PQuCsUEGw/LTAEx\n5uNUwOoMKouY95UrtPKnRT1MaTPeAY4KCQWD+YhtGYHlirXky7RVeyasrXto\nCktKTUC79YL6/ANY8fMC/2fqlPN+RP5jpRYJvv6vWQEwMEa3gM8peNiIr9Pq\n44J0u1bQdAaYvtY9lUr8BwfzHYD2LwrkrHWdu7ZJMHlNZJb36SrcjS0TRwxo\nFNgfS+SlSNMwq8EmKe1LXsovs73cdwQfylTkg+4OqI/+tw3t4TtS2VgP4gqE\nJSgUeHQvyql0+peHdzUowhrJPoGgYoAj15/9GXjrX5Bqrd+bBH4OgclKu+0r\nZ43oKAvUwUzvVb0z8M/BW93QgPyW760GyKHEuCsufcKC8hQO0jBvtCZSD9U8\nTZgpjznLjOTPkYmbt6CQzsfsPtTGOAmOca/lCeGxJ/McsYOOP9ASKKLz1I6U\nphEt3zTDEaUufkSCIGFLsrJ6AJ5BmdrcDcxCW6/ZIX4o1WIQwOvwhLPUAsE8\nSmtSi5idWpTTdd25askQ2e47CaZNFez0f4BT7PeMpkkAgeqi1/8LGqqHhMX4\nyKQS/B0It+IX1XPbzTtzHMVFhnv/RwCyq5os/t1mAVGACuEGdWohLQ8xjfhz\nn5le/avhIbDnwTEJaXStkpbZZyvW/iVdCMO4sbk8945zD68Ws4za1ndsjqch\nTeeB\r\n=cJ8J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChxmANyPUc3RA7cEd7KkpTv4jts3KPT1Qu7lJi2fVQKwIgUHvTDJ9qChYI7udCWhGn/1u95b4Nn/2HYBTJZjFAGAM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.22_1643499279235_0.13849079380420393"},"_hasShrinkwrap":false},"0.7.3-nightly.23":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.23","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.23](https://img.shields.io/badge/version-v0.7.3--nightly.23-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c62e80b571f6c810d94b6f1466f32672c6e05646","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.23","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-hSSXmrwwKTIN/Qod1sLJcpV54S/m5Q36Fl/LSNam8WGz3BwmYnX3u9D5fBaQRcJqORw5kAfrKn886coKML+LAg==","shasum":"4dc6d161b7d3bcaf165e9c92f7e5227e31e9a9e8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.23.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9yCcCRA9TVsSAnZWagAADZEP/A1kpGekMGvEh+f78UnX\nK/YYFJyUGjXHDs7Ugv6l38XIncEI+wqP7jj1i4OLt/BRoQOQgxXLXURgfAg+\nTTtsFMKPXnfiGCIgGV524dXBbF61J1CKLL8LBgfsZc/5yPiXGZvMWT+wLRQb\nx6PFOw9JSXBYINQnptz3MzYYLnrluKy0IzW5CE1b9sOSGzLwcNf+fihg+mxb\nKAg3ilfpsTr95MN9p21HiMOs69YzlqOmiYyV2NyHD/OsYHeGXnVdCI7IL7yB\no9iym+zkkDLpOoMaW+QKBY58RBSp4V0dcrbd2m0OGwrg8yeYkzEdq9Yec/Is\nfKMJrzMksApVE0aSMkpqSdVjsYI4HrVtTbHtCLJQOkl/6OZBFZy3ISEnezta\n7boon/ihpCTkGU4BZKrDZ1Ez3g78diu/xUf1RtwYUugJP+Ho3WmArfc8VA28\n+/jTCuKCP2AidNy0w1X3pD9cAdlP7XyRsUrPiu52Fm1Zbva5wj4kTXUnbKjC\nVy60LFc85wlhTUEmir5ako0PBZJ3uSOITSNwKi2qMVhhPZcXW1yE4T8xWzrk\nPhyE6l6r+eYZcX4MXnFpNxtOLw40xVn8Rl5Ed4mGsZbfiA+K2vl9j3WZglOZ\ny7ncfdGUCwfV+LfDF99G/r86np66wibf6XTA8np+7KcLBNunm3Vdi7hD7f//\nrpfx\r\n=vA27\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrZYKdLqUpdrgiSkblunqgpFI4G2YiQyYcLWgN+xCt/AiAIGg4I0JMKqndEVWTlB2hciP5fj4IIwkopcXg6ra6xaA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.23_1643585692122_0.9076921448423261"},"_hasShrinkwrap":false},"0.7.3-nightly.24":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.24","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.24](https://img.shields.io/badge/version-v0.7.3--nightly.24-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2d4a03de38792de8f8c3ad4a57a72cd650acac92","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.24","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-aBEvW+uasIoidH19zwvBrhaN7WvugBCdZkHX73HR9yEDvq9I+4ucNGSPFualAR0OhGzdgIxpYqxnpicwS+4dBA==","shasum":"f9ddb819fefb45f1df9b516fd1c77950647f5a81","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.24.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+HIrCRA9TVsSAnZWagAAijoP+QBUBgwiVNwtjasMlU8I\nz20fepTSx7edIFkNn1pWSh4WdRplMNQij6EGQiJOCjCRTSrRpOpkO4Z27cF2\nqmuViMRyQf8sLWgUpwNoBc3FJxJmr8eu0X/EiQDqWHWptgRf+t6ddtpZFZTx\nFWSfDZ4/KsAQX+MpvDBqgmGoCbTnP8xMUcoQjicU0kPJ1TRwQN8cV/iNbUKC\nwYW3u8k1fTi76yL7n58VfA/zFbsHNDAR0dHkcnR+eBd8oMVxFXuwM/Hcqn3K\nNzqEgo5EOma9ByWQb7AL7UT8w7UbfAbdo8G/qeJZbxAklqEzo03/h4TdNUJ6\nVw7ebVA/j8MWws+rfLyZK+SRO8FPaLfGDlhgfEnN39+ny0kkpznWxs5fb0Mh\n8SI3D0FNNoHEbZ8pd1cgxMmD1Q8kq8Z8yjWMtbFrEw5WdfORkbfrVvgr6sGl\nYXntWP7eTEIjIf5eg95stYNnOUJK/KwhcO1uXkYRpV7Aw802z2dVrx009fin\nP748t81aO8qT+Z8xUYRLZog44nxywCOIVd4FOP/zhg6S0jQRTSOBajJNirXL\nqbWoNWxH5LQRE57/j7cTNKYjTCmcyZi2L+4iYCbruF+Z2E7/PJFb0QTli7/p\np2w3kJDshyLWKOohUIGlat1cO5ZWrvnNCfzSOp9n4TwCs9NF7Nvy70/uE+Fv\ngOGY\r\n=0V0T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjLxY+t2pi53ZXpmMdUVjGv8rPCHyzSZabtIWKGT23+AiBNE3K7BNITAG9g451S0DoMuQxub9MN08143DQPyaxEpA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.24_1643672107264_0.21429811979100144"},"_hasShrinkwrap":false},"0.7.3-nightly.25":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.25","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.25](https://img.shields.io/badge/version-v0.7.3--nightly.25-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cc544777bc2203b67f6cd2485b1d5535b5dbaf40","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.25","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-9I5LNcIBMVT0oHvIdn3jqoeKmT++S/yeLOLQhbdhKxbcyCyNoHH+c2e0OW91p56+Mm59xro9758mRJLqeJOgSA==","shasum":"5b40b4fedacd11fc68f6d26563ae6095f23aad7d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.25.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+cOyCRA9TVsSAnZWagAAnkoP+QC23CMTh/MgxYgJsYGW\nKpWaL5YWaSN6c55YDVMcDSIH8vbijPo++gdiuE3g4k+sJs3RmVwdJQLxIsSQ\nQacGvX5vLnrPDyfwG6Y3oXeONBhcjgRAdXLZY7cEMZJ0e5Qa6FSVSpy9b1WB\nUeKjEzEWwRVLVMpFgol/r4XAj5I+MVmTDW5gxAD1wMh8V5UQblISuaW0QIoo\nNweZezmr9JtXZMiTahQL/hOL8v0Y8iuwyr6oDJ+JXYhZthYQz1A+Yn3t5sZ2\nu5owM77Lr28rRlTVFqb/nHuEAxncg74MYM+o6KiiJei03MmSXiToTH1rPnyd\nMZnoa3ccWRrvGO9g1R1/Dc1GMuWttQ+yEr6s02EMOas6r9MiagCbs2Em5XOa\n+HpFXDpxYeaGN8DmNEB6NUBqDczLGxkEnY7StKJAjxWgi7Ouwicmn4ffDLnw\n2eEyHs4SRlgSzKOlSs+ugagpNcRSTirshSNi7E4VAf/Jrmfy4MuXSDK3x7u8\nTxuIVceAsvnuUDnv1M7uy0qNjtA2XygH9dgZQtIlRrVsEZCLDmvNi3h7XZ+m\neq4Gmd7FLHYHFosnmqbZ7Bzn90Kh5UljqXH3vdUSFSCwiyyIM5vv4zKskyf8\n01R4xzCfTST8NpE6qPmaQL6WxnPm5EEk3hHiqRMliSEXdJ01Wz+CGpIZNXLE\nLnIe\r\n=owqM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9azrO5H74/Hx4iNxrN7kpitY7agLe1XDYiOMedK+WqgIgLemTRBIFOeY8uJadlEwoWY/ycfzXuFq3M6tw70HSvtw="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.25_1643758513956_0.595503453604376"},"_hasShrinkwrap":false},"0.7.3-nightly.26":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.26","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.26](https://img.shields.io/badge/version-v0.7.3--nightly.26-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2f6b032e33a55976a9d70680f5483acd520a5f1c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.26","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-/0QpLK8UpyQZNYfAQ/t+Nsby+9TltQGIUVVGnpRBebbm2/i3kKWKZEelCyKWjOmy2sLaqMtXuQHBqFADLWjefA==","shasum":"a6fb06baabea341c71cb7f5109613853c533f636","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.26.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+xU3CRA9TVsSAnZWagAAOIUP/0hMLkqfL1FxVFXGZhZ/\nOnTYIMSbUJk3Tcm/09bsigTrUNxlP+KEEySh2QwQ/VOCxj0qlHARMZQdJ5gm\n8qN9V/1/fy8mHp+vDKTRQaYRY6nPz5IW0ARExO4zdSGXUdrq9IYTnk9FIqND\nIwB8VVzqocfoBpJ8pLqEuWHMd9J80vKVUs2Yg02SnquYLltoz3sX8xpqf9LT\nYGc9ZDKeGqMBoySw2iaoKxNTk41kB6DsMa16nqVzIr+0iReVrVpS+3zeAlPe\nOY7gluepSHle4KuUi9HbqAJSC2w53cVTrBPy+WV+S/J0JLdXt0uqvcNmw1fS\npQSZp0Uq4CIL70R5x9aQsDldgl2caQopvd7voEuB5BhIUF4RhRP+nUSeOZyi\nuvOSEiVE6ZkqFA/E0huH4bwBNhfzsqLCyH1UDn/YxapYTUKE+fMyy6xCi3r2\naTTVSj37gmTIkShn+zYeXNcT3wwyOS491KcFiB1xUmMJeC7OARcIwOWxFDpF\noaDUKETjIJX5oSj6JkIelYfWCX62rLB+HL3oCLneTpKzi29IhYjS9KF+1Pto\nqz2Xqa2dwAu/JVdcDkNo8gQbZHj3rEHb/TnsHwdJM+FQBa0PWoEBeatk14zg\nYptsrkQjwZFqlwFOkZZXYPf5fZo4HbIk8tFpdGF4iFVz7c7uZZtQVLKq/G0/\nMI4i\r\n=J1LK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxBkTnkgv7ANLxZEBGwFiZq7GPakEbNVOXMZJJn/bjHAiBO0PdyqhUmKsQAcrAmcoAqddq/P+Q5t8cq5W5lizxYDQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.26_1643844919584_0.23020455463061085"},"_hasShrinkwrap":false},"0.7.3-nightly.27":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.27","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.27](https://img.shields.io/badge/version-v0.7.3--nightly.27-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"79f49e9ba6affb4289bcbd8295ab4fd08867f407","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.27","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-XgS5LDn25LjS62HW+br/yJ4T8WO2upwRoaoheeLmmvtW46JigEka/z3623QjGd7jOhsfzmMUTAJ8V9GSB95IRw==","shasum":"dfa60b60594f3147968b2443eb417defc9333cff","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.27.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/GaECRA9TVsSAnZWagAA99MP/0Fzzle0qW2o30TpwRbJ\nUIpNZ106BR6/NOPaBrPvTtBkHa9jcSvqFz+IRwvOXoR36EDhvuyN6ZQ3B8CX\nM9MCzsC3hvxIw7d3Rz0XEBakLwrUD6rNVUXKyJXCPRrPVLxVkg3Qg83uazWy\nPTNYi679idIHsLcAp4z95X1u6XPRGaENpGsRvppwgrZwC4ZZHAJWx5fbOcLP\n7Qc6j2jr2SsZeaPULyvJneoLUmAK9KGRBqtBw48QijSWiyIzkoHmCf/626xK\n3SUBZO2dZdKMimRLcs4LEJ5Kub2DkkW1yXpEmsuQsUsmeZcMdecaKt63Lc5i\neoiv9H42ouL31BUHPG/+lhD0GT09DCEGgPglWcwGlmR7FQ3a6S3seI1W5IhQ\nSNH4aiRAsgCMWOeUNqs9iPllkkv7t9VOOCJqAFhmigo/79osCJREQhqvZHr7\narPOcFyFqQrsqG3IXRYP+cZ0ZwrofHY4xYCJBYmMb9tmtKIZTMLP+DY+x6hU\nVlqoMdpK3c/Jx9UTDHFKyLIxJa2n4TLM4jVWk7F8MORRkrEIF+rzHIxt02sd\ntz4M/NoBQAktM8cvMKYnMSMg+4CW0NbGdQTLttih8VjO1yAos9CZ9OCW8GAI\nkDLYPs2FSKmmIWg+3j1oMJBnN0J6WMhCBBQwMX8Uimlc5RLfCQYD8Sq2GsWS\nGSvT\r\n=LItl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDs4wVKCT9lKn9h7P7/7w+5e+CzCHV+ScqF7i5ze7hHfAiBNgU6eiOM37VNnvfNSdhcOUUt6pKD+SCbE1vYgE4f4SA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.27_1643931267927_0.8482418287110667"},"_hasShrinkwrap":false},"0.7.3-nightly.28":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.28","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.28](https://img.shields.io/badge/version-v0.7.3--nightly.28-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b429c9a93442e02ab0320f04706d63ae1b31ffbb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.28","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-UEbmkWcsrs7rw7v5cIE1x4MDxGUZfhONqI4eAYGsHVhbihucXK6mr8rwvbTw8cIcQx4Si1iZU1YRNiU87PSdbA==","shasum":"fd5c4998c8fe79925bbe98b32d3067a94e3708c5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.28.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/bgTCRA9TVsSAnZWagAAXGUP/0KbTVIMKKAIRjPUL2Ld\nMCLTnY+AAe0GVqmRjOVxxn48nR/DhUd/ZEXz4hhIhTZkXeXIapGBWpE+uuNN\nAUxz7AeXHFkSuKkifpZ6mI9tReF75aCntyu8yRrEXzltQ0GohB8iTmAcRh3c\nkgXnZnWUYFncXFON+STV2q6zOd6ldCJRUC5nhJESmlwMOCFi+Pl6Eopye0It\nbDrvNWCVq6tXsimOlXjpCGLRo0s4t/V0LtCdj+jPI6kc8TiXCBTc8YPdy9XE\nopfvUcT7lYgYKipJe/jSswiLQycn2ZgMJbW/4fYxtNF7LMGMRaU9WKiV3loA\ni4YfFYLRA8id7gHAjgo+ptOq77CdpUJodIFhRSnKLHM3JLL687LL3Pgn3Xic\njWS8iDiOY1kQ29CKgh8KxLLOVjuR/lKMxDlsRZCVoEnbNT9Ca1qlZPVuJTEX\ni+ZBHZkqCXS3/bL7L0ShJrQyFM3M3fu4FnIne5hJu9nm5ZESSHPG2jKTXPyg\n/bzgw7ZAlIYFlS3vuP9TW05WrfMM+UPxsbj2/NXB0CeqIcQQffAT44fD7GIB\npj9CvtXTicf9hg9nLLC78c67ajEMxNzruqJw1KCJHoV6wldvR0j95MfFLDih\nSiXoCQPri7tqC0j+j5f0Y7xL1X/6HIEYmk811pw5/6Wb+3O4fWmMB488/woe\n9xHg\r\n=vZL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIK7m22iGL+xtG2KZIAdXl925i+aw1I4pe4jJHLBlYLAiEAi86saa4oYou/08L5O9B+ECFPP7YN6tfViduENkfPoVI="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.28_1644017683796_0.2265809004024777"},"_hasShrinkwrap":false},"0.7.3-nightly.29":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.29","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.29](https://img.shields.io/badge/version-v0.7.3--nightly.29-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4662ef9a5b0f180120b0e4e1d650f9113711682c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.29","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-AJxfMmdFKzW0jNU8fW+OUX7iuYGHST5sNXonpAM87nnzVCofad6xrw+9oL68yIvD7RgCSjrTKXphYhMXywsgXg==","shasum":"1852e897386ad834182a82a00ab7d16ce64fe55a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.29.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/ws2CRA9TVsSAnZWagAAkhMP/2+iyGTcSg/7OIpAe1u1\nWYXK48a+y9XubMQXD4UtyiKiAumT+BaLHhTHPH8S9Lns0Co9GcC6BlVqPNn5\n1x/e+osyiqbFAYd6EJ86+78FQOFS6bZzJaRkiRr9JGs2h0CSE0eP0IeUg5vs\n28d7H/CapE9FDUkOYakIz3cK2MK2gAA0wlgef0iuf5+AL8z2ubOsMQb4Kf/s\nn1c6ARC+HYeJypALAAhXUZWW4EtWgPDPQ3SSohXFxbNk3OTpJixT9C81UN5c\njL47Vm8e/g93BoIjrOZik7gxCWdOzFRyDuOVMHfRO5OJ6AnV6VH2XS6mFkAg\nrTaq7v6/xzkKL36U52MDhjgTP4/s232EKa6vVl5O8hly/SxKGHTvu8ZSzd5t\nkjXhDgE2fZ4pDWoNTd5OCjCfoiz5Ms0XmXVYxLACQ9FcuexlCcyqoUJ+gwA8\n1nl1tpk5aR0iQn9ake8sZEw3Pr+7NJiDb209PIhgPQ8VZrPSO+SIyR0hKeB9\nviGmnSzHm53U8e6E4za86t788KdfsqWYUWozmdCBtPGAILptEF9aYF5HWQpM\n4tXtX8iSg3DFGFWjLZTNbCln1c+Z6n6Qxeo0Py8DP9c3jzvrg7+o2VsdbdEo\nPiri00Kuohei/CYFRyB3AaZceA1gO2x6ywdfc5IkbE8/cNuBIMW94FbDZxLq\nCYrD\r\n=7Gcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH41YWdmsEtrErspNmQO8HfS1tOFkCRf8o78FRsLVkZCAiEA9jbLkN2C2FUUhzFqZJ0xkmGJJaUA9UCG3UfOWQ1KApM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.29_1644104501865_0.9759947399559648"},"_hasShrinkwrap":false},"0.7.3-nightly.30":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.30","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.30](https://img.shields.io/badge/version-v0.7.3--nightly.30-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e237bb22d2e4d53e779bde89ce0cf38eaaa44667","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.30","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-S/ZExW1m9eI5Kf7MzbLIcMNm3OhPsR6P6mf+3EPh3pJ77fBLpo6tV3HDNHlU53QxbBXWmFYzlZx97Wgjw7ZZmA==","shasum":"5ffb52e95e8c761be33645f69e30ccd129a9cfef","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.30.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAFsdCRA9TVsSAnZWagAAyvQP/2uI4WrhQfheFo0t4ze1\nOZl0+I8dlTBqzWbQ9pemyQLuI2rJtbpLIQEU4GyQIDdYwvvcThnd6ZRIhkjk\ny+HlKk3F3LxUx7tlHuzwn9zS43AzRzTglPqPBs/ZrEvTzEfCNN4z+BRgA0o5\neDDh/ASnOhJxc3yOkLPiZNuGavtIiKzDxxB2pxWXvXW3vDHY9O2i/fNIlcBH\nmkQUgpm+7D/kh+ttjCTGl3DkIXj1L4IU11j56VJcdgcaUYvRXYFIaburLWVZ\ncx2P/NV3b+HPVZR+DPyvH3Jwed3A6vJIk5RZDV5zL36YjFg33t1qrQ8kVMsp\na1mS7TUDJ7mARXYKn8VHFftWazgNJ9d4Nd8hCBapVIyVQkgwyCSLnZNJqT5k\nJTRiiWFjQN2qiY5SifGlZ8DKWru6KVBrMbllA0+PsPmHu//dx2UtZr9PvsAS\nttuujPf/I7O9sy7rMeHcrvDisbEJ5VO3os0oyT09nOKmZfFZqPa3dQ3jc0Nr\nXUH9jtE5wRrOdLOM5M7his7ct9DPJ0sZGYh80GKwNoQHbYXzKeTajCcnekZn\na1AZHy5ULDaLakG6GcGqYu3t3U0f715P3Z5mMLGef+mLYZlyubZTuvMG4rDQ\nZiFjVGLcyfGCGC8EptgYsJPC2vH7LVqvtzQk0eNYGGIRg6waQMcVjGiVzi7g\n7AKq\r\n=D/Jr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnCi844MN0uMnCvvD6nW8CeGbB7Ofrxubbf/i2BhQKHwIgTqXSiInPc29LGPN0MheayvXfKNv8D5K+x549XR6NzKE="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.30_1644190493606_0.45172975345353494"},"_hasShrinkwrap":false},"0.7.3-nightly.31":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.31","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.31](https://img.shields.io/badge/version-v0.7.3--nightly.31-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cdabd0b92d78d94f0a72392674abe435e4f45cdb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.31","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-33L0efDlZQee0N2SQ5lIcD1FZW+Uqhfe+Cl62EPuQSNSH2f+y0xaRUEA1KcsadUfqHzEwPYHgBtrLjRgJBvhqw==","shasum":"6df4494a0bbffcfd6442d0fe60eebf3b40d7dd24","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.31.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAay5CRA9TVsSAnZWagAAWeQQAImTBdO5kDONcHtz7BJl\nGYOQ/0jQXExAosXIGZmIuoE7pj7OTJrDYCPwWr606BoZ/7ZeTnkWccz05PDg\nVykMlJlVf+IcofUtsnedNvYm41THUWFTH/u2g4FWVC5G0EcSys6BWIB8nXQg\npJnwO3hSd5IgT9Mmjmq7MM2L3Jlu2iSWLH89jRkuAZaGcpIaMkL5dUHDmQ/b\nPEqNuv2dpv8V4lx2BQvNC2Wp++OhBzPmL+0+K41U36A22TAuiJf2q7EUmdub\n/dU9urkLvKllgYzAXFy8wcdUUCAA4A1ap7L5OVpQSs3fDr4MlIaStFLMau5U\nMXQyv7GhXszoICeTURj8r3XkrVv+AezKtoLYK0KXDuVScIEfHdjc4KPhTM3W\nju3DbJ8boEyG/0UTidBoEkm8g+u+QpbObFEoLT6MtQ1Ar5V+hkIjv7GhDObl\nobg78qbdP2qaydYjNbu+j9KCo2sV3Xw7BCa76nmqOBjtFS2FjXHU+/X41NF0\nLp2ZH045rZ5HbU85mVxkI5zsVdyoeZIxopu1l5Wn/IYmxbWcjXFKwziaEnPq\nW5wZ3TxhEArrgj7xogD/IZc5NjuJmCKE8jqkPE2OO5XcLZkxpxmoTlaD6cMU\nS6WF4Ebw1VCPqsUSXWsmGL79XAnYV7eyRHDhl+RQLAnwh+p/yOBw0sUQ0JrS\njgPd\r\n=H7bt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2iiGMUHCGNnilTWlfaDLlheoap8ZBBzqFimTccz1qZAiBAYdOGO9bpqO9W0/yLByubZm9F/VNfwxotZjtSgDf0Vg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.31_1644276921000_0.545721633203669"},"_hasShrinkwrap":false},"0.7.3-nightly.32":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.32","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.32](https://img.shields.io/badge/version-v0.7.3--nightly.32-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e382e5ba2c99f1f8494bac75efd216b8c6896bab","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.32","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Ab8elZ3BRc+ZEZLYHzn27yW/BZtsV6OzaMWAfbxQmVAMuliJqzj5Su8qXYHi1LNMLwb2zzYBe4E2IGfeH7kuIQ==","shasum":"fabd697b1d5dd90e392c5a774ca0deac975707ba","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.32.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAv47CRA9TVsSAnZWagAAClMP/1Y2qKajRDE9+etRLJ+/\nfMr+KzMMltd+KD9mXt8eiFW72ID5L3nHSR8HGnatELXjPPFOFp9EJsste4d4\nkQNowjVKl2v8DHG8AV4TWh+zYSVZtlESDYFN7VM9PRv51Ys57DstFQImffU1\noXpnRrxcwhoE54JfqUQhtRxwpGoVe/ku0UfBa7K8WSTp0p9XRdttfts5rx4W\nXcyJtElRZSNiSm+6DsWrDf84sbXKm958gs1ZWsN9P6z9TFTn33X7rkLjuUxx\nK0b3mn1HN0gsTwq8VY1+MaL2IWb+Iu5fjS/u/pQDa54JSTKeyYWkPnnxI7CY\nnp0fnjRAu2GQMaK9KyduoqKZCC/i1OcyrkKsycsZwd9h2hGXiAOUO1aMmljs\nZHrcaqBLaoSf2FnXJohhPDuf2qB7d/ViFfQEIRIQRp9cGVwGe1m4GI4t1JFk\nzE+yCsmG0Kh2A9bLVkeVLpzyqiq1/UdAtY66bA9kokM3mIKL4NTJsJpOC7Vq\ndsxFIhsuJHFVHoBeNbRDNum3kGQlMFfqXp/qjmVVXiX71/4lFkF9d1/MQVKP\n6zf4HEps6s//YRrnUiNPdP4bkYomjiS78Ntth9RQdu5zdsQ89IqGLZZx4nNx\n1l9cRmVwVf8R/3TPH5zJlYMa8qWSMB4p0OWJWdPUqeTUdya1eT/2UwTBHoto\ngAP2\r\n=zHPY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDar1lf1tWoMibdjIQfn+PVuV6KqTDRQHxapOb9DUNyewIhANpMkf7WWVQ6i+eXtZ/mhVQczR0fxhg4t1XaesDJ9t9u"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.32_1644363323106_0.6217500213556162"},"_hasShrinkwrap":false},"0.7.3-nightly.33":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.33","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.33](https://img.shields.io/badge/version-v0.7.3--nightly.33-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3b4094f0bb5d42f291f3cbbd3db9fc37e1d6c0b0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.33","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-TFTK7zowo8pZgSryDfz+TUQLIY8LBZTw8dDJHRJFMDhXRmPtYeuQkv97SRdpw2P2bNqPdowWFj/TV5WW5Q2Hmg==","shasum":"ac26581f048a26813dca05fa6ad8aa764af5b534","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.33.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBE+aCRA9TVsSAnZWagAAApIP/2mFFGfsKBXNNNdmZZDZ\nukUfp0zEABkLonjW7HzQ4zmNlttH2vf9syK/blIMDZGTTu05KuDYCbFu4oN5\nBwDmQde4o7uGm6x8+0ZetHJ+BrJl2cg9yNs2l79roBcTDkPYIAmHhd/1t+YA\n/g16x2J5tD6y9KQl2ZNqh0jBOIULNkP/1TdJTFpt1ws3PF2K/PD8syRjHW1m\ng/q/Sn6jfpGvSF+/lKQ+xZDBgKjsVnDcWZf3P2QmKjqnt3U54Elf7mBoh8z3\neEszVVHQg9+I8t3zouS3ZDXfN29Nliy9VQEFmw2/jOUXgiEsWpkoSXWIWYn9\nbsXGGru7PxY4IfJpBrlIiuLL9gTMD5TPxCeuD1xDjlc14HoD6ugp0N/U9O8E\nMqbWcDRFOed8ORoqt+dxKq996bjfo7UeLaWbNXJdwu6RpLk7RopRJ5E7W7nf\nZ5bWPbUGpQmiB9Am/KolL4wmVzdDbWzcmS9Mc1xPJkKjx3SldGBCjLYpqR2v\nOkU8mlUGDi9Mb/T3YAF2JbGaU3vU9DzSEqMB8iDJNm1JeRppquAPgA5XNE49\ngVGD5JmXntCH/fNvzEKUl9Uw/hQ+0bGYCwk5eK2DzJK/GeS05Jpt5taJvTVj\n/3htdq22vmGXxq+Olf9VPq0JBKPf1doHJ3z20D44+dKShkE5ZfacfT1S2rTt\nca9p\r\n=Vpd7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHN+amHGcFfU80/PosJLmwyBHWuM80eXqMCHziKQixMdAiBuvPQwNBvwGUwLkwF3jnQUhrsvnGQ5T0mZLhUu2lc+xw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.33_1644449690542_0.9412153948081108"},"_hasShrinkwrap":false},"0.7.3-nightly.34":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.34","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.34](https://img.shields.io/badge/version-v0.7.3--nightly.34-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2408e430cd12e874a33b5b31f02766b063b43eed","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.34","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-G1kTUyPitvNKhWMuoTU2Jsp7A8sQxv+7a+Z95RTtdO7ypkQoiE0WbW1Z3PZexYCMjd92glI3GTZYve6YAa8c+g==","shasum":"36f68b075cadbbcf39886e6296543047d97117dd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.34.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBaEoCRA9TVsSAnZWagAAkk0P/iS4uY3W9eQ/IVLhuYy+\nLHsJ4j1f9C0ZoV4q6+yb6b0otN3iO5tBsK2aFZWOHotZJv0+u1N3cXpkTYLM\nnd6SVUzVen0Y+zh9/HOEk3x4qXFC4xUCxwBhJ3mD/8AvwbWfXhQwhtehj5y+\nwf+KxD3f5VXfXFRgMe0dIfYeWrL4m/wy36EgMvzxoPbeg+wnUvt2Rm2aokwd\nKvNG/MtBCjH3W+vZTuM+uj/2eNmtP9OwwKtb9HtGvoHGhLu8wZFDDt9cYnF8\nxApfr4MKFUKHgrBzO3PR04aZK4HHjr4j4i+mamIaPF9W1g/7KUiKsROPLQJ6\nvvdJbZivns2SF7j7k00Ens76ur169FdBrZyWtz/wQcwg99741GhGu82hvx9u\n+IFalrmjlyzrIakmRieDFpIF9pAqOmbW7lloi32exh8blpizr3iuX0QeEVkW\nI9b+Rm93pzM3Mn/8yPXvIRiBgIrrXcKCD7/6cp6JQYs9iY/C0gSr/U1rKvNT\n1CW/c4NpUGhqk56eNtykaYmnci3DNabXVI8picEMs86D7VrTF9/s5VnDuwGh\nB/yM9Y2nHmg6/EetNqw6yj8gy1DiwgAUoNb02qdVQFin96sh9eHJp13aQfOK\nDP7yIWEw24mXVtkbC6srjE6gFYvoEZbOOdo61L4zr57B1lYPpIBCGcHdq94u\neQf7\r\n=oEBP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYxpriTAaEylUPUn6P2LGDWqIGip8JmSZoJ5+BR5dT+QIhAL3ZkB2MQ/eOMe29OzyyvG4J+hen9TenvjBR5bDSfTsa"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.34_1644536103945_0.8974159047292871"},"_hasShrinkwrap":false},"0.7.3-nightly.35":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.35","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.35](https://img.shields.io/badge/version-v0.7.3--nightly.35-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"78ede7189d159b0049a916b5478448a0609e615a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.35","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-OVB51GTD6oJOSVP8gwqw8NvbgWSf4//vANo/SOLtt4buLyN+/U+7sR76nBS5QpC+4T35B4VlQX/cgf74dnJOAg==","shasum":"c314e3b06402ce5d560891397cc46bc29cb440ee","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.35.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBvKeCRA9TVsSAnZWagAA7LsP/3cIBh8hHZTsiQfcjbHT\nV57VMOTXRhTzBoJmse+uAt9IwhzyBNhoqgxoabTDLQUgq40loDlfwSeZ5t34\nWpYg1IDbxAIIyy2QYd8g62eynKZRdQgGgU8Xepcv65PJ0CY4Jx8jvnzVs5jP\n6qMaF8uu6Inmqj4YeT6Vb11rOdKUgDv1UN7Xh2qAyePVq5OeF+2mZw4Sd1Mm\nUheRd14NQl4Hc8Rvu46xT4KkT0EtNVH9639X5UR3PjR5dRB3ipiEPl4TtYsn\npu/VQNlvS//M3olyXbahxNVaO0p8u0DNCFwReuWJsBbF3i6NQx5Yrx7Yr29u\n1ODOzWWECl/viJjFRZqGVxFtupotxxvpitZIfvcWBO2Zoy+q1DhH0YJ9BViU\nCbLXO4Xcw7uOBAzKWqRvU++9QABT0kNnexLh7pB8pZK0VnuOgaa6wx2TQqrp\nFHJPSChkqHaHcdGlF50+OKX2KDufTN+UiqL1AOvAdDjSlOd9WCOmG/r4Vfc8\n1rwYLaTxPUGkeR1jWk1gGKT5Ku8Nt/ZhiLxaJ/2toZeCl3RQVxA8HNEfNxnZ\n+lqTWo9nWUuFMpXsrFtsZRpKJ9aZh6JKBhsxk81yP3n4rG5M6xgPrSKoWoLR\n7WzG3p5ETs/hILbr6xRUZcJqOaqisF5ODkPwDVO6ZGERIcZzL5Qz9KdRqacg\nBlXC\r\n=15bD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJMDuXc9gayZL1z98Q/Y0OFZsyKZ3V56lFiOJMvcqdVAiB44aF+YEQJ4ahdVfbnlGJafEhlB/10Ojcfg/TuTWCXrA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.35_1644622494815_0.09742217884989235"},"_hasShrinkwrap":false},"0.7.3-nightly.36":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.36","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.36](https://img.shields.io/badge/version-v0.7.3--nightly.36-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"62232fed347b10f2950defcde6da5d2ba4b14ae8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.36","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-3yoZxpcvXWsArNSLUNaSEfrEbSKq9d8tXgqBfyZI0qlmdo0fXSzcXkdiZtJWG3kOmX9p1PDDBMvd6bOLSCEUXA==","shasum":"3a99ea8e436d0608a4e53457307d79a3e558952b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.36.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCEQWCRA9TVsSAnZWagAATcMQAJsH1wOfSlmti1Xy12tQ\n8bntGYMSOvovwgCg9uS4ymNKBN88ud/nmpVOg8fDcm0DsytKUVeb5aSvBqJ5\nxM86Nc77ilWldYBGu9M7LP5baOlcnP4PcBebuubkLTprAzriO7aqbUnwET2a\n+3swUg688VORH0PfK78jpGnBoNQzwcpYmOGs1Io1a3Pxs3bTtFKeJxhqau0E\n96qVHRABxOAk5NDSoJDXyGbJ4k4MZEADDc2T9jyOOQXM2qedPcEibi0puj3m\nr+xuHSiTKVfQUrroMjgndrAgAYy1VyZq8C7p7bJNERqMAxj2Ftf7enzvZtP1\nS8IZvwN1W7RRNyCyLXs5EeaMisU7mK3lUQb9jDGvLOtRRtP92pyq4fymf4Ii\nAvKlbmB5W6p0DObC7bM2yUzDKRDSmeGopegZ4qy3/OpehWpo5T7zWR351LKp\n1q5DcnXJiP57Uzm/f0/gFTMW+k33mSJxXC4G2w6vBZGBB6tFXnWArQaZeSoy\nq0KnsGZBhQm48C8ubRS1siQIHiU++XLr4/GbSKsLP/IDT4MwJBkSD47hJoS7\n5yZEKWE1OAbAk10tAaCyVuo7tY1DzZgwPHKLG/WQ/BGrl7tNtQkVAomxrur/\nDBPQW2tNZ3oBHhX9IfHGIKzn34Ny0DrpWZl7nlnsVbLLNC+POwibXyHLODd2\nQQ1Y\r\n=VaMH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsM5bJsBzELnoI6QjtvI706Dll/nfRI8Badle5N2QPwAiANqV4T2Z7sJrYR2w51tgJ+0MekR6EZbyTWhD385+VBfw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.36_1644708886177_0.6243599474039223"},"_hasShrinkwrap":false},"0.7.3-nightly.37":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.37","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.37](https://img.shields.io/badge/version-v0.7.3--nightly.37-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"63202de475aa730a0d34f6053eed0bc1f327307f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.37","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-EljVxPkG+ymYK+qoo4JSv4u/3Z010bkEET+Dbmd7B1s12zcbhd3TASUMfNfHiU3ezqJaY0O8N4mwrQ4R5U+Zhw==","shasum":"b0ccd6a7a3389787e014cd3da19c44fd4cb895d3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.37.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCZWkCRA9TVsSAnZWagAAxqoP/1UEn3MA4roRTlPhowDc\nLUwimJ5xPaasG+292EKfKiEMqiUV61XYn6vI+HzRlgcXLVgyC4JYLzEcPjJP\ncg6If9klIrkp0iQF3t1mxLwtv1YnMAsoz5tnRnb6dQSrytBXkjc1A2HwJpAA\nCs4tHJx3dRBEhxz+z/uDunsjv6BJtClrpGJsEbaO5rhdjxacQwodp8Yshjka\nlSvdOspiysE9pbph/Dbdyh1vuIR7wMzcpWtdFdbPfZUn6S8iQzxufCb0dXdJ\nZmxF9AdyUx/+VoyGkBc/iKr61QfKs5+MkTIWIRdqKj8clh9XH3MJNVlS2Tv4\nXfmLdJnQRll/FDADxxnd6CfstFGjAlUZOm2qnt4rpTo+9EQALa/KmK0D9Roq\nfUhej4lxAPmndPTf/APDz8lnhEMGSJRQ7PVx/cMfBxQxDX8bxDcziaAWdf1y\nO6YMg9C5FQLMEHUks+wBggzMtVQnS8bFZUk+bnUBYQX0xC1cSsBP3a4wKwxg\niVXfY/BH+SocGAgYiIvxk9zOV0HXGIyuNtnVDYHvii5X8/ZCW6FhiigNU3/A\nGBxxrDfbxnn5fJdySlTrWYito6Tbx9UMSTAW3sAfyCAYc1d1qwaS63Fge4t+\neobxvEfpNbUVmTUo9Sw3QLgo6OpAEvCfmu9W1eMKuzxOa7/TBvgnDjXIXdbm\nttjE\r\n=FpsW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpqyNXHTztLdNpRsW33WuR0H1saU2VXl+48jhmwSfjjgIgHEZtWxOcI4uo4R2LC+IfZnmk6eExPg5qrqRygeEC+Ls="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.37_1644795300394_0.22998214826262697"},"_hasShrinkwrap":false},"0.7.3-nightly.38":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.38","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.38](https://img.shields.io/badge/version-v0.7.3--nightly.38-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bf44963c0ce681c240ef714e1533e62260912b4d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.38","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Lh2CNoBwPwxbxsTV4ASOE92dQfFpmTNrXZI50elgznbOI81vyBa88YfW+fCK6QsMz5c/OhMjTCAsjVKlczNPlg==","shasum":"c3175c40dfbf1762b700e7b4b45871207e4f56e8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.38.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCuc2CRA9TVsSAnZWagAAQfQP/2f70QhhxoknW+/czDY2\nnX8mc4sPYG9zNe9GypQA1LY4OZUDtymxLy6qYaCm25DQLbtysm5Qq3PuSX6k\nCzGaB5B7VP96Y89VQmvT8EONiNHK+F2OsZRewr1qi8x0XYWDA7jhnk+jWiVn\nq3wF2wLHMIpljeNXJdmjujHncx2nbHLPYzg4PD3DZyRWcj6yAFW/e673pLS1\nhM0JJSz71Moar4W++fBdEl+Z7Y+iN/r68vju3aWvgNyO2MNX54Z8bg5YE5Iq\nR8JK1fqfCZv+QVjj7nE5q1yivurFz7d6n1Kdm7s/dFJOfUHaJ6IxTFpZpCUd\nXfsGIJKbEKETUtgKjf2A0WsQh+FDoI2n2DAGnZwVb2Ja3oEVbLeea51pxcdN\nm2cSG6xIlu+JgvjeZcae+LOjKgfsni25jgrAZ2gQeIt/YKUztHob9FsRX5F+\n+lBuRQ16WJwYjClqU6UkMBelAl0WENur9Ad556V0HdNvMjqC0ZuOynOBJBFg\nvur1Xd3EL+fDWm8EWzr9bF5rrDt1v0UlZ6mpIja8pAKIagEPkldlkHXiJHPZ\n+kmd3SMIFegD+7XNBf8Ao1et8P2oEWA52HKqD/4NHkJOGcIH6gAC0gt8OTe0\nMZpkR6Rf8lOpReI309JLeasHaOQLF5TYYaUv6xiRgJXW+rrLkcPvm6Di1N87\nae1P\r\n=hdOZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW+R1E8uwGMBHtyqYlvqhNeV2wd3biNKAIwqmX91Ds5AIgfOiOExTiMbQs0sg2GMGXftnrzxFR6aGobL0Bjl1b7v8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.38_1644881718642_0.934040002571332"},"_hasShrinkwrap":false},"0.7.3-nightly.39":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.39","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.39](https://img.shields.io/badge/version-v0.7.3--nightly.39-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"285ee058823dd6befcabb7da496db48e9dc8d9c6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.39","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Uj3Va1CjL0W2+0M8azHmm+JFHoYLpn4TLUlDHs3IHUr1QoBd+KvaJ9pA6q60gPsSGGdgIBR/ajzeck2FMTCXFg==","shasum":"019a68c8954669209ff9414437fdd2cb9e56f64f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.39.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDDi1CRA9TVsSAnZWagAAHl4P/RC+VhngDiGBh+sfJr2q\neJzbvlzB0Xp79lU+KEsN8dm+8vFuT27GQy24pqc2XSL2G2zmDIwC0ebm/YSi\nL95gSiEOawz8HHr7c75K9Q5c3v8yTd2Ytbwy0kQSEP9aodtYZsNHxhXdq1gw\nr05um/gnMgHjh+ioZu2LoZzcCOpMvHg461sKuigg0X8h3GthO5H+2wCH3bgU\n3oTICbwUbTMbie43NTwJyPAMFrxHlinYnIZ10fXJ+gDUSft3PJ7mOoaDyN57\nkfBos+7bzTAL9hZsr4Ssut7V4lFfpBb6Th9xdV6gJbiiCC274GkjoqkYbvH8\nCf2ys9FNQQ362rXLH5EkMHqKjYNFpPxQyfG2AAy6gi+Emga8nAY4ViOpbPBb\nDMUi3Ru7QL53mYiK0qFMR1WJbH0Hihb8bo78YLqadlQj1Alp3WNonYqkFfNm\ndfqPM+Ji6rAom50jI96D//WVHXsM9FuZH02NxFFBk4Nk5cL12c6tn78EC527\nN0yB/D8GxoBj9h5YVo5jjXmEX2uCweNO321OlEa9DsHQg7qG1sHEZzwSpHJD\nrTH52eDlSoccshd1+aCoDKeCbixFImb+MZNpaN4wFIdV1FIM03UqJJEB6nK0\n19a9l6CkDKYjwMnGIC4CTUheP+fk1RW0werYBZYDxVsOPJa4SJ8v+/75tyEP\n0WJh\r\n=DR1U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcy3in2+SHWFAAm2zv5IMy1e6ZGK2ZAyHM8IGjVQt77QIga31+cRnJzwgbLuJiD2n9LW4ztjv+sNwlM62WcIknlh8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.39_1644968117773_0.7753136388269921"},"_hasShrinkwrap":false},"0.7.3-nightly.40":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.40","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.40](https://img.shields.io/badge/version-v0.7.3--nightly.40-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"50b39304a82f4243ef6b041c4a8d57322a35cd2c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.40","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-lOrOZHPROkpjKU7nktbljlKfMmX5v/UwXqhLAbgEJFXkcANpP9p4wP5N+jRyOOHqsxO1xNyGQWc7neFVeGUt7Q==","shasum":"70a2e0601ab758a380d4d90cfa36b9abe97cd045","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.40.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDYpBCRA9TVsSAnZWagAA64QP/j9gtIpuBia752plJISn\nVmw2JzETmAxSZij4krG+zHmzKep5bI2hjkltaUDPh4P6FfjuhCffvroYAZEm\nHjBprGxmKPuQomN+ra3lvCzwGEjIEs1mzRmy+pZGHx/GCMqFFylvzQnU28t5\nSa+Z3u5eqvzC43fPcL44cgoVwguYQE45xvgutS2lv6CzEl+qtPiJEe0pgKDr\nKyX5VqpsKdL35P58vntI3NFw9+Hr+2004BK2DmTw8fjVLitmqnQLSvqzd2CU\nkut749bMLvtKeIMRInIZnQvW3EyikzwlA8T63o/m2M8KwEU1gYCKY1czlK/T\nOAwT6EnCoEMJOpDeCqmhrOLp/BdzZgF242wDz1VgvBCQLGoBCFDI93gMnAwW\n9WhxuSG6UEG3NW08RarpGQ/Waxnxj3thsn7onsMiBZ19vwa3VEmWPa+VA7eR\ngXI8R4EqDiHn/BN1QDTbPgu6ZayEkm8SUDL80RFi7uZgjyrSNuYIkmtkjZ5h\ny1mZugwmUQA4NGxqovErjR/kCADw96+lgCPnec7QvlSS9onFAHyfqQscnhcm\nCeP2revuV5tVjxY5wJYe6LoAU6/dvCigHIkQxq4YXJStP0hsu25HaKAL94VK\nuaacMVCddS+nAxnW87VdPNnyIRfR1k9SdGfCS6J61ouSM/WCuEvToR4a1J+x\n0iaa\r\n=c397\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuNhqqNvisk5z5MfVe7G/mAKBB7ZKEsIn342U8dDy4qwIgL7F4svPM2d0CgE4qngnIOl0KbOh//BlDoM2hJUlANCY="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.40_1645054529672_0.5906544520827832"},"_hasShrinkwrap":false},"0.7.3-nightly.41":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.41","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.41](https://img.shields.io/badge/version-v0.7.3--nightly.41-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7d0d14631b251b06d6c9263a329d45743faab5ae","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.41","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-uQrxfNJk4O4wiP9M8MDSarW00AuDrv8KC4P/o2jpgi7MhJt0ZcviQMUHvGtiuk1E9VPqd9sSD7jyOW+E0OBrjQ==","shasum":"2ac11f48818aa308d381ec51fc418c5374dfe9c3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.41.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDtuyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvyxAAjNCN2HjIKFBA5Ku2mLpg1UpqYsITAFKfy3OgEmjNs9aco/U7\r\nHEImqe9npy62umGnXx7NxbNVr9KqtkjUbfeO1TKmcSGqqfNem5QbdDDDGNpf\r\nRh+MNw3bddl2zmFOiEFnEO+Axuu/5yWCbwh6BhZ3ramNN3iXrpl8v6YKXlIf\r\nyrNabmwMKXAY9Yhh9ZLUAFDyVCf/YookUi+Jgs5f6X5G/PYDZ08OyaUrghKi\r\nrtjF15vl1czo9zHLPTcxd0L1DkWqMyqSNex5a0HvCe6UdyFdjnhMg1FBKtPt\r\nnEdhJ7ZtS9WBSW8gDmEVrYz3f5BMnvlU7Ifo7bvSErvJ8oaiJVcLHwGHlEcy\r\nPKeilGSLbfU/eLFw0mrRLEtx8KWlBtksUPGheV/FU3AGtMdNWiMnajqjyku3\r\n1VqaaSdUoLJ3yzu102y1I/u9ek38BJLEbjJIIBB99PUyFVeVQ5OGHrKtmCQt\r\nI/RZebJGGHoPP8NMR419XQ/BD7hmhRthBtDgjSO/wU6hSX12ha1QxTPhoOnm\r\nBYTPoFTih1kYNptm88oMDtyOymMVAxNJP7qihdQM6czjhWOYv4/80JFXemyv\r\nwvdneYtpVkdZDwB1j8xPD/N5ZhxUpVeblw0TU1tMNMz9/QEbXjJkriNFmPpM\r\ny4hX1ySFJVBwIWTwwBL/e92QV/dza/z9N1U=\r\n=kUa8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6DgdaDT7riehCmgSFEdUQ1lpKISg+QYcfSIZ7e3Md6gIgFRvbEUvpbtUiWp/+QMkoBZpFGFMjS68v5RQIWJBJtZo="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.41_1645140913893_0.9297721828288366"},"_hasShrinkwrap":false},"0.7.3-nightly.42":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.42","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.42](https://img.shields.io/badge/version-v0.7.3--nightly.42-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6ef94609110ce0a8df0791e602ee5edcb42eea81","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.42","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-5zn+uJKCvWU+6b7u2ndWQRlWy0xFjTizpzDRspmpF1oImprms9KfivLWvqM7XBm7yij4zW0pZ0sJbqWEH+HhiA==","shasum":"6a9fc2788eb314ec56ec18204a2560e22f514133","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.42.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEC0sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplGQ/+P2tKq4teIJcS23RkpJbhCN4b4NoEiNvb20U6Eh8M/USMR2Sv\r\nbKWEnxR4oLKWst9Qok0QrRGxXmvX2T2U/ufjhWsxXSuhBg1STq23ICXZU9KY\r\ny29LfcoX9aH08MZULtIB0vsi/GiG4dAw06NlFKPBVFzJ+2UY93yO10hRfyBD\r\nGWbNf32uqKcNUWr5MOVQO5R9QaUHS/CHlqJL6VI1bhd1ZIzcZYXjFR2DD3v2\r\nXKLjsU+GJXtQD/WKXFuYkfP/EQ9gLSe0JmVqiLPE4Vrh1+USvgezEQaC0+/d\r\nmjdzndaYSRenKw2VsI+ccrovm7vxTEoT8qHzQxmCjIe0p6eHUwZybWAKqhOP\r\nvoBOCJ4G2/LxfkJHPzlx/fb7dmvBVgtBjd+KGuktnUSH0bA6MWF2drUfgG/f\r\n5EhP1UntE/BtAU4NMWmilK8exEn5Oec6aAZ8zyR3DLOn7v86co889Es2TDwo\r\nmGR1ER0VlX2vzb6/6d8SQbWUtgtV7h/4vfRFkLbGjh75DNSFxTk+uQR03Paf\r\nX/1vTUkubhjPALILPBAMhadBZrd2PGP/Ii5S1dK6gihjv/xiXdDCIpBJu/BQ\r\nKuBujKapI1Qp15TUDzaY3REnEeG2XqXO43eVZlnsTT29hv2Efkab5rmIFp0l\r\nurOv1uPop8WzHv0W52gLMoBRUST8HzKRBHE=\r\n=kgy1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvZKOtaPWfEilvBVsUcXDafzPnNa9gYzPnqlZLofq9lAIgSde0a9uyr0S0nf38F8e9pw9Mgs+yYKLgh9OHBwYNSTM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.42_1645227308177_0.42555998237615"},"_hasShrinkwrap":false},"0.7.3-nightly.43":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.43","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.43](https://img.shields.io/badge/version-v0.7.3--nightly.43-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b5848b7122103c64c1fc101804df4c4a5ac91cf1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.43","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-yI9tznumoVTLCa9d4rjXg6HlsjnO+7VXOEEI/k3NpfC9MTbKBYLmyQnJ6JBHoHHqIA4Ey01QVaECPM0Z4Z8+1A==","shasum":"29cfe672b4a8336874421a5828907ce7f39ab77a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.43.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEX6uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3zA//W6TVRr1VC+RPqCaQrPNw4JHRHUiSd7VZ6Me8fIgh+tDiH/Rm\r\n1XY4cLBy+BC7e9IkKaJWp3akxG18sRBIRGgY/1Dhx+gH3vFGliy9eXWi/eOw\r\nVK2AFZxM8onMxHSuE/2atvKnJdPtbsZbpXfUC8eQwhi5DHT5lCD/LYOGvVsf\r\n2CKMEG0HK5xEf7KUVEwz59ufnheyiub1GRNmbFUDrSeiL9XHrzyRwCiAcCHt\r\neFGR61X1iZ+Eu12/iW9Xgfcgcaj91KxkbBEIDTL9JiFtiBzaxOBomjKvi4DG\r\n/NvbfIZkqG3E/YvOMydKu+8EecC/2+nu9fgvnORxk8YjXa5WCIG1XGR7CVA7\r\no0t0Ft7yp/Q0gLFghi/QiqlWX2URXFYGRK3LQIcMrUsJfhXlHdgg7kZ3jPCo\r\n99m0ezO72JcC6AfnOWr/65KHK6OoZbBfkUbAPATRgmbz3WTSDAABH1T800GT\r\nFGNZxzO1E6c/1d4H794q5Q/B71WL7HSy2h4S691nOPyvgZKQ/qVs8K0HuPVc\r\nJ3IKpSsu1bXibt70F1GJWTdUVua4Uph7TXsQp0cmyJ+CYIYX0c/2vDOdHP8V\r\nxaoC+b8MPC9Mb/jUnke+ki/XF+YYrxk7k8P6qsOKnwLZu+pnh8hN92Kf8ROD\r\nn8VM3qW3NA4w68jd/1EzNgDOubpgoscaUVA=\r\n=2wQ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+Yuv4L1NMCWANs5dwozp37iOqAWZd+8OFrfjoEf2mmAiBzUicNaOsrtfbHeN81JqiEJhc50Hy3Z4WtwYccIEcxQQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.43_1645313710720_0.3769141580434696"},"_hasShrinkwrap":false},"0.7.3-nightly.44":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.44","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.44](https://img.shields.io/badge/version-v0.7.3--nightly.44-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1ca4e747e8efc11c671bc7ea4917810daa8a16e3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.44","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-43cbDcqhaSOKo/fS8eIje5U6TNTjuBPo0mDsajGSSmN2D1N32/tP8KfG4YI3tjuA/uoSl2JzazZLNVicG2KZow==","shasum":"45fe8c1ffdd61ba5bf8f0487f6b0a172712ff9b9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.44.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEtAgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqX7BAAh2Bcz8nDhN7lz7RR4FS+7a9WbfdpgVfMJSPgROft/N3MkbZI\r\nyRrOY10aX4+t4rca0M6oI9v+QiUs5vGEqsKB2Md1ybc+rwhroGvrSdNDbfge\r\nWwkyrUywbyAdQtCIxxDKVhjrrRHMBwFTDs0+SaU/aK5KMPM0mkTUeJ+pV3fk\r\ns7j0L0K0dbju7LDPpbA4gqjSNyoLyLlaFSFAURf0LwAeYoXHlXeMmyv3N8c4\r\nIwivIep3sjUmUA0myMxL2qic4K3wkisKBpanmYBDmZ+m1k0nFotR7U4xyyZg\r\nbSb/thXmY8pfSAoUYn2ncaz2VJg5fEeiu70AKKFfW4RT980VsEBeObN+EmlK\r\nqqJcBK3GDTHZL31odwkWBQQGH/Qlswba3KOzolTg6BaOm+AnVDyr34WnY8SI\r\n3HqyHctGsr6XtPCkd1EZVw+3jOY2/YFdtVaX/Vb4b7kb9Wczg0M7Z6L7wIlS\r\nhWXhWi3dF+a7giQnVaxJhAPe+RuDsRcOi8PTLc/nsdbSX0T1M57cEUQDxkxc\r\n6y+4uW850tvdgBcx1Jb9Ln+ss3o20xEXRaFdkVu+oBnHNU2F2MzjdloFyHoI\r\nn06SGVTqfL1wWZAjWW6iCshggyQsQFX3UhWjFfNWvNgWsZ0kJPNacUWFEBgb\r\nkGcsokc4yDlGj8eq1u0LBMSRv+bBl4Y2WM4=\r\n=L1uS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkGglJg2MmZ5R06zGqc29Oe8keoHKPrGrNQKoeipHq4gIhANrd84TqqAGvbErXlzLz7XtxWPgeQCYpmKSJL587f9ZN"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.44_1645400096142_0.6392411164821903"},"_hasShrinkwrap":false},"0.7.3-nightly.45":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.45","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.45](https://img.shields.io/badge/version-v0.7.3--nightly.45-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3649506de256ade8e2d5a7d3789b5d6eee6057a4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.45","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-Y1oFuRZyexNd76NyDLQ/8zYOZ0KyXdNnn3qZ5y0X0q6SVcg0IhMdlH1S9/xsc5FWEytlQZEkAzduN19UzvvBzw==","shasum":"f5b7e38c5d864f19c4ea00908dcd094782b85aa3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.45.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFCGtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSEw/+MDN2KAJiWvMDd/KqE22KEy4jutrlTmdrwsSndtm//py9RdBS\r\nqMY7NwlseFXT63OScTWnE8cwSIhkclekpEDbjsRjoHhoTmDEgvpj7azoJxg5\r\nS+sp4fHa+oDtY48idNBCX4mAaMKCEK/2ChKYWYLMZ4UX8E0tSf3W7sO7/XKM\r\nmXctZwdLEfDY39m+d0aRAJC+u1rZAdaQKSG2RlZp/R26mgWZCzgGeOkZFHDy\r\nwWhMvg0a4h1uuSPj0L2Vajz9G0eaWrFC2qyOIixdnx4AKZM6+sNSeM4gMq8Z\r\np9mKgg5b5JbBypU20P4BTtNDZ10Rll1KLTLkUE7J1i3fgr8Z5zukFAaaxToQ\r\nDiEhSv1AGeAqyCbY/So/2gC4TmieWXX/HbqKLXezK6YTzJgVYxIiJzQX9ko1\r\nKuOOOC88TWJ2CzDxa3GyZ5BZsojYadyDKyxogFahC1eButU6u7QKnSx+FVgs\r\n1T2PY9nr12RfRj88sPxMvR02CeV9/p0OcIeeru2/nssDrNOUjyDgQt5E11/N\r\n9pAQiyrgUbDCsA8Z3WJr75TCA8uZSXgnR+rHnZ6LSOl1NJISNd/+iwoJGKvu\r\ntW0/FZjw3fvBPzWfBzI2U1ILOR3cgaXNhmdODhggVfUYokTWIaZJXOp9XisK\r\nHvvE31Qen+njJ9+Evi1rwrXoJd43dLp9dTQ=\r\n=7iOU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCODkwQsioaVq0xE6VXdcviSG0+0Bj+/I+TepuomRxjFAIgUDorg0htn6kSK9iGhanaHYAnPu7/cfB7yZJw2uti+/U="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.45_1645486509288_0.6399470858594452"},"_hasShrinkwrap":false},"0.7.3-nightly.46":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.46","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.46](https://img.shields.io/badge/version-v0.7.3--nightly.46-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"437e26d9cfc41886883ac1f3844d1b8d8baa3f34","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.46","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-L7ZHAW4tqq0iMWwsETeKzZaA4EXYIP6PM/doedSp+GSvbIyIlSzL5iXeL1zTJKLOe8AsTjpOzgGqdIFaiwJ1LQ==","shasum":"45e6b2385b2368f75705ec03ebb2ff900e318cc4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.46.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFXNHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmptkw/7Bi1rcraK3BAONvB3x8lpvgpg39Tq0FhhFR895EUkCBdkHpJh\r\npC2SC01ZlJQbYJN/Fd0Lzj01rx9OwrjwU9VP1RW09gToyDpTV0jao37I6O9R\r\nA1Qw2egAXcRj2u1RXRBZuVB6AgVqrfi6GHYL1SXYx8lzbGMKHK9LxAQCmJdU\r\n3tIb1Q9y6L5wHRmes15XfPQCOcCPjV5c6EbLMGMrlR6J+an05bDZgBJZJYvZ\r\n8kEdlrBwSQv+6y8UFgDu8bzGE0F/V5mp09Jrna2Y4tatY6Hxi+q20/7EiLGE\r\ndMmi49UdrYw6D4P0dc/ovZosLsrS7ug5GJ0tyfYGONW91KUqhnlGFj4cRQfv\r\nPDPLly1AlIPRGcadjkuUiSqb29dFodKGxjWJIEjGMBNre/BkKwhZo5d0mPUj\r\nZiKk2+yAdEkR5fXR7qfMBjgoSuXR8v95/vOirrx1HkIZBPocXXX0nrgV2Bql\r\nVMfprd2jda5Hojebzet5i+OXR6PbrIZljgPmmSl3sSKoi8mRYUnzTTxE8aTJ\r\nf7sZKlctcNzTjj2RHsiMTZ17RnlKQ23fKiMo1hoWvjydI9TCFbxqdGpVN8V6\r\nabiXGCrm4bF4bxuZ1qON4I/QOf7fH/UW/FweVfczjbxyeMS0KS/ltj2fsYJc\r\n1JtNvX7bJXwEfitnMCTt2FZ6FIOwBEgoIt0=\r\n=vRd8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgF7rn0KO84wgUoBDn+1SiJBqkQfI1ob0Edjo1a2kVIwIhAMNwdNVcP4r/VsnZrB3RuLbQjnRzPOPvzBZ+h2uWlMjU"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.46_1645572935054_0.5037457048948082"},"_hasShrinkwrap":false},"0.7.3-nightly.47":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.47","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.47](https://img.shields.io/badge/version-v0.7.3--nightly.47-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0ad59428d7565c76a3b13db707052e9abf3620b4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.47","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-DfRX0hN/kv19tAh1TyYVHVnyFQWrM1Z3R2qSB08VhUx2PJrIp3OXPW8mHsoOUB8/CJ4ngWpt/dJChhGFNhIOYQ==","shasum":"35e4cf6f087b6ac04919d99a6dbfbb4d2707e186","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.47.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFsTEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow2hAAi94pyM8zyhGQ0/gS2XePGMCvb/j55WMfxa7xy7UotC7FLhLY\r\neGqh8L8Bai62RpZZFeMx+MPD6Zckbvxd/Q4jqNEyQLXs5y8zGnO8YhEHMMvs\r\nT1ZYfDJJFgzcYGfgm9gRwkOzSD3mFs07tV9kdEvsgV4YV+Ci+5Th3pt4h/rt\r\nulVgXQN3AcsGam3mBfySLve8nZVcgpqHq73gSNOlQqZ74nPGjj3OdNnwBNB8\r\n1LzYgMJnLH04FlBd9/S80oisQyPr+nMkZeAvYS5VxSBhmDZk2tX3AWyGL01L\r\nvy+lBaetIpsA+pK/0hl/RrcybN8pp3nuCF6KOur/fxymK6xNEW99Ht3Fgu4N\r\ns4j618PgecgbX/HJ371CLXRnxQzKCKcDW/lDDSWKICucFCW1T4qRDi3+i8LU\r\nBUt2B171HBN/6LjwZLzPmHjVQhch39MVYzw3dDQeWCOJgm7eAST3DpbWKxwv\r\nPblBWqEfZfI/cTA3YtQ1QxSLQGa8WuxOwAPphCB1cWjhyG03N8jL2070LOPC\r\nCva4Fxm3Z8yRcuIkfujXivnqbpqlDNMm7tOXkLUK+py0nRjuYteeUUIf+fez\r\njor6Yz/3S4F2pBng8rvIVNIkk/wNrq2iXyRcnMGxFfgyH4HtRK/WyCTSZtLb\r\nJRHy2lAfDcRFV4RovJ6sm8FcmdAYfxcBIik=\r\n=tiQv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGI6s5mYUwTTlselxS45q8MXC3OzzGhjIr8uZTRtYuKBAiAuhx7TDmXdQghKaVymuHEHR2fMp4ip8pV4F7o9itrwwg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.47_1645659331790_0.8685951602770823"},"_hasShrinkwrap":false},"0.7.3-nightly.48":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.48","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.48](https://img.shields.io/badge/version-v0.7.3--nightly.48-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0e0ba8e13304b1599bb8957bc3b0ca77bbdd8528","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.48","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-Y5eAvxmnO6kRHtqMiIzR8zocUVjEK77g+YYaTf3D8QNn1DoRwboXL8AudxdbhVar/3iFmh+3gFLZO9oCpBcstg==","shasum":"4f1aa0885c9f98d060a90b27b9934d4ec3aff533","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.48.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGBZKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpukg//a3YKdZPz8FqqJ9m+E+KqUSsb50Mjc9tBvEV09bD1YECZSZhs\r\nwRRLhWTXeAkX9xWtDC1815JYDD0mWcCDaM7FviKKB73ieUAJY/wugSIolmuV\r\n+ukKrN1yflg1ROhAbokw33L4d6cbt3J+u6s5FCcypbLrjO7E+CYOG1qjPxXf\r\nGaSfudiAPboDd6ww0sNbrfQ5SAo0xF30FHafw/qVhEO4t1+8uaHg5DMDI4Yb\r\n7ECo3d9XDgS1Nfhnc4w1ZYkieBmRMyUTfZZR23JBWXp903RnH0hp+HdtSGrz\r\nYLZdRdFy0sATQiw5IXgQ+omCNXajVkZ7W4m2B/1DDSk1fbL6OtHJvbf6Prqx\r\nLuAF+wYbHgOqgiE3fFgXHbN5a2Nyhgi5Aol1MYFzsFqkIwPriurPNjEPKjxH\r\nAj+Xqex9Fo6tmOAZGayo3sWMPnnDCigX+wrvKWQ9VInh4auXsSlix+87PI9e\r\niEMHKZQvlRW4ZymJAMN35yZVdIXrPhFifRyjNn5j20BmmzblnZWzyMSGA+Jj\r\n249emOuKNAaj9nrnBnhisIl85BdBEJQNH2O1Fahrlb6AxQYzYBuRQHwrk7Yw\r\njqiCzilPMVINuli5EzviUGhMMgH3S5wjfknXeAAqzvKVMKILPvCAI8o9Vv2M\r\nspG2w+0L9hb6Fsx1T3WvbW6uiWPt2N4utjo=\r\n=PkBJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHo5vBW8YBz58dspxmddomEMVE997etyJkqCNz+JOzngIgeWDc/t77XnJBxn/HZXwr9cyuiFsrehDKMQGbNXBuHcc="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.48_1645745738063_0.6914240441826556"},"_hasShrinkwrap":false},"0.7.3-nightly.49":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.49","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.49](https://img.shields.io/badge/version-v0.7.3--nightly.49-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5ebbd68a2ecaf14de65ee0e0955393bf1a83b896","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.49","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-cWoFHQjWaH9AcJZf7ymrETEFn758FShITtwRb9mV2RJQsNVN0KGgaeYLT8G0BIr0bXcOcmjSMQe4lSJZssDPRQ==","shasum":"bc20dc8b38b9bd2635580622a33728672e347855","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.49.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGWe4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqk/Q//Z/s7tnmg75Ahl+NobbU2XW1FvIacNRyUmgkyNoIHwX9XAi+I\r\nWWALgkFC/cdHckhgxqEF+lw/5iXR4cEMUzrZCnnEAmNoUHJ0ZeF0VxzTfc6V\r\njvyzLaoEu/Qr2Os32SrH6MocW9iffU0aKnlAkBsPuy8iPdWt0AuQjeOKvP92\r\nYhMUdusBEP6dU4qLorU2NkObWi/lVZ6qGXkVEu8DWn1BFMsi5g9KAFpfNsZG\r\nStQa5ICZ3tAijfjtDJvG6Tr/G75hUVgi68d4KCwFYEzt72n1Fj/3yiroBDWu\r\nNarcgvLM02yWnxyHn/VWbVzf2xE+2c4ldiEaZeG3ZWe3OWpJ5QYm0SvR0o8+\r\nbMI7anTGiYnDLw5zNplge9PDod2/+NOZ3y/dnkgpfG7L7hW+fdX4l0NjKE2P\r\nmDglfimvG7trOGxNal1zbuA46bU7GuBtz89QjBSrqai+7aDmd3ArKyaGpi3M\r\nSPj974buhpeaSnAmNBkq6QSee0zsOkRpy3JuMbTExIB+cCoXf5B4qZJwIHgu\r\nhxEd7VAfMwTcFwOQB4ijVT+kT/6JNiVVeBvrSRnsv/CLP7x1xNgOTR8TKli5\r\nG/gCrEixCGslunxhsipywwRj1hFSn39kU9fbXSKgZqMdQCAUn09z3ZyebMPs\r\nd2OHReGIeUZOTfwNrq/BNpQ7s6pb+Nz9Hhw=\r\n=o7y4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuWoYZ3Zz377CvpCHucSTjMzYTu0Ul0E7yt1NJEVIjMAiEA5/y9lNYj5OYJINfY9uomUAKAxJo8X7GWREgggNN/p38="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.49_1645832120576_0.1541073410506717"},"_hasShrinkwrap":false},"0.7.3-nightly.50":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.50","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.50](https://img.shields.io/badge/version-v0.7.3--nightly.50-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"737fa617e56416551120fda63f9c01ee6072e900","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.50","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-cV2ilV8yhNus6kzxVD+gV222nhj6syzb6hh5OoOmbMJVZGdJGNI08wr+O6P+717B4zBGTwxzilR+ei2R6hsn/g==","shasum":"4a277f2ff42094fd69e9a01a4fe19975ee323eed","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.50.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGrk8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHCxAAkC44eH3oQDgUSUVrM6mu+thErmr93q8ANyGDFpmZY5asCcU6\r\npGpb0w6/mmWHPbq3IQeo5TUk3pkJOQOmZK6n7QaLwcpook1pYK8GsUyrR0uH\r\n72QxPl2g2U1JkDvFOaUnOvV0fY3mFN1WlYJ4P40XsBnPW3ZClvNxy+pHWgG1\r\n2dLlvLJFvRw+Y3BEM15FoLFzS0rNp8t+6woCA7vU8SGQjsvKw4NInW6wNQg9\r\nWxTpcr9H6j0yrZksr9vzpjRXEczngbKmIRiWga0Ie2iJvSDt8aG+XprMuG46\r\nPtQy1lRKTlg8hVaXNUCLiCbCjvNfa8NqhothzpNAuPHgZSFpVQ8SL5k6IoV7\r\n8MF4JCsCUjOFsLAU/ZKHLi1mDOYNLy5nx3gsZDDN+IImTIqxNLX/kmUqgjCN\r\nuVkbDfoUGWzpDc6Fn5GNM/qQIcviVhWH299IsYYFCJ28hubz0iRiUjGqE4fE\r\nq5+03S3mAdGQ4go11eS8rA9QG8+5hmsUNtkdftywxG9FgmK+yzxlGdxn3DJn\r\nC7Te1AQvIRCSi3bSyoSs+SqtOCgGqD5yndwRz6vfEOs00MsJjIC+C4uk94j3\r\n7/I731sJzOeKmSf1fsQ6nrqG4SLnpdFqDulIqtc43MuB1vxADUHmtHH4Z3nQ\r\ndd5qYaBZct3B15pUMHPz/zy3fQZMzbjPuvo=\r\n=oZgy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWHtlJLDhKsAD8/1OfxPrO8dhQ6RKp3rY90U/3k6zgBAiBFJ9anDMHLATsYVQpmSl2seDIcnBkbYl4Or0IDBGXpAg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.50_1645918523983_0.5120509051929278"},"_hasShrinkwrap":false},"0.7.3-nightly.51":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.51","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.51](https://img.shields.io/badge/version-v0.7.3--nightly.51-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"98bb9414a6ef16b776b31e36683d86a2b4f91524","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.51","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-3KyKsGykPz6Ug0i8wSIVC4/LNlD4y8iUk8vsPbj9SzsZas29NYEr/eVqDl+6GFDhupPb8UXm9jlEKJ3kPjv0Sw==","shasum":"0beab222eb197c27dd2d34096a1a814c5da77c03","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.51.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHAquACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHIhAAo3uNFdOTlH2UnrYRVa553nJWry9B9qSh0XqTJBj875GBXOAb\r\nZfqfFKNxG45LYtWB6SXRKXHdqF5MmKSH2326DXhkeI4C7HIFBR8Frbt2vxxo\r\n757p19p9cEVUX5xHG5eHZ2iL9RQtCQYCmTpbFNeBdX+BsluKxf+2qBpx4PiI\r\n1uz8y2yf/jRlX0phGj9nPtVz3osVa5NK7WO300MMBT5lZSm91Vih3+/c1AtH\r\n75RZEsAhEK03pGG2s5PcSpuGtaF9owiGvpHNB5ozLMkOKaiFRnkipAfo5R7o\r\nr2rycNrOIw5jiN4obrqmeATa9nzfY+GHRIF2YIAUyEw1DnzlgUYFwmZioqjn\r\nW7XjAAcKrA+/8NsJrfE1N9vfsXX4lYvK04TXw6tNkGUjRoE07uWBT4F/TQgF\r\n8JalSF8M4uZesJrwsE8SOeP3GE59tT06swHJAP4UuLdAVc+OeMaoSb4Ul6T6\r\nTdG3fCXq5EcS26U+vaAJR9Rq5Iowkr9SPnC5LXkRZzYW1o5rrZ9n5XR9SkMX\r\nYBigoY0JqQPJbKjKY9Xm2gFeJv+xBxCtVOAgCH0vo9+jgVrHysnzvL7TSleu\r\nS9Npe0s0qnWp4xIDT66+ejkj90kk4r4/LAIsuJrYJ0oX6s2bqwt7TAjc0csB\r\nJwqFOKroWCGD1xUYo6mV9q4nRO6M1hGOfjI=\r\n=mKep\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxWB2bgEc/vHE/2FG1qeS+sAtze6eywuL0oYVAJnBpwAIhANh3lf01cv+oLHO1Y4FBLwzcTavGCnzKkpEPdp0XVjtJ"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.51_1646004910636_0.26245314845099466"},"_hasShrinkwrap":false},"0.7.3-nightly.52":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.52","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.52](https://img.shields.io/badge/version-v0.7.3--nightly.52-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7618e5d53c79193666c793f76d304d5d94f20bde","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.52","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-lttmzD8If5gJg04FIImvSnkWRojPGkeHFbJQrNuJkOJigpIwnvFuFSvXs+/AgZbog4p2TSQ1wpyXBOQdZzI0kw==","shasum":"386cf29747467379771fe14aaa938b62da1fcf1d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.52.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHVxGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1qQ/7B6myxSUPYU9OknyH9zue9NgJaaJkGEtGyOYiVv8vmnd9APJw\r\nJVUf5JJ5dZwo/mpssTkKBWfcOsv5hYkikxdennxmZ9UgPp6bq9eWLQ7PtwRi\r\nmX1tYxzP3HOF1lie7h9BKPp4azFDWZnVIFUWNjlHXxduoFUt7zsvAB4Zuuze\r\nhFaR/nLQ8hIaArEbmx6JkKQhfHixpRMSQMWymrWwpl/OaBdhkBFfjthh8y35\r\n7lQAVrhTyKh9cfvNotlQ1D95rX97GBvCY7nf2Iig2CWTtBoD5g3OSiFbccnw\r\nwlrUF67el3IEc/hSsUXZroWjGo8TEfEJ2AO5lYRA3g6S7chp91Gnn60jsPvF\r\nTZkvcH0pApHppA5qUJDI5VRKFgIePpevb/XHZnpsTmWsniOstTi2vXhFTEAf\r\nUjLYcaU9NJAc9HMdjG03X4BpvNJmNxe9GRcQZw2rJtqxgErA2GTytbtTAEwr\r\n1sfYeR2LxJ3vsu6oxLCPAcmNCtU082fr/o34tU8qDYVQaT085G8Jv2zgj5mY\r\nHKLx8bzb+eByo4Gau8Ay/NXzIaBNM7x2Xp7t1MEkkFDQ5ZCjSHeGCvQjbox/\r\n5D14xo9y8IxvqK4470lBIN5KHu7dM6/1oQo3ALdoKrNUCfyFtKYUbHVUyO/+\r\nrHksMcISX/DUBN9n+mm34//fTMOHp8nWMzk=\r\n=KZzp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNMhdqpwY8pfAkDdStd5H7oVbq26jHZGXHYKNWAA/KuAiEAg8D4uJ099aVVrVlFInBKzEfeAgwXlbWhXZg+bdti+jw="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.52_1646091333946_0.8817614312288433"},"_hasShrinkwrap":false},"0.7.3-nightly.53":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.53","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.53](https://img.shields.io/badge/version-v0.7.3--nightly.53-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"25d203f1fc72921506f27b67d48f0b82b1c79b05","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.53","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-grQ5FHQWaoqjY2whYgKueOERz/iatKdQ4Z5+sDPoueZm4TQH6X2ekablYwIsSXg3bYINN6CxEJA1gbxWI/EWkw==","shasum":"7d7d04ce78fcffc5237b967aaf6f2e17f1c68115","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.53.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHq3BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHRA//ZkofT6+EMqAjSrAolisfH4PbhGa7MjG6KpNXB5oSfWOo5K/t\r\njdigDfkOVQIlY9Gw5lVGjH7dXsEHCBpulpzYHfkyPY7abrssSDEaL4aW62ba\r\no00Dcs23mV36pd8qeVe1bzChS7MBMlWNKgz5+V2VZyHq1Q+sYVBKGvaiomxL\r\nasiPqFJfrpwyvZoJmYx1xbxQSTAKk/ZtmltIB2JUUbVzpdwiwnhvnWJeu0dT\r\nrC8+xD72iu71sK3wtxp8Mk0zBu8foH86v04rGB2z+qrP83LUr1xJInzpJakr\r\n/lvN1jPi7CrlzURe1/D9otE6hc1E1aKzpuGauuUWDoJ7veW3DONiNQVe2mvS\r\n/urmM+x1RBOT7aAlEgnHc1O7Vgv9QKzvHZhF2POVWFkVCxLRWmGroza8+JzJ\r\nYDE7EiYHu1qIJjFu7gCeyu6QlDbbFL0NV1lM2wzFyCwCBwFRKaktbGpAUmGt\r\nEZ8R86jE5sq7gqCYIDKfHWQVr/fge9mY47NQH9lhOw0UxGK/DZdkigeBRbRZ\r\nhciJQyivhLcYxrK0iGJxLv1aYa4RedLgdXnHgqmHS7JFRaXz3c03VNRr9myT\r\ntumNE/O7cD/QmvFMyfyJz/L2uRrrmys+X+PD0SsZceYUpJbIoJ2UBnbrc8S2\r\nD08HYA7LaxgyEAuIPJqnijaVaeygvImC6Ts=\r\n=oYTN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeGPyn/dPqgQFqRsdcg+0byUAynSPEIAv++5UxiViogAiEA/kasMZYJ9BjyPW3fTB4QBe284EiDb5VqVlSeokzexrM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.53_1646177729777_0.07805196767459277"},"_hasShrinkwrap":false},"0.7.3-nightly.54":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.54","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.54](https://img.shields.io/badge/version-v0.7.3--nightly.54-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6a768a49ab057a2575f90dadb1de77a59beaf7e3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.54","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-YcnTWYNgF5M7XS5tgYDoIM45DTnCaPhFpjgzx1Ih8SA8MdLszwCuARI+9blzJbiaZK5sAZCQ+qb0Ifde7aTf2w==","shasum":"77ecdef66991c57c9af264b385222daa30921204","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.54.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH/9CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooPg//f8XVqyFHLl2KGQEikIAT1R9Hg2M1v4SOStE/ieF+M3DAUndm\r\nl2JJquprD5RuAsx/PW4uVK7oUTDxrQCJo2sbGZILRtIzWM0EYdeXnylyQ7jZ\r\nZEWng61sII/ieKiWaq/H0vx0N6Qjde0PlE3L5GpJTSeAK7joabTuOUUO0Gah\r\nxfcVzn0boJoqfvxqQYcRFM8ArypsHcdsTBP3Oik4wkBGvIAoYGbGys6xEBRH\r\nVrzWVVMtGWjavpIznlNdjRtt4s+YKxGWK5YBS8JMUwYfqSKIFwPi9Ix/67dH\r\n3C+ieoPJuPbHlvxPMJ9LS/ubTxgSW1/PO8nfbH8leTZaLvU1J9FAbz8g67jr\r\nGgMcb2MM1RcHBtpgH+UvE5WS7TYryrropR9OUe9fzCsjkaTwkimE7YUbQqgn\r\ndxCe3U6RblhYgzMFA5PV+o7kDag3GOMNZyaseCZnJ9UYlfRgRhha3Ju4+Mxs\r\nlZglT/xr7D4MxtU78QWK/2AeuJznEXOqPYW4vYpctu3xylDltTUAFftF89uk\r\nOKCmWuGUzKyftzxwkbS+OIQWe3ooqpZKkdhwGKafCMr2x1VwXF47F3EBoj9F\r\nztZVcFqijGdL2tG6OBDmiQ/dAbuAyxAjtumNG/ETbIdgMszBfw8NAF59PMeV\r\nogBdKCCSECrw8vayP/MNeLJx2d7icNTrNJ0=\r\n=8SeY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp6s8DN/ausoP7vY5aydS8+Xk+WrUtwKFp5l5fkVrqOAIhAId6UeN5NI56jTpzvvoP1jvo8OMoQF3xn//y0PrK6hw7"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.54_1646264130420_0.13468505391493157"},"_hasShrinkwrap":false},"0.7.3-nightly.55":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.55","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.55](https://img.shields.io/badge/version-v0.7.3--nightly.55-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c089147496118c698817974ee71fb14251218f3d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.55","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-vw7xDH0q99KlKjlAYBx7seywddQo6PJ7bgBwJ4t8KoMIFnDuk44XI9spOrp77MuS6+ejMcE+wnJ3mRetr0CxTA==","shasum":"1a5af74b6380cf79fb97b78e56eb64a44dd82740","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.55.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIVDCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6aQ//RbvtVMbegdwzEtP/YfjqwQHDk7YLsGKHTuJsbusF/VscwPi6\r\nkfZp3T/N+lH9Hm+tJQ5BwKWrAl+kDso+1HFPwcD51hL6qlOnd5aDbBYr5FEm\r\nBkbA5+pxZ+k2xymeLzX6moVkTYBAj+PGvTYbKVJqQX00pdWQq2xUINDSav91\r\ncYh8hNARHPBr19vkgBMLt3VRr8zp1F6S//XWcyz/B4qXTSzWNZbf0DBRw03K\r\n115cG1m4maSkUiZKKLQy+YdRSArcOjRQ0J42pS/6bvx/WmHeHzLZCGscSUAg\r\nfM6bt0OQyij0eVF9Ax1tKoa5SSIi2G+rI0LTf5KPKhJ8bXLSvuDhbXW7YUn1\r\nBqPyTXl/KWhrH3+pg7OV9IqAcAZKRZ4LvNBOaDAzV5DeWst06vEnvoSLLt9J\r\nZcaWXk1qN5txljCh5/m1h7oMOqWpm3iifqwcmTvZqU/XlMdLd57xY19Q0rBY\r\nSQu8mLLIlfVsj5M9bF6jCcIDUHjN9TkAQXhARz5uofcDOxLtyHBR0YzZBUdv\r\nxatdOKwvjMRTaSm3CMTRQe/+PLhy5XTK4vpeFvh+BHUsTagBiyV8wZxdnzSG\r\nBie39hGt1RsKP4dhY7Wpg9CtGqof1nugFv72M5m7GvSkRpFUk/wxZFAw/H/F\r\n7lySHzG/XaAwJ9BJ7SrRyEHcflGX6/QTq9Q=\r\n=MqDQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCsoyISavwrT0YUAAd/q7A0267ugj96T8AUIdhLN0EJQIhAKJjRRUWTK+ZSI0ed9bHVuXIyJoEibJQLZQj8QB74cTO"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.55_1646350530623_0.5319285924762005"},"_hasShrinkwrap":false},"0.7.3-nightly.56":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.56","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.56](https://img.shields.io/badge/version-v0.7.3--nightly.56-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6ff2869df64434ba8e0b6b2dcfcd75b41b8bf800","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.56","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-dWWUKzvuAdBk9+Ea+ur9fWEmCEbWmX8r29CLCZO5tuEUTqndFUykf3AqJwObGagCeW7VbrrSOv9LEtv+LYXgsQ==","shasum":"f488dc539241d9a73b730c24cfa8661857a179fe","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.56.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIqJEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpj5A//apzOJN/uSGW3H2o+J1IzxqeCZSFnu4LVUwV7ymrA/kx2bRY7\r\nNLHe0oXR3E8qI1u1er5NxCwe9JvgFUvvpn2ecamwNgFyBSSKhgicJSoLyHP7\r\nwXxleFZozoMt3oBBQlKmACdX0Lv2h9f4FIGjXI3bc/wFKyrd8GPXoXMSGm7O\r\nIu80zC7Fw+C8aqvUtd2h8Yalifgnxhc8bh21/fok4C+KFy30cF6+h7vAjc0n\r\nueWV7t/YJNgNXk9nnikT5xDQITjeFK7tcTGpc8Cr9DNE4HtpEvLJFof9YOTm\r\nwH+BmYd+UpoQX0vdfJwyL7mDp3KaOCBG66JrFSqs7MMGfPKi+vfsH79Jg/zD\r\n9gRsS+y3fuHySD33rp/9P/LTrwjlis4OJ4voOluzJJwzW1XzNRIY4hPMxB+q\r\nYfyjBHFdYWW3aEyyHlY8n9j56cKHVy0BmuKyxKkU3aewvk4AqTi5f50ya3qW\r\nfKBHeZkODjHI8Pgx4VP226M/iRHCJjWdj/I0BIJmSUFHf3mNumbzhMUXTJ8O\r\no8EfIYCzNejMpdqwmMJ0GhJ/6cx17VEfwF4Th5EmkSoUGzqP/L033RxLxnVt\r\nw7B2YHCbnuy//ec4dzX+nnc1tG9lqgQ3qi5gH9m8W77oCH3dUdbGpGOUiXfq\r\nwnhrPuRj8z0HlS3Oyz3In6eeDeV9kit4rCY=\r\n=rE3K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHW0IO/DNAC2qdxAgNsN4sZKtKsRw8tSy5oy1AJ09+tAIgTdnAkbtjnDItwoS49Obl4ubvN2GZLQnN7qMVpAv1w9U="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.56_1646436931889_0.7897493881204083"},"_hasShrinkwrap":false},"0.7.3-nightly.57":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.57","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.57](https://img.shields.io/badge/version-v0.7.3--nightly.57-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"20618cef255744dc0f4ed06cd5c9277de4d00c3b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.57","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-i/sKqIPM+txSvcx+VdFZCfsVFJmT5cJ1Uxrq7/etRzOGQzpHNSFre5xkpyreEadubcGDWsm81+UkaqzYWLjcoA==","shasum":"668624fee1c341da8b8374314f278c882db91e8e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.57.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI/OiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm8Q//Z/ogyAT0uQHT4Cf9vm99bP5m74aFTB+FxGYHMgW3thsU78sf\r\ntD4P3HgLYD8PziX/oO54Uap+WPpbrKZlqNiZq/YagCZmgmp3I28XkArGPVcY\r\noaKKcqEAvWyf51La7JKcbkeJ7IH7CGnQ9PFputLcPv0kXqe0PI0h5BalXdZ6\r\n/xnDsug3E9ovMHhIWI45XPI4afIu4RwLZoy5fUwdo6/0wU22u2CUbSEapPdZ\r\n3MKmLkvPtezFt0aFaUs6kbUA8S67kaRp5Sx/LC+07Vf3Y3EyuW2c9U8pXnbw\r\nTJjTV6zgM+jXBJN4u4HLZ4n3HQgpdTgKgjl++MxaZMTGz0Ku7IUv7fWSrOwt\r\ngHMKGHK1j6aJZJb5xMlBA1JbJke6QtU3yi8TiescFbeZ5NZ6KBT+JL+B+PP6\r\nqyWng45ccjwZolpHKeGOqS5a1NWdcw11+b79QQVHLUcnF0Ng1sV7r/ldxSad\r\nQ8xpEwOx4EX0oXk8mXnp4ebcxOIK59WIJjAL8QwGCr6Kj9aXPCFDRURalcRD\r\nq+XMo05y0GOq8p45LOsQUNM84/krk9Ju7Pr6Cqn/i0C9sF8KrMQqyhuF68h/\r\nXr4kqx6AY+dYg4qLO64TvEgX9t9faa8d6sJEQu78CcS/fLJDSgRSSVOXX4EC\r\nMC6qMJTFHOOjUjxhx6cA59fCxPCIy3BzugA=\r\n=ENBa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+9khDTG58895CUUGr/nY9RA1AuQamnD7hmWeF803aFQIhAKVzMEZjfxJHORa8+Uxlja4nULhf+13whvY3Z/FBdXeA"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.57_1646523298595_0.2420946237832613"},"_hasShrinkwrap":false},"0.7.3-nightly.58":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.58","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.58](https://img.shields.io/badge/version-v0.7.3--nightly.58-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"891d564c74544df85697626ec192131a374fa096","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.58","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-TNeOUN6To3PfY5wb866BWlvYA2/V8MksOPhJ8s97FEh9CVvUTf6xe3uiYJXDetrsu678WGIhaGY2GIz/Ig8Qig==","shasum":"2b94092b65c4f675a74550b424774730a0d7ed9b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.58.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJUU+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpusg/+L/uLPhip3MVAswhWf+RO83NyYtzSPXHH5dGhEhBiYoYXcRF4\r\nTVhZhmaiIp+wezbgAw+Pj5kOKKf1M58GTTTPz96MgLs8qJiK52hpdUU2t4TO\r\nqkmwA0nP/h5CO0g4RQ6W+cjZgEyTYQfglp+xEhMuOAwZIMDSUGxbszA88WKG\r\nUfsne1a3dai79ZuJ96aejleyAIOLCHthLTCP5IFbHykWZaFicLkbEWrk/sWD\r\nNOOr97fc7OUpqp0+RS7r5FTs96rFqq2z8cDEYbkAOprL9awnwTYDfQ7l+TP9\r\n5FksDtucZ+qpkX78r8p/5lfLUr848Y/sduJLCxl/qAFOghUuizl3z21LzlgU\r\nYOGfd94J3/PTyVNao4LU6LnzprSMl0VR5UQtZCkK267DHwH1371sRx1QoOTQ\r\nRG9MnTbeWWJKwwa/yjYaPa8+V0eQ2UVlaUGjPP8Y4h1y8ExkpsBx0vhmRN+N\r\n55fs4Vhv9DZ+wJyM++nRoICGBPrncjKIQm+SKjihkaCDlawM4gXNXUTkM9BX\r\nvzimj0BL1LbAVAEZWvBaV24Qzo1uWW6ohcKPduUCkjAUfGfKHX+1WbkscJf+\r\nVGcdvW5spAmtiDwuJ6VSy8RtbZ52j7obJ85CNCOleZDP/PxaqEbxckNGd3xb\r\n8m/TWS6LOuxvlkq7q/am5fxDUTIpdhYgqWM=\r\n=AWgX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKRTqRZZtdDKw+YeCAH7cvMMEJJTkB/JODcAEap6wxzAiAabhy6R00jxeAuemiRPSPoFSoMV46W47LidsgtaGKszQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.58_1646609726124_0.8638504149243234"},"_hasShrinkwrap":false},"0.7.3-nightly.59":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.59","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.59](https://img.shields.io/badge/version-v0.7.3--nightly.59-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ed79c9984d3b085a44ba9c3a3bb9bfbb1c720a2b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.59","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-PmBMoo7/LUUEJMx5CmbhR3Q7Zqp+2ChmfO1++Gr/+6EF2YcdXUSA0Ji+JRYTTVAJDfQS5djOT0wlHF0N4yJpCQ==","shasum":"5e40c9bbbfeaa7d592c412d56f263294e0c40f18","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.59.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJpbGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYiA//RLcGVFIhGFf5wN/wgCUka6tq3b5mp3O45gog0dQg6AeVyD4O\r\nsf3gJSrEU/JT0Q9JuxLhwCN3EXcL+OFYWbnXTAQEOZOq341TnQ+Vr52zZquo\r\n7v+rSGPM9VjAKL+XCOIG4C1jf0THghJNbB7yxD4gTdIqti3P9nKTBcN//0Ra\r\nb8n9yYumcNrKw8mieFOGCgs59txfo4iJhOm0+/BF+ETi5UF1KifSKQS4DfD/\r\nb482sP5f2Xyn4zEM2rMV8ia6aOFC61jTXCcRwVNwORkqONM6uBZhgPaYw41a\r\n8BVqAagsTfeNMhfmUE5zZNHgC9IjhruEujvAtsni+EA6cPXoVnhr7FfU3ikq\r\nCsOEnSx4229Dwa6XKufChDH4dHZtYuLSMglKaJnacALoKK4ZHtffWDikcm4t\r\n9IzeMLFafkRnNUiBLyAlJDygbmjlM0xifPjSkaqQFuLjWlZpeOW+U6obpovc\r\niOEPeTofs+3qRLsny0ap8qdaew1hKtNnqUF1I+yBy/qOJVFu6z9CJ5s6PTUx\r\ny6HLSPbFsiO9UaSxPBl2vtRnK98uzN74uWt7drrMgdCixZ5MiBVNowlLnlpt\r\n2U31zxwrP4bL0w83JJw5tCZr0gVpkOL+/+alKYMXHenFUK5phbGu/aRRG+gU\r\nd7STXa0NfrGqrFvNu+ATt4t20SuTL3IIgfs=\r\n=IYwk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCACOvobkkpVG9n/Le2tRhMnPiRImBRyq6ziaDAqWKSYAIgBzUaLY7H8rmmkLrl67ci5+OsHVlUYXSEEv/ZeDNhP48="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.59_1646696134545_0.9875885020810979"},"_hasShrinkwrap":false},"0.7.3-nightly.60":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.60","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.60](https://img.shields.io/badge/version-v0.7.3--nightly.60-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2175fe2dc06b228988740daaebb641810741f775","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.60","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-8AQsF3eDowOuHMQPByf7YMkJdfJplM6fUmcyN2QvXCzkAwwU3tWepcHLnwfOHSIzong2u7LY9UQ+1Q5Rr1jfzA==","shasum":"41438a4c926be726e76cb2104c7e49978efa46ad","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.60.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ+hAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7SBAAhc8PA2xhOzqnG5FoVCpZM9jmA0AysJ4aWNa/TooElcJDVVi+\r\nZEURAbBnF7Lwl3lbp/fVEQUqgrNFMc1wTso5gLldLUqUYK+aUh/TvEuOrVkn\r\nkc04Y+gzW6OHDeBZpbOR7qET1LG17Eb86K1VD5yxWagBnKi2Kz+waN8vu05I\r\nevbfgnSIfcPlvI6/YNKRHgkeeg+gqhk50JNC5hbOwfIHsX5XW1xAO1B2H0Ao\r\n4iLPnUNfQMV1RuSlXOoDfeJDSEQhlAkdMtaywVINV0ZNzY4yLFysrKpl2m3w\r\nc87o8qV+EoeppMge61J+CaEjMHvQTOpl60nS1Pmoaq5tOyN/kE6jueUBYaJ6\r\nSHSg+DFfFpLFUWE0XxF55qDjZloDuvcDz1TQI68WWpY1iLXZ0mdyCfvZsWcw\r\ng960P0Z7PjnSLuXpU4EabKU8UOlXSq9fz9M4N+yFrqV/t0On45DXQ41yfDlg\r\nCyyLEpyVb4jwwZNvSGbOLH6UOyBNaA+TkgDeOapeukbHFVURLY33rwaZXf+h\r\nzoymPnYO4s7zNwe6bM4iAaNKjNJSrNdRTXQbv1ada6Xojx1jBxPy8t8lcfGq\r\nf6zZfLTKXHph+cW9w2mT6qtvb6l9UdoAt7ormsswbUDOvqDsH7kQaP1ZBRmf\r\nZQFWuISE8ZP4zYPahvas2169ClLkbq6hvPE=\r\n=XxrQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyGQLJg9TbMccyG6NmEv4EM2trcl2hoUJAl4tZKk/osQIhAMTg4cSxbHbuFXyaxx2DMnXRDIIy1CEGRxD+u/FkNv9/"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.60_1646782528304_0.9453594522961843"},"_hasShrinkwrap":false},"0.7.3-nightly.61":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.61","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.61](https://img.shields.io/badge/version-v0.7.3--nightly.61-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4e2156b357e4492e7927be9375fa0e573e8b56cd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.61","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-/CqTDTan4MsITR0Aq+9so7zYxtaSwvnXLYtftlAQ1xun/Zl9xM4K5OQcUxXtofSNiWdBeLcv4ae4OA3cUFUSPQ==","shasum":"92953bda787dc1b4105f30c86e8915792e3301b7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.61.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKTnFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWNA/+MahSKmlgkbjVCgVu40iUKLAnb4BtRtAdLdgqUyaRtGHr140P\r\nJ7+XdvfEX4BcRbWDp7QnmA3G4AGyFrJRpqxb7m7Xdbkwh62QQsdb0qn2XPzD\r\n/+ud0bgYS0v/VbhDge34oDjyVByEiX8qZJF+J1c15U0MijIRzxBZ2vipJFOM\r\n+Th0GVXvVqORP841bqQlrQo0cZmdqqTeGtzDoM/FN4/p20AUm8fNIO5Tb5Dl\r\nImY0edNajy205DzTDPc0LjWWxRJbikkoyZGsyLXpXmr1SrCqkb1xgvgp0mkG\r\nS9uDsQsqL8+lpz1Dr12LVlzJoIK2cYXIKnDrNSN3O5q0DyQKDZWtC7LNtIlt\r\nUnwDmrAfz6fnqfUgeNjP7w5TtSa1eJMX1fdT3X99ScvxYdmhZaBmiyhWydd0\r\neWRLfY6hfCub6LlQJjWKKmvntFyDd2N9w/neZBnYGaZkDw5BmViAGe97R6bb\r\n68nGjg/btoUmymfLpC3UFy4ArCpUK3t3Q4ZwSNpYSkl5GMVeW4/XF+L938Jx\r\nKnqaj/JNlUmOpaR+q/O3WNNwKRMdQ/MF9l2T51tExywqV8nRwWOk70uXLyvd\r\n3cjXls3Oi0XAQT5wymEcQ7eMbxM7vymxFDs7PSUEKEbNcq9sg/ZFfu0d1EVH\r\nsQ365sGxrg7HL66RGyY6lBU2Ti4pADCG4Uc=\r\n=k8Ru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmRarKntJQlWt//u09E9H0VlOp2ZqWNY/Fa5dpT4WNiwIhAIxQHjxrAoqGxMm/ch6Fk54fLu4ViTrrm+qzsisQgX5S"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.61_1646868933457_0.695424234391679"},"_hasShrinkwrap":false},"0.7.3-nightly.62":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.62","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.62](https://img.shields.io/badge/version-v0.7.3--nightly.62-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e7f4b6e45d48df39314ba2df29fc7674e4f11077","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.62","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-h40HzqifVDp8r/s962PZmM1xZBZY6ygv/2bHGovQXRtaLpr3jtd0fmwKFib6pGrEyShw/CjzdogtL5PZ7waD0Q==","shasum":"32b16061f807e610719190fbc3b41c714b8c1be1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.62.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKotFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBQQ//XhykzTwlcSvvBZ7un2NwVS0sBvUQxtC2cj2gP1iGNdcaXrkk\r\ngJmlieMmx9GcGga/5ajWHWcH5amUTmIgfBk/zcLLsFnHxOnHNTR7C7mS67lQ\r\nRblpH3BlXzuXOiwJogarnuftsUv5ZHIzVWvJjiczictkkAqIqdfYwk1iVEve\r\nwGxRiO2rK+cuAn36QqrP3WokAxBuBLXT7gWWCPjeivxz3pfTVXTbVJYegV3k\r\nYtJVu7A/ZHZP4q2zo8y5JqhZaXgwAaWW4KutvFaz6DHDmgrc8e1OsewHZjH9\r\n9ATuCj3OVCvthCGV9nTYIecYJ92JvuYqsZOhCEfQlBqnNuJzAXQj+/CCGz4U\r\nSFrEt7IR05Gav0mZcDKIl2LgecVGX/mo9/8nx9fAUOZDmvEZduf6k8zNQf5n\r\nbHe7+I1fnJeEDbUFrXMQzKoxFIOFcU8AVqM2YakdixqxVasia19u10jb8GWV\r\n5wNheNn+kcw6pdqU9PtmCpoz1BAyz3+DNrKM31CHHwwai1pzdz9TKhvQINFw\r\n9LMOQ9NKZIypLvAUtXWMHdlKvB2qvSHJNv7+iEXpLOYcJiBEaVEgcLRYzssZ\r\n84pD8sTza+Rc0SyxmzInyrrKW1OvQYZaY/0KylA/P7f+ppUmyTRYvp2c7IlF\r\nK2y91y97N9sB8dt9Oj7iIAwoqg7I1nPw20o=\r\n=Pad4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAhgmLjqdiAfnzfRGKJvMgTdULSUxytrGKHNjgKvvcEQIhAJFBWfkpjD5Vec03FQNBCm7LsUpDgwPbvwdX6BFPoEEz"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.62_1646955333796_0.8989652821755472"},"_hasShrinkwrap":false},"0.7.3-nightly.63":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.63","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.63](https://img.shields.io/badge/version-v0.7.3--nightly.63-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8ac10ad8cdad8a871ac6286ad4fa9eeec103676e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.63","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-CLdfr38O9iAvMREuGZyuJOq6hnGJze4v7kig527ztLmorho8GFj3hnTqdFsMYkGLA8bIlYLYpAr7MTE9LsH6fg==","shasum":"eded539bf0ad2496d8db051927147c0a1d03716c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.63.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK9zJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAgA/9FVi2WtscTid1shT2fRE/no8YY8otYzy2WkDoarRgrqYIHyBV\r\nXnOSDSTBLIUXmZdl13FMXWRTod+CQICpgyPiBWMYrCr3WxfVGO3vO4oo8A3W\r\nolojhthIsabjlPVEqN3DRmN8XaqY/N9c7sPqV6sULxJTCuJU4IMXA3aROESq\r\niVyP/2cTgMfeWe9FsHNjTUEpBFfPsTGHVVkOFGmxkuHrSCZngfi9wbpjueY6\r\nqZ98mDS39K1PJLU6F0PDbmwadzhgHQi5LmcrtfSdw2o/P7UKD5a0xLdmfRwT\r\nDSk3h4K7uwm9JqqaDPXnD1JdKm0oi2PzFfAopt4L9v3R+8z4nwF+pxe10rkJ\r\nqPev/YkOrEgs/TcJVW9kkRxireO0uIm13+KmiyJiuRBTtK5BWIqpk7tbsIL6\r\neDYzb6/H9vY1FjRFjEFqVc1sBQsx1HK2KlFqoShlvwp4IjdsueMW3zsKCv0X\r\nhY1Zun3DAy5Nw6TDtphBvVD0x1qBC+xlAebtjJnG+Q5HMky2RmyiWOr+WtL/\r\nqbbfHZZVbw1wuClKO9o63Ik/AepUMAta/NKEubIWTey2+oPJyJwRMVD0M3jF\r\nfiIup+dNMzD+u2l7/1/+oPC57qZlORwPs2p6YcQL/xQsOxHjoBVMD8coUvQi\r\nbeAHYvE15+SvoDzzY+Wz8KbLEfzNU2Q+UvE=\r\n=u2uZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1UBKXdvhe6qAIlUnTpJdDKOWAUZoBczeOtYgWU3c7CwIhAOsmnOznMlIkPnBS3f7x5aIFwLcI4RBAI6pAKUZwzKrL"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.63_1647041737144_0.5226023448930197"},"_hasShrinkwrap":false},"0.7.3-nightly.64":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.64","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.64](https://img.shields.io/badge/version-v0.7.3--nightly.64-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fc5bd98c1ed4bea6e4b9665e0015d7135ac3018d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.64","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-LpybX+KDKihLnRst61FRjRhdq4149QtAeevMn6YqeUArjJv6KWZJDUM2s7vMV/n0YKA/cclUSgDIHRfmWiaXGw==","shasum":"d2edf7527115133ae96167d6cbd686e68aca7c5f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.64.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLS5PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQgA//a34rFN/sX6bwYjKHKurMg8WiL0cnnUfhSaaB6N+g/2ndm1yx\r\nb8FIfv4qzrOq3aQTdGvKjoltLW958gY1UbwHcnhRbZdXshgON4ttkbgVTJnE\r\nmUsxo/sfiNbSEvdaEnGRBvLsMNGyg/zo7JUDteTrFP/Lx4vsnB3gr5tiitI5\r\nIusCD5OnpN5LcrBVpYOyrBmyoNO7KSAMD+qjai8JFmlU0egqSKvhGDf5de1p\r\nuuOVnz5FPyzjuhUDRlTxglQ++DrqQtYiREnN1MrADsekf5sXtvF9YNrLfxQG\r\nIeihXBYUXnWbii0RJRx65kzOKX/qJZ21mHsUHcRcHKHaSJoPLluleHVhCHPD\r\nfCvNG97BrYAEW6JZFscUynprsGRlFmAMzZayPZSTIs12u/6/3gaTjkthg6Tp\r\nE7ZqTi1ZcC4iGTcus4iwdTzu0A7qBpUgeSRxQSR/2DIgvLatSiUqvEvYY6lJ\r\nTXnacSPR1c1BS1pQcSJhAxADSTDlV+SmunDFU42KCY3v1hycEK9fB4FIcp8J\r\nnyKGm19jKe6SG8GEHgE5cW1x8yzM06nLPzAYpGmwCiwdOF0N6UgjsIXVkRz7\r\nCw7zYqGlLupp8Wfd8ezqdswHLeF4jOtZGnJuK/vsM0Ir3z71zm4zMDQnllqu\r\ndsL1cZL40gF6h8YtuJSbAzLBSe0JTgtBIRM=\r\n=E8br\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZvxKErDI63rrpcYdhEK9Z/lFoKZEHGcPpc961AkhL5wIhAIkX0zsAXbvQ0Es/KUu8cb9zd+0ZS27a8cRnZdqFoO2g"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.64_1647128143766_0.9658733333379939"},"_hasShrinkwrap":false},"0.7.3-nightly.65":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.65","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.65](https://img.shields.io/badge/version-v0.7.3--nightly.65-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5e9b3ed2e2d6ddd19a17bd8a51d60524ee8a1afe","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.65","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-vdyya+Dj8oYBXUY0Aj6lkNpU5IzBR9TJHrgSIhK6Xs3Xo+NtyYe4cn+CXypFW057sP6T1UtytYLXij8bkgF6KA==","shasum":"03afc389aee882302f4c37ff95957e2da693ad8e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.65.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLn/BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphMg/+MIokR3hMZa0Idp9YJyWhiEiqwNz6HUPQ0stNDN9wPSozCTKD\r\nMRNMlZA7LIcJ08b2W6acMmxwLr1Ncuh6B28e0Dx/o8yCKVjGdn2RDbTSnFYK\r\navGJL0XPuDwCC7ECBBMu1FKWomT6rSDMYjzS6qd44JV5YahtldiSy9vLX6m6\r\nUw0kTS5fo8Keo6EFWatG5Ar5WGfPGPQ7KJYxM0LzD4ndpR2FqGuRTLjNepbO\r\nBuI5loHLpGjbForZP8eCHAbVX4joyqiHylIo5+d1TUBDizOJmU9HprjrSy8w\r\n1lyBZbncvfbnfSMSIKToLF6CKR54D5FcEkNkRbCehUjy374c7IedKJ3VAZAM\r\n6+4izUpmvPhFlLVxTKaG4FeYYoPKH6MEBqAvq20R8yecBHpYuKgNKj3wqAnI\r\nafttMywGiGnToWhPHbbuQ6ClpuINOFeAW5sqsvAuhPA1AN4o63bgBjVRZHdy\r\nLpqW9LBUoOQDlZCfiW3Kba+vUdSaBR83voT7BywhHLHmqDIuBfAOmMaOaO1X\r\nJSnBIXhgTeWV8DNOJOLsyPTtOimMzjSrWGEa/IPBhB2ToCEPDng2xGg3qEsA\r\nz2ljWxRU3cwi+MLmQDLpAP//OMnDzHWY/9hv6pYdY9HqlTY7ASbgBLezh4tv\r\nhJ8u4muDtO7FMGl1RWTkxmnITIYiY91DUs8=\r\n=8K9U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDToXHqWRH+IoG96bsPa/gFBpCYuXxU4ZOvCQQrJlrhAIhAICVRSvFqQbEOi/KGZBAWU532wYALhkFDP7Dg/PulvB+"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.65_1647214529022_0.551934400445089"},"_hasShrinkwrap":false},"0.7.3-nightly.66":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.66","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.66](https://img.shields.io/badge/version-v0.7.3--nightly.66-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fd40476d5f88dfe0ba1cab0705b57d0d5190b1bb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.66","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-dw7xh0pCb1GKoM/q72mcA5B9ZaKZ8jtV3N98dwIYqssmE03BSXdQeEiHv18Jn3txwyeL3DuObMZfFJUky9gy/A==","shasum":"4b11e0521387850a9ed041908aa4e72170d24f7c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.66.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL9FTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHtQ/9FGSdfyWMyrgsZY0TD2ggKS5tiHFnYmpplwO/2ZbAts94g22+\r\nUlg5doZNmNoJ3hqgw6OW+t/H5oZJ9RMc1884uc/XXu9N7oAzysdYR6BX5Q7x\r\nNYXtujUqF9CsBsbKZh+htNAD0CQkla3ZWD/IEcfSkgXJJZnDSIEymYrRaWmv\r\ngoAX6pjNWIg8VPKI4LKXYsemoWQC3j1IRVMPLKSisdANoS7nmuVXL163ri5s\r\nxagpgC8OPitOSoHwDVCQ6PlRNgIpPe+R3pbQvbb+N/hLQK2s7nZLLjvGdvPB\r\n/nXmEzxj/79+HiN9JeO97qsnHs1+OTJedtkeXJ6ffVy3FAel+7trX3n6Qsmr\r\nGxEh3e7WxxcZT0OXxEiA7RVvn7E2qV8O6FFu/bYMJPiagawqns/FErcCj6QS\r\n+XTHfvCw5Iq2IUKLc4Q3RumJh58zaBdvWgnhkecW5/1gWmoHUymDTcYidhdy\r\n5vCLtqDe8C0vKy0ljLIctEX0fHobF3LxLiS5uAh4zO9jeQJycY5gpTUsf9hn\r\nqFML2pDqLh3dFNSuxoESvBUP4sgt7LEgzqLs9ERi5bOPcbWoQ902/zM1h/2A\r\nb+0AVDK2/zEWDnvBfg6l65JpIanmfiydWCxS0bqp4hFyS9tFnRed1ZEIWKJX\r\nWwJmxXuyvUFgIGzMFovG/xsZ6YaaIddWr50=\r\n=l1VS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqofiQHm/9Q2T51rriUwnOIsUaLykXDabRe0EB5VF9UAiAF6CrSWgxM/1Ans4Cw2fDc6eRkbEBtrTCIILusBbBWJg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.66_1647300947484_0.3408456432357472"},"_hasShrinkwrap":false},"0.7.3-nightly.67":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.67","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.67](https://img.shields.io/badge/version-v0.7.3--nightly.67-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"caa25c897e49c7f5668bbbea95a48b35c1345c13","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.67","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-XJ7eEDjTGwtfqm4lOaT9gnjlq1Huri0T/RRPDGuu4z17Qbc12K4VrFvYujOOnOu1rXFiMpaLyU5IIECy01/LKA==","shasum":"9e7f15d578a6a3ed3dde1746609538c0c563f87e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.67.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMSLAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrv+BAAmTsF939RqdYtQCOTsHj9m6f9F4Uf3w01AWbHzjAxs+bnKo9d\r\n+d4e8rIj/+zoSo7k4f4+Z22pbKjI2fhdJh1+/EZ4/MnZw3K3hde5XDhQ5Lzq\r\npHR9RYWwpX7M+xW/8pRoHYpuIvLNyFTWi1unWrwyCoOaPlCAST/wEhPJwlOA\r\nywOeKpj5V4zOA5X1epOiyNPF9noVwjLKEz3CRRIEyA2B6h7MqndexlVH9nS5\r\n+nMruO+mF6s+jnZTwRTURRjcRe+dNawq5P+nbf68hh9LU9eb38Zes4wPdxez\r\nQyl84bc0u9nZG6uG63mxyvBzb2JvIt6HUQGMSpZyBMTCiTTU4pKKDuFdK2c8\r\neQNZUFnYkasnDIub6V5FiP6R3sAp2/As9U9xiTTyvULVlDRfcVuzPCO5GZ/b\r\nALTvKRBbw1yMfty9Xu/40k39ARKq6M79Xs2XcGeR7NBVCupzrTdXusDj04sH\r\nr/sC/Q91TgiCSuoxB0GAAk0acMZy+iewIiWoUEV0YP05wrf/Hs1Bf4EzUtlg\r\nUeXGQBROfqgtZ/BczTh00jC92rd614oz/KiENNi8gHlA243Tbzuu+ZSP44kG\r\nYfq+77jAVet+onQ415nYZpOgb/BHMo4quNYryZgboKW+HwW1uqf78mbQgOWG\r\nsXZV/jdruwwFnkHKDLPHjsG7KsKTopcTd50=\r\n=oEpx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGugmoKWq/5XQ+peFB3iS9vL/T40dlFHuaknnV1VMOkkAiB12UIxtOnQeCZCzC2DYLgfTssj0R7NJpAB4U+USjdISQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.67_1647387328738_0.4129202635360505"},"_hasShrinkwrap":false},"0.7.3-nightly.68":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.68","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.68](https://img.shields.io/badge/version-v0.7.3--nightly.68-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"478b31f75772c52cf535c0925faeb59192233ea6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.68","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-CV/0NnLp8ImcrbmFyCantxZ82f245D21jXehe2VYkx6DscFhioK3Fn/wc0uVtqFlpF7E4besYvHcjP2gEAFstw==","shasum":"634d13945f7a6a889d4d6b359b431ce9fffd7c72","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.68.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMnRBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqshg//bmThQDYTj9K4hPabIBYy5oDAgm8mZPQRSGNBbWsC4PPpuBIu\r\ngjwYSjQd8qhohYQb96079gAIJjXOsPpV8mWF2HB6rVYCqYDx9sJ3oSCSsf13\r\nsv/cVF9L3n6+hRA4JD9dTfQlmCUEYt1BWqHxgNFhyVAH4SUYKnH2IA0XWz0a\r\n/Mr+6EGn6ZHwqVz8gtbUGpBsxsp5WZuUQnPvM3fPE+xYF0piSgOy8O1xkcJA\r\nh5Xlil9mKCAJkN6MWIF/hQ8vl5IVS1dOsi5OGIX6+IW/8CajuBR9vZwqB2ur\r\nl1dB84pfgEBPx4RFYUTWaKtjXS4EBCbKlH8CSp8y3OGAVYQA/Ik9RU1l4zOO\r\nwjKd+Ko3MOw3mOnUBpdImTRV0c9bQu5sHsBoBzcyDu9Q8RunA9UkoCYDBems\r\nLzgyETY4o6FLzskI8vhug4hK4dFJPJIdkh6vA6n+bu0C1ReYNUvtrkIFD3f4\r\nfFBJPKp7hsKOQyyoNisUdpcghqueeFanfE2WVq6uc2h2HK2mHXMnQ66KHHSw\r\nV6CvUUPu4hFZmhGL5K5ULu8YAD3TmKwJnJLKJtUQHX4gXqqoPgWYqAANrbv4\r\ndpAPDPjGYa8//JGUCMKT1njhuuFCWLbxANzMhwHyPlE0yolwU9HXYrjtaY0i\r\ne77Sjwu9JEzdYHDeOV9tykfeyIP5RN7JWf4=\r\n=0Oh4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5VHydfyLZIYi+qWkvtoNLIA0VxUIRC8DGZHTVqfvnvAiBMBf34qfzdWy10HbpmnbStRS781pm9+5fpCQEVDsq+Mg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.68_1647473728497_0.24981499597513568"},"_hasShrinkwrap":false},"0.7.3-nightly.69":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.69","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.69](https://img.shields.io/badge/version-v0.7.3--nightly.69-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8f95e688f3ed6ebe43613fcfd7a547d4f21ea495","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.69","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-j0MEr7J+fS6i3SmXGaXcndiLpnWh5v1CPh3aAVb+bKh4JWo+byfjgs2x+Mi0tUfXBNmDEAQOqLTEfdR/DQ4rxQ==","shasum":"689154ed495b6ec2b7c216fcf3832a16e20be863","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.69.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM8W8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3YRAAoq5mKasznuPkukRDnqHJKgNA30/BTa3RLY1PIixFHv5QlJHM\r\nXaGl1HwJ4x/tzxXHfW6o4/iDDw+g16bzFuwhnh/v7O4HCwRxI0TLmPqQyYFv\r\njpSnUoBvPGGT7CbFETXSh9Mazj2xlL/DaQAOAnIb4wnm3TgZm7K0qEJekEuJ\r\nLHrqtqdwt9jLS5Z/Ez1b8RCMWUXnc2bVzxLFKCkIvVwj5Vd3h8wKM3MqtOa1\r\nPSvEisuRVeTok3M9QVJg3mMvWn9W6+W141qstaV7ex18hRHvJk124D/3kavW\r\n42r4RjftSJk+EsuVzXTvUFNW8zTrwLPxTM6XcuOLKDB0yXl0N1ZI39UQUX60\r\nbpOg6GtcPIY8/ZXGOZQz1q+ioIpL7If8LWtWyARwmktJELoj5m+r3fdye5RR\r\nUA8DignUGDyA/SPAqn2y++zQONyQCaXRC6h6IQHEmZeVkYqQ9lR2ToLjkoZO\r\n7c58UJPe1gh22/9f7IJnsc4n5G1eBt0HkepiYR+pfmcKZA3OU6iAZAdqyRsD\r\ndO7GXjaNMN8XjBqQZsQWIVhsgNETO2O6r9268T6MFMoES9Z9e2vyZNtgZPcW\r\n4IdxQaZhWAwRKPYvbfEOjqKCzv693nnCm4Bia9O1HjQq2EpRam3F+e26kC1k\r\nlyVQNinePVm7Vq/lO0dy3lPxCM84HdIbjVg=\r\n=76ml\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3Ln0qLzbq7q4IKUHu2tBDck6VTaw94v8XNzMJWd1nlAiEA13l96pkorZ6WtNNEQpykMbS2+vpMBg6RNJ5uh2636uo="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.69_1647560124469_0.6862411799682502"},"_hasShrinkwrap":false},"0.7.3-nightly.70":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.70","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.70](https://img.shields.io/badge/version-v0.7.3--nightly.70-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dc4f1f84e47d250b78796b9260924f89683edeef","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.70","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-2ArATo4psk4Z+7mUmm0gRi8zPftid5GOGqjDbxOpAzXltmyG0TXIlgLxZ0Edfa90x553xz4AVYpXfdt+KNNw0A==","shasum":"7ac91c2357263753363c11b8fd19aab9c8e8707f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.70.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNRdLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpthxAAhUg+hNAiK3Eqigprav+SZitF0OiaDy2W9lXp9D2/IWgQGm8m\r\nZbH65FStmcb/WzcIY4PApnIijAryM/r4hwDPImuvbrDLUKcB4+ps/54gPG9Z\r\nxROueeoT+F6ty/ieQ1Fx1RSPCWuqzYB9ICEsyIyFE+8x4s/NXnrxFDC/B8LB\r\nsMIsTmFTS55TdaXPC2ZJs3Y4OERXJPQeIDnb21RJdCpj1nD3FQ5bI/c/V7Rk\r\nJ/k9Ah+gjsvns2JE+HaRnQ1c8hERSzODIuQHmHehhbEfxwjYjR9oKb8CPwOu\r\nHkvHAKsD0dh4lTQoeluOiT8ied0jFEZPNu55+RQqIRws+/ZjK0/Fx+rxPWRL\r\n4zKZ4W5hR0yCwnDV5xcn+XYYn2KZVtxFwbhFGsQ8n1LsbAVHilQeFcEePeyb\r\nzXFUO6lV44PBMPQXpYPo1lm//4Wxhc4KAedC7EPkTZv0aZSy5HwKlHq1q9EC\r\nn2fhgoWb9X7+xV0Ug4ViCbjUVJDZ+REbTe1q0TlNksfoEKRem8MiP60NnIql\r\nqIq03CQuOBPZM1+7MdIZVrAktfMdIlHLUiMvtKfOWxXeiHRJmw2MpRrQIgUk\r\n1J5wMJjNzuHXApr/hxd3H9uX0xwmT9SkeQU2RzUO7jpizTHgNTtBEzGD0ITU\r\nv898hYp1pU1KAT23cBOE0fHUyR6y9M4zXQE=\r\n=iaBS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHr+HAUZ/cMa4gXLlRU0MuunQK/zIEVAw7Lclwh3OENXAiBOJRuA9ZPwB0MuiPwonX+6IlxxH/LXVRg4Oyak1g3lKA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.70_1647646539319_0.8678593672139943"},"_hasShrinkwrap":false},"0.7.3-nightly.71":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.71","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.71](https://img.shields.io/badge/version-v0.7.3--nightly.71-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"048dc0b4b08670d8da728f41e2fcda47da9a7691","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.71","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-fP6HhcfkO42/0/z2zZPbLFUKIelIqHyx3HOkczJSpoop4SIyDpb8J+kCAcZdnVKgLzr0ACuCB6BONpYOTC5kBw==","shasum":"adb9073e8276625ae8cf1093f6b86019c83c3966","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.71.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNmi9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNBA/+K4ZGHQmBEurcLhpztWAHbdGoQOdF/dqMc4N/w5NzCvNLzNk8\r\nNURWchhaHjs6XGUP9NSxJOC1zALWilwWQh3R52T/M6z2CCHr2q3fO1v8cSQT\r\noAZUQLdrhyY3w68trOlAeB5YM3lvlRuAllhi+CBTCMcv4WElrx6U3PZ36zjj\r\nBj8sMKEZhKrrX9VxBT/8QOt/dYgDh5IINqqLDvJuYunYbW2ouqlUt01a3d0P\r\nTUcFDDGzPKYvQ3SmYTirNRhOOHAcEhdhAu1cNZo8FTZTkytfXvVGUI2w0262\r\naDiMkZzK8eLzjIZ5mHTqNH+4R0I3rE2tRgD8r02ApQNpI2msc2BTjxvDINVR\r\nRr3bxeOlRFzwfN0nIldwrLILJ3M/Aa69SVDGmHIxsibidqDj4m7vuE72WzWE\r\n23s8wl6iYkL3Oa4SO/G2RrNhORktAnygyYA7vqWP+9GDXwCxlODoy9UlB7dX\r\ngb5i99V4S74O45vfzJklxdbxhwjn9jEMWEVrNQhcjoQZwsmfLwtIHImfZsqo\r\nI0aBT2HCFL23quTFbUEoXdIKYRGn2a+dWK6PipGvezaO9aBSo0B7zFVeEf/6\r\nQNsIKW+zFwQZ8IzSUp6fGWjOiTYYLNxZLi6YnSAwPdKYY4wL0DEiyF+oTJwO\r\nPJFLW9QFwu7PEihFDmWEQiFgl2568BbmSQw=\r\n=a80D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc6MtVJZdrWS09MqbVPvdtJFiHBxpVtkBHnKK96oqZUwIgDkwHN8IPW/bgzYQfH1VVkNXD9NvmU5a/N7UparvCWI8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.71_1647732925253_0.505949130784715"},"_hasShrinkwrap":false},"0.7.3-nightly.72":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.72","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.72](https://img.shields.io/badge/version-v0.7.3--nightly.72-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9b0aa06daa1f5290312b02983eda53087b6627ee","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.72","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-X9Pcldtj2aGjzM4g1OgMKkpfodFZ1lwC+t2FsUQRy5lv3DocuyH5XXwa5HeGQOF6jbSplLD6tfeZOk1U//r4wA==","shasum":"3659cea3f72c37ad69f1be8fe64d0fd1b95ba3b4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.72.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiN7o2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqiwBAAgILsAsxYkvPxHuzYA0gatnlnlhaGUKjnUWF845MNwcLFXnjt\r\njheXXDflwWIR9LFL5y9n2MqwrBygCLSsg6ahfXJO/6L4BbG0lojgfV6NrD1e\r\ni1tV/QHBo7CjjwzifjstUfjG3NaCKrSfFsiJOFEK1kegbIbGmeGFquNJ5PCm\r\nsHEKyYNCGGp8UoIgRHgD36t8evWJ3EqObS48T5OshTqJUvQ9IZ7L9m43hM1N\r\nHFRgopxRHFwqjilTv52p//6X+MMvIE1icrJsuotZUFoEnd7/SSe+y2taoUDT\r\nzya7wOFZvwPWTgOYuG1W7Irp6FmDbauAHemsdOe+RqXllVudnQPwE5t/OR/+\r\nAlc37xyggbSYi7G1Lq5JGW9J1Wz4y5CyfEiGh69z2E3Pc/nAiZGtqgJGYPgv\r\nzjnJaGMn2POQhTY2QqhFrwvO44nYaum1zfjuepp+LTKzlodVggqBbnq/v11N\r\nqLlJ0kFdznTNiQwrekGLWUCMO50HhqtsDKJqrPm7vK2Led766Wgvm5XWMEVm\r\nb8427BH+IgBhK6qBeJZG7hyomPmkpZ/P6kfvAtzLQQ4GHZzf65EvzKvqQCI4\r\ncNxeb9GU8QGu3Yu3dkcMB+6H+ob63yx4dHcu2ZMmaZycaabtUe9DPpzaZnIx\r\nQ6zfW1Yk7FyblWCdQLApRgI+QylY7e+XXo0=\r\n=UzQ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6z/KmlBD/ZZuNvlAmE1Lly0POhcbDcIIvCiWG61hkKgIhAP56ixyq18wgFfzmEvIH81BdSKw+8ZJrUvZZHMg95IZY"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.72_1647819318236_0.6569925452547449"},"_hasShrinkwrap":false},"0.7.3-nightly.73":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.73","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.73](https://img.shields.io/badge/version-v0.7.3--nightly.73-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"66fd7f28ea5bf4a781c1bc41d44790e35edac6bd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.73","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-3pOYFMls7IgVIpISzTZe2YxjaEEkWboubJsbBH+S8Ms8N/yBadFvt8DGtNq7CyUr6FbW8lsM+l7+3mmyxn5jJQ==","shasum":"32cb680a4ad4bda9608ae9c38b72aa7ef489a71f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.73.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOQvMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodBA/9F8tzSsJpONOgdhr4k0QHCiZ16vCxb5I+iLhvBaagFUTd5cYN\r\ns3J1XFgL26gPvM4OjWjbuRuPR8b74DINP0j8rjzCntRPWcJ5TfXWxIGqHq8b\r\nQBzFv0hBS1SHy86av+juDKrJj5uN24uEzeQ+PaeLYgdtOCSWZib6qROGOQ8L\r\nurGtD0cSkBbsA6SKTAB3XTCrLaKB7Achm1CyutDau+faYG38a9zbp762i1Qi\r\n0FPWlD8jNRJeb/MT7QbtxhQyKhHf8P/gNvqQrH9RrSfUYdpShyy6I34Chi8D\r\nhkeNF7aBPPVWdyh9e0tZq2FWm+wJsyMH6FF2iGzttid3S/tLri+8Ob0+fvua\r\nxaBovV06222ePMRQJ+kOjcYmFqvHYA8sfgNMNbZnaNjHFaBbjnR4FeseAIrE\r\nja2Y9RgL0nREEX3niLisBNOF4xS5aKIVvXoozEYs31BSiMhJQnWCP4WFmVJn\r\nSFViVqlHJroW2aeRkM/U4w165Tg0zhkMccKHH4Oubg30I90S7NDg5nQH2DlK\r\nI52VYtw5Elv4wjfKnSWa6V+6niZ0ED8qrhmkkXy7fGCxLi4V0m8vWE/W9MaC\r\n7znSkcfBITZ9fs/1QqvqVMyt4Ja1l2BfF3LluKO/8dpFB/yGY2barnU+hHcZ\r\nQcs53DJM6Y4aeu7+k3bM3rNlryKQLPJnq/g=\r\n=4xmv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt1Zfr5iYdepp53OKFUk5Hp5WeBfNj+M1Xvb87Z7/9dQIgdke4G8i01ox4KfGeZAK+Ctyg7hiyZXVNSZ5HIJ5D0us="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.73_1647905740570_0.7769578885631077"},"_hasShrinkwrap":false},"0.7.3-nightly.74":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.74","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.74](https://img.shields.io/badge/version-v0.7.3--nightly.74-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2275cc5b3ae2715926d16b7282c77936357032e8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.74","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-BLOVzn4cWBbHxaQVt6EY3EgcCfgWUJxlmiK5CYpTaagGNyxBZETRZiRQOFbN0vVaR72+cFCV3gEgwPuKvvkJQA==","shasum":"12f77945dab4a2d84b2fdce544b9b561d9a581f0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.74.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOl1SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNTA//cX5OTaP709Mbr7JYH2of3eKYzLOYfnj7AlDIqLIXxcGuS95K\r\ninPfik6TizqjAifDibePfHxDOTMKAqoFt87TW8CL/M1Z6OIukyccbEtfrvyB\r\niL8ajfVV0NSkPvTD65D55kn3xSUJ9BRF6ShxWEqLxmef2AYuNyExq+u9O9Qt\r\nQ6+B7QuJ073yplJC44XOndPLReLdrLs8jf8oRvO5bMXLRI4VGfUnDcvZoWvz\r\nOqTJJXUjZkUc6q9wBD6svvK3+KtMmNLQFYqa7kyaXLL00pGBsKtsbL7H6v2G\r\neTFhK9ffC5ElmxTag+8K2gkjjXP9M5wcZKfSyGQlNKIKuKbz5jJQKahz7SNR\r\nt38GlrO8wFDcNpfr0/G2X+f21TGFcewfTerpOHzOif3RYbxDZsqsSalhK2DG\r\nhsv2EwJDtuBAakvXZQoghSIaxSPjoMr2tyHeOZFyKYJzLubYCUHjLPKPcjZp\r\n2Pv5mMbVrFK0AddUqB2yZILGkr7qxgN8QLAC/mRG+xQHkmMhdAuyUqmpzEfH\r\n0SGbuJ/zJ+VPkDCUsd0DfeS1T5LpF4oJOakV4045fmQDQHZJE20mYMQjP3NP\r\nn0nD0kOKyGvZovREYdRIut+FbsAxU5y2dgerCO4zUGGIek1xwNhyalT8vshV\r\nDqM1yA46+T4hEUeK1L4eAPttfWCPTqM3dbc=\r\n=asiQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYZvQxatrYJnkxXmiS8WD4pXk5fqSwYZ+GkYUn4s8bQAiEA5VbvN3ncxGjZIuZOQhEYTiasQZ/C1tiRcWYGM9UN5I4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.74_1647992146558_0.7425196368328053"},"_hasShrinkwrap":false},"0.7.3-nightly.75":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.75","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.75](https://img.shields.io/badge/version-v0.7.3--nightly.75-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"50dc33de91ea2182bfebd2e78d769fa3fcb5b4c6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.75","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-aJyJDkMFS19PTCOkkB5y4he03UkBwdno3y2lcwfqXgPMOhTJ+/fc+bjDAaqjWf092bvWgWn6cpdZOwt3QhHMdg==","shasum":"975825093474ed73fa7e0671a9d903706fac3057","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.75.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO67CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrr9A//e1OD6c8s5wH80+/WzahVtocsafxqSOdP+45uyJqcfpusUCTS\r\nxdLR0Kw/+AJCvvThzBoffzIG5NfmkFK8PtePZnLvzpEnhZC+b9oelRZ5RJ8l\r\nt18RUZ8mbZ8SAIznPm1/FxHpFgXfV3bnNdqKS1kvWIKJeM0gqi158NsdmANh\r\njDZu65gT8HviTIYK+u1H2Wl1g9d51x3qXW3e2+GNjNhEnC/yzLxubeHu+WvR\r\n8aAfxcwXgl0zaJxg9D6yqBsVuQl+KnN0M05rOjJTazyfLdcjHY7gJxkfXPv5\r\ntqgmO8emDI2EoGAoS4rWh+Eseu59f6cNznIS9rAe2a5esJzTqDd2ywgNp2Zz\r\nc/jldOIX18RXh2Ku+lGxIRbeNQknbDLcYKFbr8z+bKIE2SYZ4hlQFcanaBaP\r\nG+NEBnYxj9W3Vva+HwNBkuIt6kymt2WYB0FXBOq0lN4w+tbgLDDHNCMwtt6J\r\nSR2JaQd+PVqhC6o3AMHevSsLVqA5LLvbnAhqm3ZbNJQvFIGig7uRCNH25tup\r\n2ULYnBDwFkEkE9+V3IBeo3TTvB/Zi54qLOhuWBRDIWH88WYrX+omHWOSiyE2\r\nIIJYo9J5ecpGf7gNhSy+XLCAetPkybDylXSS/OWTjmzYAyLiuqo4kTT+KLDc\r\n/U3NuIOBMv18N/nZYKbqaYFIRwgXhMAYl08=\r\n=FnIp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpxHUa6NY2bSfzKxWRMBDwebBncs0cAIdea5jN1rziPAiBd1HplV60BqvQoQsxE4Dj8SA+ogRY1vFeG/guKOyBpsg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.75_1648078530086_0.7475177489436902"},"_hasShrinkwrap":false},"0.7.3-nightly.76":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.76","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.76](https://img.shields.io/badge/version-v0.7.3--nightly.76-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e163c82707a28d68b89e9484891cc9c338db387d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.76","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-SqmuCVM/A6OhVbCb2+TlYBmjoZ+q2g4jfn0U/IRzo2Yqv2bTL4wJ36Z8pImK8+V76lbmRbMAdM/XWk/m4oZ1Fw==","shasum":"fb18a68c8a39eb00ceb778a31700d90e0466fe58","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.76.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPQBZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHPw/+LQgqx0IMPaf2vyuFvf7aUvQQBUI6xAiwW4f/jeoGfV/T+5Ag\r\nTDXQmn4e9wFnSbW+fTe9Tp0apTMXYEl4bWwUPRCA/y13+6CL3M8pyH+RK/6w\r\nxyqxKbEO21cnhZRrgJF0159cvjLif3MlZtWerrHnjyo0jAeX5mvbrN72G9/m\r\nrFvvxExFt9TzxJCID5MK7I+nThe8726U3zqnvtAz87OKdD5lQldU+w3eOVZY\r\nd4x32bEqIjwjdD3O01UtVhiHLwocyr0CvpO55ovBa5NujVwya/IEkjPTx1HR\r\nZx9z1vpf7D1A5Y/73bnSY7rMc/o2OODJUEgX8SF+i0mmWWB99sYyYYEH6urk\r\nWxvRtpA+/8R0+vGTcePD8hTU56A+WrUdQUG1uY8Pq9L09do1piG6hL60J2w2\r\naXWfvREzz2Sj3sBBZWaJS7p2KieIc2LVofV3IuZy9BC3gPoa8pWhwoMwevAC\r\nDRVZYBBdhxZVZ+M3PEWTofptZU8KEmcvylYQdk5L476xeImvUDY+V/9k3R5q\r\ntex+Gf1+163Ts82477h/qTkGT7UPqXP2v/sKSH6+XM3UxtW07wA/tAEzg2AH\r\n5O69LmZmbzRt5PGpB+ed1VMUl+etfTY03UBpTX7XjEpi5sH70V2ZGCIIVIzJ\r\n6gsAk+afkS7kBqkaidmLVzT/WrUti+Lz+4c=\r\n=Ornl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxU4kiwoNjqlRsV7tL8VR3HO7ww943RYF2NFgO8T8kxAIhAIs+fUDSmSuN5hEA/WcJYU+SKL1470VlXQPuun2+ZF8Q"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.76_1648164953806_0.9798982811958579"},"_hasShrinkwrap":false},"0.7.3-nightly.77":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.77","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.77](https://img.shields.io/badge/version-v0.7.3--nightly.77-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cd059ee80c9af328342698a1a3af992a79c2f71d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.77","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-VSokCtuh/tW4kNYrER5T/9SJUAJ7SRYlP+odn0gD58AHJoArYuho5pb5rlKOvWldRevBBtIjq2s8Bq8A/4jJkg==","shasum":"144856dc564fa9870bcf7ae0f9c1413122a7759e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.77.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPlHYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvWw/+OpZROVXnLzYUuzyThj5ISzZD7+fspqKwh4zvGj4gjRy/kcRC\r\nUv4Rlcil4MhvTZfVpw36sywy1/qIeJvk3njVSd5U4t/sBjZgztjfivJl9Uc1\r\nEj5iudmkOOb31+Ish9xxWdQMLOa5Z5Ek3d4S2fkbNrdC1bapHsY39WEjFsbv\r\noS5MuT5a2uk/DP4e2ECvuj/6Ia21PC9GQlYA99W5QZVVWNK3WQe6C9Qd73xb\r\nSqy0ytfDp83EiiECYlmHQWYwjVZBlUzDu6/vHtF4IMoW40bXkbI2VPloG8Yp\r\nir6TWnX0MzUKSvIUXwOVgWFHutOAkbVlx56S+LLlCnG4tJvxmAchoDQewMUG\r\nnKFUBLWbJOy2XdIC9D353mqI9RuxFJgCDRcg6/DJ9seUhkWL8aluoEqGeXS+\r\nnLRKCA1p34UcwA5x2tzLwuBETGhBWBs9Xn/MpC4ELOJa+k8JYXbqBgyQcKOY\r\n/LbuDi+6Sqw04l5G3YmwoKhI/1QrqjrHMkvGVV2x8EkgJMaIdZK1kebwbU7W\r\nqIlGqhq8xg32nK2AARNA8ntMbQzhc87qrIoE19jjpgjdOYHXU/S1bUuFeP7Q\r\nMnBxYYvfX5sXRICNCqdNEQ/unBSSdGb/LLKOk/mJlbIfwqzMhDXGPOBPmQja\r\ncLvN8TJxHTdT45B4KEfVOr1xK0Da+gbF7co=\r\n=7gAV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVnr4IS+YLoEcdNPPx2h1zlwTAPImphvsImtEmGvCCCAiAN28CantGo7VxSuaG/PhPsiruIsoCGl4jurQctUrSU1g=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.77_1648251352550_0.8828373793086846"},"_hasShrinkwrap":false},"0.7.3-nightly.78":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.78","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.78](https://img.shields.io/badge/version-v0.7.3--nightly.78-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3dee84b719a35ceb05005cf469c848c2815d4e03","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.78","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-JmTQ4strCuRJOtUFnYFw5cz65/6WTXtjM3Ck2FeUlsxXeLFZiWkrrs++YVuRQBdVcuJYQJyujhutOFZ9acz4NQ==","shasum":"b5b4b77e24a0d7f90161e6e15349943852653faa","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.78.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiP6MwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+6A/+LocPxdi0/D9WDcneqwv2x9yKq8uoHi9m+LVWCtox09yObKnd\r\nWWMvlJMIlELMyWa/12JuHmHwnr707r/19bQAIvqGtBYV8h0c+wAtJn7Oksst\r\nOgSEomJKn+/3kzktUujQPWyvuZG9IDqougPaYm1N12Mc8TGq90UutgbrLGqD\r\nVNHqtzVXWT5S8Ba/Q6KY31TM9xsV7pVZOZQCKDD2cQ0wDxdHAeSsi7NTBDir\r\ndCdD9kHw1q1mHDP3dpmbDrw1zWDRE4gEC25qzTAII9XdqKFKzRYAoPaHSXsZ\r\nSKs5wuLBOrISZC6RiDJYfamwQ1go2iTaYSoTNlG9OdQpfH8ptikUXfFLhlb2\r\nTqIa8r23xPmRpL5yRMhgF/AfQjSzeqPQ1+STMHxzf8KGSVVOSR1GiAuwNEI0\r\nKJY8igFpotPViAv5BD45oeuRMhfqT0EZn2AUC9GPCIvzsvUu77vAO4bC1Kwf\r\nDEt25WS/ZbVUBVF17dIfHB8v9Ee9tB0CJUa7AjUO/fyxc0Rm8HbE3a0fUDwQ\r\n1AhvqZCS5Ruzg4GDAvQrgiC17td6amB1B/uRjw+TgGqLwjn9xoiKjXumveOm\r\nO3SfIpIdmt8fDl/17ZK15XIDr9tQhPv7VuCQ/PwJOaPip0cbkoWqeAJQyKb/\r\nHdX0nxr3SXNPEKp193TcLO2jfaJZfn05yDI=\r\n=k+ZS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGmOgmxpKsI5yKq0y2bx+G9XzxiJVlt0F+2AZBwEZgW4AiEAtkjeXpur45YU6EcQbkahTJQAEWR3fyDEwK/YEDMf4sU="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.78_1648337712339_0.5760632192402428"},"_hasShrinkwrap":false},"0.7.3-nightly.79":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.79","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.79](https://img.shields.io/badge/version-v0.7.3--nightly.79-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"26a4e203f74b0dff2dcde68ea37515b82362be39","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.79","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-TdPYbNTWPJCZDVoKP3GID/wgOtjebwokAtd4C3DxDzr5nAx2sTkt4iQYbx7uAqX7NoDJrqYH9smaf2NSRWNqFA==","shasum":"2d8fa814c7309bf25d54e3c7334d743dedc37cb0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.79.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQPTRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWdhAAiyEARabKOba8eVi7kU/h2TNcpFWRDyk6n4MPFn/qwR0SJEYT\r\n+4w7BaGI/oIExEo2lCjSjPoNBuHBBZQ07ch5RvF9WL82256kJj1QIPun7AO8\r\nDULF3msipEjo3TtRiAAIAWF+Cw8rDLAozPOhqgXI1SMyMDt/HVdgwP025x1r\r\njoMff5nn/VFFNERafKv7nvKBt+EGvXTe+2Zx7r3AES3E3nwx5oRWDRXU1QB3\r\nsGe7IP7P2wRvdBVMpT9EUspYzCUXfX/WC52uoZ5ojw/Bu3V4nb7D+UXnvaVW\r\nAGnGWl12yHljNMuoDNfsEwCdu1v8Lhq82OsgNTxqlEVOzy7aX/18xpte0O/L\r\n3fm5CrvHPEFjT7KW/k+wWXczz6DbXS87DvirezgIl0dbs3VIzbEQRn0URvWZ\r\np2FYwJ4LkHkYbxHEAh4fLxpkkT7vB4v9TuXxaNbZtABCo08Bu0cPrBz/m1Xq\r\n50VPMdcFd6UgI19SuJShnfCx0V5tjI7neLBDW2XguGODGuQmP+Z948vmEjI6\r\njLwvJ3LNb0ZlMN7j8fAd1+yOpNLMs5RWsNiKCoRtFMMf8gAc6+eNhtq6gA6r\r\nMmNND0o33cetuImyhsLXt/+2qwer8Eryvo+3JrrDlA6PWDUk3VQ9T2lz/WKJ\r\niznmJlVM/QX9Lop8YBQYo+AIdQ5+FYdyHrw=\r\n=cVOQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIqHsBDq/+8JRJRD7jjA86Dexc2DJJV6/RciILXMCxMAiB/3BlrfXasgqSbZlawBFla9L1Gv0QXe6IRBGY4gFEw5w=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.79_1648424145325_0.7266552967638509"},"_hasShrinkwrap":false},"0.7.3-nightly.80":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.80","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.80](https://img.shields.io/badge/version-v0.7.3--nightly.80-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ab14b73ea6aebfc1b8ee373a61843c13596f2636","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.80","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-9WEJDAsunyVECN/YB0935+jb7TF2lFS0elgX1oTUzlMJzmXkazHoEpM2Opk02Chc1Q/bKJORaV6hUHD+mjfFQA==","shasum":"c5a5ffc33e9b4406e8415a389ce0c0fab6c9e15e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.80.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQkZEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLYxAAgFprkbukP/RGfN/s0YcHY7eJVE5iwUVX6DK/29cZd7mhAJgO\r\nvhvuf+PeinTwx+k1jGKGVmIUFpyFL27JxIWmRS+b1Y0R6Gt/onRbnKDTkEAX\r\nZFy9Nv/1/nsAg4C88l0VbLtP0nq6mPdompRAZ5pAJRwNvSZaqw12hNxUT9nB\r\n5J//8iiJBWH2iBuSobkk3zjlZZ4ybklJC8K4mXAsvOwttTTjcms3WUI9LK9B\r\n1SgIGg0tROCB/p5/HKWl5LoINTW9XMrDCHwi1chXs+ZYZFzsA2tnVvKNwgc3\r\nRLg6wfYin1E7jYdC9olp+Li0h5rLwa7vl/ea0Xzk41Iyhndn8ztq+cAnNdBr\r\nf8Qi7LFGnP24Jy0gpjXec8JbvNlLdySsohIfeMlBhSUJwWfF0ZXcZC1v8DfM\r\nOfiHLp+ocabWPLpAaQD2VoP4f7vrYDMMWXUR482VwDyPquSKK7egFziK9cLr\r\nAk6J29HuSH47EBJ/mj2D8DCNj6ZpMuvtktp/5vIdTwrIr8XPjnypX+FZHuSj\r\nsyp0fjZ3wP4Pj5Edy4BtMRniCl4RwVxeWClR+wY8bwRajoisUun7RZM08btg\r\ncsGf0JtYPP+U9iFgEZmR7+YlXwCampLyFbEUawF2XcT1kq2cuhEPou49+odF\r\nx3LdBAv/HCfy+oYtRI+drdlyXI7568ESS6E=\r\n=bZFb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVUHIHI6q0Los1CRY1sfbSxXs1RNoqkCvhfb19ybCrEAIgQjBOFNf31UqYje0AdUWLQ60xJPHDZdMBIKpJ+0AFNFQ="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.80_1648510531918_0.13902718458876162"},"_hasShrinkwrap":false},"0.7.3-nightly.81":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.81","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.81](https://img.shields.io/badge/version-v0.7.3--nightly.81-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fa742ec98f3335dbd6610850109763ea03170748","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.81","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-fo4N/RVV+ZUSzNXFC+Q1xlZeymfFfxhybxqpc4mnczOhOwH3uD3dq19WRSqDseuAUfrfkQZNpxBgDR7Afjr2NA==","shasum":"c78b47415bc8b9807c9dca9fa2dc2ddc1d7f6401","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.81.tgz","fileCount":7,"unpackedSize":27124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ5fkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmovcg//cZ0fdmX9AiROjMZ0LZ9kYjiyHjL5liksKqiyT57oYpKT8Z8D\r\nZuIN+PCzQpPAp6I6SJYaZaf6MH0g1+UNGCASQ1APqRS7O/jzZVwWBWYvqfiB\r\n6gf5wAjd+su4MxmgzdpaNn8tlZ2W4cImhCpc1jq+S8/y9tBzvg4+4NTCDUbj\r\nBUUK5bYw1aeHm+JIbMZ/cVgCL55gDfca1PF6+WNCTZTyPbLWiA6koBDIAsYJ\r\nm2jgG1CIRDGXH1PRgOwK1tKQIGJy73yeKL7MB591UcUGgRhu0Mxwxi5w+S2H\r\nQPTw16UW9sXiaU3YWEni0gKqmJJzP6MiFzysUvMR2I/UYlkPwy3rcuIjSEqP\r\nLXHbgfJlNNfXOwnMDPio2z2RsFGQQD0E8iGXYP8hexrvMgozUBVtPEYqnY3b\r\n5GX/CJ+c/i1UzPdB/wjcF3ksEjRpmI77ILaWoy1cGgObLjuVhD3+a6rUDYrV\r\n5FF+DME3LiawNnWT/6s95VduTU/buomVKpwOJRofRBLCaTMqBsPxDHpdxewm\r\neqY0Kd3AwsXVefMCCJLLZQ9m7S2dLWhW5K3AYM4gkGrXDrbRoHfvDta15Z+d\r\nsMsUusB6LoZgLF9g2hcVn4UxJShALTrRxVd5UEFq2fFgUv3Z/0U60raiOPjS\r\nRLpEt++NOZfX9R4LEuEtpp7Caz45WZGWMkA=\r\n=bW3E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9Ou+AQ7avKyGC4UFwJPfi9ZQCycueMrtwMOXJLj330AiEA5+i+ZQOkzW9hI2af4L3ytpVbz5sUivSlH1j39G7odEQ="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.81_1648596964271_0.448151061381741"},"_hasShrinkwrap":false},"0.7.3-nightly.82":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.82","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.82](https://img.shields.io/badge/version-v0.7.3--nightly.82-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fec8ebcbb26c717c68f60c827dddfcd5656ecbab","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.82","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-73434THukLGsxT+wguYU7yOEseKdqoBUIwZ6WRw3ckrWEehmDUl2Hs6fNuJuSXNlUW1ifosenCM+YPIvghT3hw==","shasum":"76359adfd6ee6a9359026b17ab1acb56204257f7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.82.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuHaGqoXCNS3O9bnM0IKzYMdXXrzIzq3cyVb2ytJGTQAiB0OGhmk8W0SuV96KfPYNJAMjoBYNDwWZFzdqtes6cDrg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiROlXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGag/+JInBl2AYvdQEWNGFt6yS8m0SmKJ1Z0GV04yjkDrxxcgZUZ7N\r\nXpuxlV/HwtDHu2/HEGPnBPRyuL1QlZV2eFUVcDOfRE1ZCDqgA9DFS14uP9uL\r\nlqMlPCdIe+nqU49ac17wrg4b7EL9nTgPZXFK4NeN6kscdYhGJDtLxJZ3XTgp\r\nBw1us0g/TzC0cQkBpXlCKDkY6oHn3/2Pvg8hLeXKhbDtgovyRLog2ZqRXuma\r\nDCPgYTLpBQyxvxpxcZ53MF+BliIsLG/up1weC0tWaFXrTAJHYL/I5PMd/atu\r\nHZdBnjKM6rfZSYseMcw2kjKPnxxfcAIFGi+VDumbqvk3MAshWuHFbYbK0/VL\r\nTCBI/9/bVCnxf1sCOzv+8GUZI91iwxOKko+EFn65//dr+oBPEHtuL8E+915N\r\nEL72MVHSj3mfkDCNgsjhBmoXODei+Y1K9O5CumSLfNhiUfjuSmioD5m9VcS2\r\nO9LSApZdMdIVNVc0RfVj7EKPkkAJoXFU0Gjj3fjzp28N26/SjXLblch8krnW\r\nsZIm9I41BPOkAfBY1AdXBK6l407lvgOuC20sCWccQd6kXvFb2idZUut4NGSO\r\nvP4kKk+LM8tU8wiSgI6B8LNV9MqdxQ29AZDShlqtZBU1ui1QhjyOC4/Pt4RA\r\nQNB78Vgbd2evPamppcYVq/mG8kVTce1aZRE=\r\n=J68q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.82_1648683350840_0.9781582056856084"},"_hasShrinkwrap":false},"0.7.3-nightly.83":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.83","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.83](https://img.shields.io/badge/version-v0.7.3--nightly.83-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"36b2f2970eceb5769a1dd2c1c3300908ad3f149a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.83","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-CyMUQaasIUBBCh40LGhY6GXA8iC2rTY7482ArZBqF7iCLdA3ULiCqdsqsAh8qFWnhjlORzudFUDhggMjXeA8Qw==","shasum":"202e5984a7f5ddbfcda675e1858b5013686d518b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.83.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVM3fSTzTZT7x4zdWyxdf3CL2hR1UjIvaU9Exheg0CoAiA8nrVywlhjUjroIxpmcddy9X834V/ssQVUoP5Hn3pmoQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRjrmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqWQ//fwFRmRsX8f8ydShwEgjp5zy1rfr83ep5ilH2sFroIaVdVXAc\r\nGahbl/wDCDTSPzQAdWF/xKM+DcwzA0YyxU++Sdp6/ND13ewlHcWBD0h6jLQG\r\nIUC26MtQ08ZznUPd+qViZ37R8f7/kxqinLax35kBRtfVtf6cr2R5Fgktk/2U\r\naNgm2D9zzdGI+AJ5pzb/kQBfiYYpRPaDnPDNK4cB68WS370jQm9dJMFbGWn0\r\nFGWD6hApB7vcdF+jeKZHA41PLs/0JbNl17ZUdeDwGEowtP1XB2C1BZc78JOB\r\n2N4MwtBCPiT9jvzD+6o2RbGcBEqcTvsZqZwcKSiFET5EhpjBZN8X6WTn6I64\r\njcn7SPvnPL6zOS7uTiU3hxXu3hm8n2jz3HzJjA7N+5i5ZBwYtTQ+127RR7CI\r\ngiKyM38fImJ7YCKsHglwXL9jl3Oiwcn26woih0m9Xx65qXNdhc4ZTu13XECJ\r\noexTEjWioPyeuI0qVm9EW6G9/Thna+4QyGUzNhxEXAxIK+y7B5lSjljtkJrt\r\nhAPqQLWpCiGH1DL2dwHiVwVFjHEhwEmtA8mlomu9JWTStt54NFpHnWKx2PyQ\r\nSTx1YlI3k6ysq4bH/8cgnwF48fbzDLhc+I9BZUx8XXJ17GR1w2KGhxhGXtcD\r\na0zZzXMZtnQ2ZBZR9XpmIDQBDt+YyORsaIw=\r\n=I8MA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.83_1648769765678_0.0981605412073383"},"_hasShrinkwrap":false},"0.7.3-nightly.84":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.84","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.84](https://img.shields.io/badge/version-v0.7.3--nightly.84-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d0d6fd84f42a212754fcb19b0802bb835cdcce6e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.84","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-BeqE4V49xvRAs7x8Nr6BVHY96oECWd87pw3RucY2AJ+CFzcz2CjwEv1HhcpxsEQnaiWuVV7scS3A80oBA//4Lw==","shasum":"500be3de91fb0a160d19281edef7b17b577e9c51","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.84.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBugFbse5BbNh6MuyOVzpQKeFGE77rMwk4jrnVVoFnp/AiEA3i077AwNsVoJhAfAKfHOO40ODrJuqcrgRn5AFh58wks="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR4xjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgiA/+Kf1eDaFxIxKvfe51hsFH0Dg+PH2/6CouTDBwRapsVZYXTQ/5\r\nvP9eYrSdjM0RoaWKkp3cqp+hJuZNW9tXdJ7klr1DUAnkJsj1P76c4cNR/7MU\r\nhM5OvZCBEA9M0ySx/jWKZ0/85xL7MrnWjRBBlwfae01lhZgC0m187PgZVVeI\r\n51XfThtHdTBCd/xCdybwv6AqwLoZScK9pO2Ra98LmrVsuSb5JpGJIZvNJXH1\r\nep+mgbm4cJTiBTJyhkqkwr6jV4EA28a5ng11/MLY5rbhZI3O47CerD0QkF1R\r\n0+xXY0KTtEbeuftPvXuv4WfLnX+edOvM+0Y8VnvcbzrlzZdjh0kM33Sv4hwk\r\n3mzfo+Q3ftO+zuAeOYyErWQCpmKnD+g3T2TOIUfPRMR3+aDW/jf8cPDeWcPr\r\nKtugqV+OzT0Jwd9O5FdD6MM2eGUdyDbqGCD3t0LxkkpjfKcKEAbLI8HOEfBW\r\n81IOw9uCK88LG0xr3zw4zkwTprn0Kagq5Qu8+DesNY9UYIsgDdRPKDeH7AYP\r\n9nR+rlStgi59r8PL1RvEqO9PbnOos8ynbn3wYx750AGJXhj8JWyPVUlZWD60\r\nsk6uzTR2sWmPcmCB/NZlfRVCKZBQXKRqoBa+REg4xmzZuenUMR+qgXObwRmX\r\nP1n4n7O7YFVi4YaCY5yeCwDCd2U8e140v8Y=\r\n=0YgZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.84_1648856163660_0.9877688042258821"},"_hasShrinkwrap":false},"0.7.3-nightly.85":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.85","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.85](https://img.shields.io/badge/version-v0.7.3--nightly.85-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"24dbb40ac41d3f337b837cad200fefc3aad36880","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.85","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-PmV9wHA5wH0TJiyy7/zTg3ayvKrjnmKGr3D+QspQ8T+NytH4hsKm8IojfmxnFo9fr5t28uRM9zjpEyCdRPU8YQ==","shasum":"14191923a1aeb0bf0d9707d6bb8c4aa5452abdd0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.85.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCs77gduJDIw4tci0GEhxDhnt1JMnjjGHXRBJriKkOwQIgTqcxwKVD7r1d7jB8H1Gdoko2SmWnwDTWr65PS/r3UZk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSN3LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIJw/8Dua1VX0kGtNZK8WXS81iLbYzNxGASdpYOnW8HSvLQ8PV4/v1\r\naB/IbBZYtwxsck/ptso+UeiGicFGOn3/AqnlBpKJp+aY+si5q901GkUWVCV/\r\nJVTob77mdLvQwRTQL3l4ch8jiE+bq0aeUPylLa9ZegEPmMx7areUot8nAkfm\r\n27rU2ZjEEhtuQCQpX5yZsJR+oYrgAU3fkIyOeAi+BlbhJisVCzTLMRxTqs5D\r\nmHAEMQpKqbBk3KmoKQsj9nYTeUShtGIxsfwrj/pBs1b3FUA0lejlztwtf2tC\r\n5pcAq92IYza2tqeWIIcx16fmRKVZOC+qMwR8e0bUg+qeyCCJHImzmoD3AOCA\r\njVD6vQkNMk1wf67DIX5WLBMXSfw0hHxvuef2PeCu90UrZQxBgvO24c6EnUvI\r\no0M4XT2+U9mH41m4OgqHEM4nhgGeBjN5hl5gZ9ZuaRpQXrV6pmTT/cKznkmB\r\nAZxobFI/tFMEv+azbpXR640mMCkLN6bftPKbOJa7Qo1LvXV7RLeD+mIiZG2D\r\nI2MekfeL3wcU6XjdBn4YM1IzQa4ptc2BP4j+z+iCAUoL0MF3bsBIDOZy8sSN\r\nCSluKQp59VOgxenWeNE1kMOErizDBPR2xeqJebLnHfW2WABviW+u1tiW8m+S\r\n3RRX0mosvuLuopiz+BWbJAj5+DJaOlbbOR8=\r\n=OYED\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.85_1648942539368_0.275641447080492"},"_hasShrinkwrap":false},"0.7.3-nightly.86":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.86","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.86](https://img.shields.io/badge/version-v0.7.3--nightly.86-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cc1f284cd70a75906e455229dc8f11b7b2bd315b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.86","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-O2IHrZv3TJUdlYX7Pr7F6wB1RKdWwbMezoPZzw+oH98QRrOndjvkoqRTlzwQFXU63FcQFeBWN0u6x5FZBlcNDg==","shasum":"d72f02f6f2cfb9dc00969a3e853583b9b11bfb89","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.86.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvi6dyyQlwmApb4tEDNigMJaGkLNgJmbyfSbo+NY6tfAIhAK7irPB/FEj/uB//YykSqVYNs466r+2y8TzHRdtUNUpW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSi9GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonAhAAh+YrY2HJSqRQcFuzPP4AzjZps0DXC4gBsYFWkEvC/2qIuv8w\r\nhiIyoXlW1vnVA/ty0nk4+1VmBx3bNu6D02WxJzAO9pgJbI4KX7DtURv1r6NI\r\n73VEDGBZv8zEc+j/18ffNcA5XVpCpnjFTnlBA80tOtgNd7gmG31prLRn7T1D\r\nfHHPbxA06BK8AsurvUsGdqEZTQCHiZd+fcTb6raLR7lkEGKm8RIK2P5s1WvE\r\nf00Ex01LvGQ3K4T5IRZP4OfhwjRWc8aK8lxvAPk+I8gw/yBcAYgJv4PrkCwN\r\n2bQ5Px22f64JWnPcO8Y8uq7elvd/AiMJjGb763Z16Cna+MzZVaOfHPS2tgXg\r\nLnNGnNoa5VXO4Zhtkxoh5kcy8KNhBxknrZWr3kRBzw1jaii+khH7Fo4B3BFB\r\nB9QmOisN1YybxdTsIPU541foxnN5giOiFNNUT+uX6yX6WE8Ty8awFNza/NOe\r\nS4L78Fp8NUza3PuaXILEcEL+ael8QuIy76lbQOckV58emfQqulClEswcXSUh\r\ntnjKnPYPWz+KnsxUkAv2iPKXof3ggMCyxS6yeJ4F+QlEiRnMOMI8hqD/qalU\r\nSrjob9lGbtXGenq5S55/jOcLSJhwkFb+SEA3u/aBiIn7f0EfTO5W1cZpiA7N\r\n2HOcPt/DeYD/FXEBJMMgneHVkgcjffFmP8U=\r\n=ElB2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.86_1649028934209_0.4089866845170982"},"_hasShrinkwrap":false},"0.7.3-nightly.87":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.87","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.87](https://img.shields.io/badge/version-v0.7.3--nightly.87-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7a41bd64b4d5651f6bb4a6dbbfcbcdb7ccef57c1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.87","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Kxyy1T34QPYxqd7qeVHNBVsveMIufkbvPAhCAGmWlJD/mDyNRUcOvclETQKyslwl+InZa4CLBadJNftcB7orKw==","shasum":"4a50bedfe0cd67c0df730d1c6a24e5b2c8cbc974","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.87.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkOBekvJ+4nOxlbB+pyAtKClVHo4h2rsiLV70o1mU5vAiA0Ev5TQULM3yFqh6HnlnDsq8DFmoa1ZnP6kKrlcoJ6gg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiS4DoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6qg//Xefr4nTcs28v5Dj/pAifHT3puGjv6oko27KGxnRUt5U1F+cE\r\n6mmitrzMfry2nJStxrZUN5akpkZjG1vo2fgzVv4gPPeI+DS/ohj/9K4++drE\r\noOucvPcsFym+YtjiN3VarFmekvONVWwk46FRvx7ZYtZOyihGdY/A9P1/lPAz\r\nru8FTWcZq2jD3efqgjedPrs68cAArJEOproLvLkpg4XImm/c+KXAIbZZfE3N\r\nvPFnOyjyk1CWjlc5OTuS2qhPJeR/7sh7iJi7kSEEcFgW0cXnP4yrSZd+OWMy\r\nW6HBt5WFDbWvbokVSCFWXNrvIN5GK6gUkErbVw0NA7ZUpxFiZ/is6PQGlNCM\r\n7Zexszlp5/I1BM61CWakQnYUkR3adLl5ipTJompL/vxrPKl3U0qejLNpg62z\r\nJJ9Sh+7JnTKrDZk5wjz44TT4KYBgcAPhcE6UhpPlrl+XaaJYOdCenmrGc0oy\r\ntYDQub6Yx+SZckItrVE4wuocvAc4BiVE9PldlTLK71aofZhBv2iynrb6Xyu5\r\nb0+FmDwrUuvsozprkEM7yVHbF9uRu/W1qfXB37jZawk/iy/1um/RIHIGEnGV\r\nUYQfIBbGgjR776s8ef9d72DY+3DkLzAUPmH3qUPuklhkOZVE/p/sFN0LXNZs\r\nCq4+FAPz0XLhpfjWY/XtfH6twGE+DlElMvg=\r\n=OKjy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.87_1649115368537_0.47915104234471895"},"_hasShrinkwrap":false},"0.7.3-nightly.88":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.88","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.88](https://img.shields.io/badge/version-v0.7.3--nightly.88-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6e9d28b33b8359997325b7043c755d6168591964","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.88","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-5nLG/PMiFBXB41AwWfDJsK+NCvidjD0R3Qhn2RC172AeEXtrCr5zYSdti2Suyc5K04sMFrOz89Gb4WzHFaHl4w==","shasum":"1ea1c2e05c1fa13f1f20f7d13a60363cd610eaaf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.88.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd0KzIp5sYZReKIhk2b4HNBOcW0CsNTjdsPf1wOiuXTQIhAIxC5R1oD42YOxSku0f8l/SYYbssksred7jXVvyEJgOA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTNJmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFug//R9HQyVobP4r47D8wbd73/Y7YbCShdFgpVefzYFfXeV54s1I0\r\nlmB5SXGF04O9noFLrVRobeak2udLPP21ny7AHkaHJzYMePug8GUyz/UYolAL\r\nKgMVIJR0WHfFrzo1RKyycEShKM/6d2f5VJEsK1g20KIXxYUGXxL3IBKq/exr\r\nN6DB9RKYCFR/fvPJhUakvFOvZvbTwmdhfbHJSLZTcBdiIDpTYZKwrVes3PIa\r\n+iRSVtnz3bhOnhJJMKMek5MZsK9DEg6HuvsyGNILSjDF4TioltvnxvuFh66r\r\n6gAIrhjHMDSKvj5XScA2LOo4dmhq/4N0MElKmNnMvx7mjBUGgq7WCwZTW1FN\r\nE1JlKVHpkuumV2A6qmn5jFprAHAxhCBCbQjhgRuwBT+B5BcFdLjqLxO6fKvF\r\nMDHtgfF4cyc+E1/VOmzMNZnlLwocR4O2rfUKc/G5KbP5FXwwpH/Ne+xAFxdW\r\nkR87yPUUPqaaa2vQnYvNZCxqadSU2eMIxnc8kaQFfqj/gcYutE3k2+o2/GLR\r\n/mvdu4C5AhG5zZRuaXp4sbvBxx2gNEbu81Rk8YT4vaujrci7B+7UhipqKDCx\r\n2ol07QFY5tAxmk/IAw2Q1nlcLFUtXPBftxZo+TkJTpc9xVw4joCUQWRu2jtq\r\n23lgLSksxdYmUVr+L1XEfpfP2MohkqH6HDg=\r\n=MJQY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.88_1649201766338_0.016661696486016453"},"_hasShrinkwrap":false},"0.7.3-nightly.89":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.89","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.89](https://img.shields.io/badge/version-v0.7.3--nightly.89-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"32b5a670083f5b2fe981472e61947e04ab365558","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.89","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-pysg6U2prf05WPzdedA+7uKJrRKDGxvhBPjZm7BkU/ZR1VuFwCEPHbDnASz7vACOznzmDQPtWncVmOPo+/8VpQ==","shasum":"9e13a56a06adb81518ca5fc1e294f48370ca42df","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.89.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFzou65hD6cFa8r58IlAHqEyMhaBuK7mFzPnc7xyUbbAiB6SizrihkfosCnHt2x5S97RXVPsEwZ25/ctvby3wIfhQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTiPhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjdQ//egIzCGAOk0ThHzEXUH6AZ4AP24kC5p7klnSq61eTPadpDccH\r\nbVZCFIBcWjFg9qR7Lgb6kxzk0vDau7oao6Q7tUYjbN7mwILbLVzGrGCp4eqm\r\nabg6aWPprLosdc1JyawQdhQ6tDlu5LvMiyayNMFxWpbBTDdWaK2nfX5Cqqpx\r\n7CvHWYccsaNoZ3vXy9jv63H7dT1cvntL/+Ov8IK6AZThEBx1vQdAenR5rKVe\r\nWMrRgRWfbxoDVEWgB30Zma+FSZEdQRjmQyJIw/or14Xe22miMXFcQVtkLljg\r\n9XKdQrfbWeoMWT2WURO4w/jJV2NPR1LLkWqBnQ13q3QAr1EWK3Fc1/jkXRc0\r\nHKPOF8Jfi/5zxvquewS4WpaTouf4E7BCo7YyIoFxZk66Ymwg0koakg5AuAJx\r\nXgcpvye3ckpDpH/HwrtOdLVGaRnYTNYJoXZQ88KzY9O6i+SIHmu42Nl7o6ZS\r\n2URiRRxlOO0ZM0KEmQAhmM7uTuZMcHnesGzfX6bxpMtfcr++InKHPQXVKjgT\r\niPQVoWyMpwhF1smctHoCBCmsMgBNXtGtKwdaEOGgs0APvOw0BHH5Nz4a5qvD\r\n/zeiJxoZ7iI/+3qq03a1GAMXRN5SPwWx5BF+6+23xNjVkqEVPPPNcUGGorhv\r\n+33o3tQYRuZ8X4+cpNRdckhktWphOD79/n8=\r\n=Ygx6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.89_1649288161512_0.6286973700768004"},"_hasShrinkwrap":false},"0.7.3-nightly.90":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.90","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.90](https://img.shields.io/badge/version-v0.7.3--nightly.90-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"825d5afa2570bbf631c9c79f8d8788ce6762e8c7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.90","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-ZqlU5gO9ToZHc/EqDcVW+kVNn4WMTq91j9xIcLPR022/blCL8C2QGOK/oBuAe4/vo/qIzh845OpfVzr4bv418g==","shasum":"14d1580b18db0b3cab60a962391dc519bc87becc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.90.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3/8NX9HLbiTCxVmeHeWjZNufLYuTMCsi7X55Q3LenJQIhAKjtVyjTxYwhN4ZSICTgKpYs5EtsxgJgsYvGPPqkZqR1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiT3VbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotEg//ZyZ4JvnGNiUykLbB45b4tXPTbO/JUJqxznj5i1SgQQS8RKv5\r\nTQlxjQ5SH1KT+6DHk3NUhlB8bAsKS80Q89a1yApcEM+s7hnLy62klnTlVyo7\r\n05I7QOScJ1pfhKcJa0bWb63SQVIktpir68XEAaGC4uI22DWixr/D7ELraaVj\r\nYYTbv9uAKXCmgq53b9t0tH4bbBdaT/3/4uZ9rccSwy6u7oxCFzC9jZ9QDXzU\r\nG0Bk9yjSgnnpprr9uop9aDm9KEF+2wL3NOGfQifK9fQPvFqkwtm5Pmv3WRi2\r\nQtZQe6lst1isZlZldzX9QkBNNBTapWQ90uMeizZRstYz/jHS3PrdiJ0slIU2\r\nF8bu8MfPGfMjoxnH41B3pl4ZvNXrGD07lajnu3HKvuE2TEg6IqUoMRUpA2Ek\r\nt+mEv6QrDDePsRfHp/eQ8gERet61hN98owAFiysSUbiHzM18xMDRg9GJGheV\r\napSGQqJFUZsJNyeuHOYoXvfwKuiubE7jhj86uvYvMv8o3chgFwP8NNM7bpLI\r\nOskwMogUK5PbsA+342k/RV6BMNzE9JXxY4mlArZMpr1f1sdfraPjGi61KHTW\r\n6KVMGGmDb9/CWqotK/nsCT8bJujKN5Mblt1a+qxt8zXanE5KbV9a8p4OjE3J\r\n9+hV11A0lJWJNmhRShiPUeUsgubACZEtSp0=\r\n=uW1k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.90_1649374555143_0.1892039630087603"},"_hasShrinkwrap":false},"0.7.3-nightly.91":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.91","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.91](https://img.shields.io/badge/version-v0.7.3--nightly.91-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f4b4335dcf065f84b7342fed22aafe8996b44f5f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.91","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-cpOK9tKn7/Qjx739vkeCapE6fhsGlzC1Wk4lfSqcEPSPrcFGf5rA7D70weeaxtQyBEJQd1opDR/VxVYIrTZxUg==","shasum":"3be9e2e09ebd8298069b5eecd71f89c702a01326","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.91.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjOwKiswiL4oCQnMNi3V/szBVoistgOlUFita1YdalswIhAIpFzvR3hJmS7ws3t7N8UTrRgLuII2tmcOmndgkZ7hD3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUMcwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxXBAAhtC4+oc7iVIyndahTchQiNgsjrOPnKmkHnfxPDww/jdfagXz\r\nLTeigwO3g8d1jmXArP66jJgcN4UXKhTBRmnVKnhEY6bDeBO8ev16+M13pcsG\r\nDZA02qfQShhaf8X9pwGq5I8PU0gEGe8N9l9dNDzzPvX0uahCJuHhcFO4Yt6R\r\nOdj6wCcuWHm9oc77qN/g60nkg69B0+749gySq6K7ZlWsmXOew4rXAh1VABMJ\r\n+E6KKsyPjjdvmF57tqVi/pMp59TkNjwLwWpVJxEOTbjr6ki8zEXHlbVfh5bH\r\n79J+9jWcelvR1YOtxA8I3rGtMURfH6gUrnl2RpbML9EgUwj6z7FE+80ibXb9\r\nnv6ReObfmOxmLIKIdaRsbk7I+ZSBdJlAbJ4+NvEbrV8Fza9wNtHRMipNxPBF\r\ni5BPSZehcY/He5W2wgbUBbubh3L7QR9MaTJiTfybTpGVP0BKvjM5/8IAdT0X\r\nZI4jddaTjP/Fk7+IaTJFzBMywQSsNwLY5/qPT7nEpDqVSHy4F32by9b75HSy\r\nwfiwVbH6QH23fJ36VLFVNvqfv8p6Ff2KYZD3fa2yaYMlGdyI8YLVveTQL1xc\r\ncnjlFW8rCjBVqc/o9kACQRrWSHpN7es/5mzQAE+R504FgIbNtOWLkjVUKY1l\r\nwUUsKhQmnfsnYboFSNruIoRaalXIIbtDac0=\r\n=dYw6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.91_1649461040432_0.49671654583395464"},"_hasShrinkwrap":false},"0.7.3-nightly.92":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.92","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.92](https://img.shields.io/badge/version-v0.7.3--nightly.92-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1a41fcee8b5b9d39790462e9df40e6b88824a5e1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.92","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-FvAnMuZXbQTlvDi9UeiSLhfeuFxphNyJVGXBQrs8W9it1UFeRmlWsa3pWIjGfcB9yX0FqBz7bHNfp6L3yQz7oQ==","shasum":"7485ead0064589bd59e26fa45fa6fb6f1e309829","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.92.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+cyLBtnca6zEcwt2vdPgPBAlrOueqEORY/E3hu00tzAIhAItxvW65LQBmq9gocaf29sWaF/a6d4KaF7jB79crtmGp"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUhhCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWjw//T22pdSvJOIY0mkk9htjznOpu8u6AGhT3GYhATVINraFUhxBY\r\niHiHjftfYRCdny9Q/2WA6lW6g7Sdzd95EKTbbGP795/iPn3VW8fWFVant0N0\r\nlULALcUVY84fXvmlMYeLc5xAMrf8mXY9btjuEbs79AlclyErxGWYq8lmk0wI\r\nfVcvuI/M1Otsmh6YYQSKZsJWBcZnIE78w0USp+xrUCYVlmlFG8aysf0tLZhf\r\nLUDL/EWqo9a9YTDvYZOQXXMORtc2a6yLYmtXf/mRo2ovcb1/tws+vWw8CMJz\r\n0oYdIAfVnrG6kDWDSEIxJfvndTKAuvSa9caJxKB33b62/qj8ObeYZLQHR073\r\nJxkYEH3knFe6KdyMlr/iHWq83p13C+I9I2K1xJgogQ4duQw5E1TDapw0GdeM\r\ndNSOV+4xSIu1Xon0o+uL1L0PYdKkf2Uo0ByB/KUn/j/yNi3HtSy3iFp7EBL3\r\nnEp1GuhIM1Sw4PYSd3vj1e/k8RFHDDIOn7z0WwINTku1fksiwQyc7fqgEHsa\r\njNvZRwEBiDR066irHUluHhdU3ZsYs7UF0uHzxnH6HEOwdJqFnvD2MCJAOjjv\r\nDdHTnZj2rtrq5OXV9FnXc5dO8UGiOEMC9FUweHAFmREVdlX0CG+hSk0s+siI\r\n7WAtwemNxknv8QMpUPE2XHLjx7+nG3xYJRo=\r\n=4v/C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.92_1649547330269_0.9896990221871127"},"_hasShrinkwrap":false},"0.7.3-nightly.93":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.93","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.93](https://img.shields.io/badge/version-v0.7.3--nightly.93-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7c3a8622bd68e50a04bbe68353017a107afdcd1e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.93","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-GCLWC0XabT0vByY9d6dVO+4+mONdJMZtD6etkYspvI9gGKp22vZHascnHXyL3mfFiovqDK+u1lNmjfKZ+I6NHg==","shasum":"e318717b8e2b1504cb048778c7402feb14cdab52","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.93.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEEWWHtdvGe7mg4EoV9oHXTCqAUSj2fZnFOjQQmRXUWoAiEAklHArNYMnEgU6Cv5QkNgDbjMiimAK4CCebq5e04gaZo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiU2niACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpN5xAAoB5Wvo2VAxO6lTdvOKOlDFGCTkHVVE6xcqmk+vd+YXGdulmh\r\n1QbGac/a8tgKIKOA3GWH7jxwjB0ZSM30rPtzhP+QSMJj3yb9d/ysewFRt1Fe\r\nh0MTqBFnpVOREXojXZMMEzpho5++CuRS8k/RdtAu4DZMd3dZdYgi/v0Hlj1w\r\ncwvKceUCXsWUQ9yh4y+YgTyTxRvxkQAl2d2KcM1eQeLx+MEGaUtxigyCJ5tz\r\nEElQQepFWiKCXtoLA7rxgLoUtIrRG8doySXwHaNysTixABN/Kdxe4aKdyTYr\r\nPp5p8CqA0SGsypS1CjG6yUu/a/6Wi5MLeVn+lgdpE0iFyqLtu5umb7phcH8K\r\nQg5u+4iDXsOgdnSfvj/2Q8RY9EseA/hCKSU5Ukfbbkb+66UFZPzAcWjbm9PO\r\nV7ydEVNfEu+Cn+LckNRbcn+m4GOF6i7rLjAOhG1OpoT4iDynRmyAacqtuWF5\r\n5YHkrVafIwKMJV9uAfjaD7g01c0YLwooP9mdXvbAH4yYt+YPvUMSJzfjRpcn\r\nime4y0zyPblnJAXvF1O74FiO0OByI+UrNR5P54vSWQthUUvxvXrqXBuXlo3F\r\nKEVTyeEFTppzCLZ1Vdb+JPttLj0KB+QjlI4sXhjL6p7d3s+wRQzX0Gpvykdl\r\nqDaqnM11jD69jxwHqfZIoX2baLwshlf4cQ8=\r\n=S7Qk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.93_1649633762379_0.2881673062362118"},"_hasShrinkwrap":false},"0.7.3-nightly.94":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.94","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.94](https://img.shields.io/badge/version-v0.7.3--nightly.94-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1044d7a492ae2f87c1a79346ad56eca15719e898","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.94","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-qmCNakqLPHxnrB1+8+L+wyP9rcKnhPge7HJ44GZ5YYDIxgfyGF0wn9vMU8jQBsiVC2wYltZQylg1BBT4GHLLdw==","shasum":"b15d542063578249742fb97df516df97c39a82c9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.94.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+KFRUo51CI09ivJXYnGaYRueZQDFtalft+a3ou9eX1QIgP59/tPLI5TtW0hGvTLw6sRAq2dkPPoo6Hya/3esiKa4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVLuQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzYg/8CDGJa4CsMKhnZN8Sgzu5Ylo0PNngJWJtsQgCSCC16N2JUOtK\r\n0k4vMMasz8YFWW6yV+dEPuiuV33+Ok41ArZFC/iIaQH6kkS+pFwjBvMHajTl\r\nsoJYwH8Oaqu0SaDcYQUWbW+0/TiPZ3H/6di1BPifMGQ/xjg1MNoTbh6I81UK\r\nefSb+V8eGA2K6Usb9bfZjhaf+AZoVFjRQ8IkYLCB8fZvGnabiYvBnZ/POge9\r\nh676u26D1RuwX+NiosZT4eT0WKERkijgRxg/K8OAaMChVCCt68e+nqtVjxnW\r\nF8orwWMGP5NAZJZYJf+EYf3WUlbzMrlZeGjc2Pk3dU30tVQdB4J+RJdy/aNc\r\nSPpk+LsS/iyXCTV7gykTN6ZOanWqB3Z3WQ7NwGDsWqELNAYEVjjRkGY6Ji2D\r\no6ks5Kxp2sS7GBXoYw8hhvc/mEceIlHBIK7hvNDr1P/pmGOA4esBNA5w9Rr0\r\nhk/8sjelYX7O/q2O8Pk2QfkDVNYXQSllqAQIswhS7yNn8Xzb1L0Cwf8TSWvt\r\nSdIv7Dy23UYlfsW4/pPPuonB8lHVhEgrvZVGezhACLr2O+69smaWMhqAhkw2\r\n/oXA4BBh513yGNDIeki6+ghOOnYJxuQ/2adl3F/90X0MAgqY/UTf7ioTVJUV\r\nQEh/0/q0I3dD8bgZRQmnHPFNr9wTjtacva8=\r\n=vq+X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.94_1649720208569_0.2804703121757759"},"_hasShrinkwrap":false},"0.7.3-nightly.95":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.95","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.95](https://img.shields.io/badge/version-v0.7.3--nightly.95-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ae11e913ed0ff2f2e1317beddac14153f4377db1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.95","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-qko+oQW/5y/5deu/QHqtz8TiEUYlehWI+208MsEjNxTBg5z4qq2nho4XWBxUh/LJAkixvAlZReKaMStmB74kmg==","shasum":"a212d496ff6233d1ed75612b9050b2bc1c1fc69e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.95.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6XyxbacjjeZTxu4SRkwodbW3GJjT2ej9ZSYGnV2XskgIhAOg1eEVuo2myMa5syU1nNCUGY0V/FuvzOP+LfwJ15FFK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVgzfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9eA/8DGmW8L9AzEGEdCuHRMd2vR5WlaopPIVLJMWKQvDsM8da/0QU\r\nQhMHzGbTQWpvtow0NGD0kiBKIzUBXiKFVoFHVEZsqrd/mkuuS6DrpO6iZjEL\r\nb1bgXQnYAGepasAiBAaJZE6FqbluP6fkg0T0cqfkIpcA67Hd+A1UCvly3ckm\r\ncxzOm+dOkpRu45zSa1r7Rln2c8uBbtFBR7e6dBv7+7kyPmGxIhCG4uvuJdhu\r\n0sAmx1PCzasdrg/SHQRBrpjEN1QwTbpCrLKFbj2YoqBE488dnkuQUcUpVaA7\r\nPi2WaqIkk5nJ1ihUVTDR2Ovu6OuqXoSGnDHKhWPJpb7DS6/tJjS3Cdx7fLzg\r\nYrKitAGaOGIbxyF5pXMnwefWGbrlwuCruwKXSXDVphBz+Dq3s+rNn1Pe9G9Y\r\n3CTwc+6QVtlebDbDVMb+FW+iRYDp84N9wOTzI46yzgcMiZtslypRoQj1GzDg\r\nwUBLeIPaecKDYv98c2lBQjvh0U35JtyiGa2TZos2sIMChAgceQxI63Qq7ZO0\r\n+iPBmXupSzNVdOTC1S3iftDIHv2u5gdt8YIKZ197RSn0X1jU8movbtOqXbQK\r\ncNWUC89OhYmKYn696RWZyjjiduQd4+ntcxPNMckRSfqHOaAdc8b12CryN0eI\r\nm3AmRE9zL99sS2oI3G/zFTbkVrGxfJYxqLs=\r\n=DXta\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.95_1649806559488_0.6346977766707684"},"_hasShrinkwrap":false},"0.7.3-nightly.96":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.96","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.96](https://img.shields.io/badge/version-v0.7.3--nightly.96-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"712055af6c531015b1203a5f99b37b7bd302e750","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.96","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-P8TF7PoduEtFxYAPSfbafP48Il9PsEzBy++QgSloLLSsAFOBPaADa9SElqrFZeyR9K93qhQL320LjI0PHSbKSA==","shasum":"9e9ab7862a9a302e6412903acf1f670671f475c9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.96.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDoH4UC3gxi8tzt1oPaa0owwaDDcEVRTTZ0U3OrPW/twIgZS7+i1nTi9ZOGHYQt5JqZKbb2ypmO5W3NSiAYQC/bfk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiV15PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbXA/6AypQZsnN7tKkfBSSL3PlW10VKXGurjb9mMqWaR6ixqDY92Yt\r\nRNAxyTLmE7Veohtq7yIpZG+qRxyBJPoT3WD6dBcIcxcF+FFhKkXfOWIBzXv5\r\nsDjrOusmAsYz2gXOZM8m0nGOWGx4kXMb9QwgNgPJ0GVnKJ1rOtjSU5JfAnol\r\njKsUdgYhXmEtFJrXw+i6HDtzVp629xTCjeiE61ZOu2rx8DMp8p4/AwqH/bCI\r\nbga2lFVWTOJAS430E82iH83jR+krQJo/98jTY4/YXGVqf2jS2kkEK6KwlBzF\r\nPBZ+0fa64PwTWVKYhztO0PPWKpesGs0RSV5SCaIrYlfqbU3Nx2EJH3WfSZQN\r\nb/tuG54Dk2mFzxGV/8Da7okJBRoHb5ld219iPU+BxPYpc/8l49se3+3JRzLD\r\n9YYtVrjb5CHfPVVrqHF2DESCaiWo4ZUOKTPrg4kUII0kXSz29krL1wMFeD2J\r\n4imIKI4H63UernT+dT2Fc33e+tqZSWuhKJXRBVHqGwrc3rWDf0B+0AeiVh8H\r\nFl1x+r4s30/rlnZoyZ+/66VBRDEKl/p2FoI/KAmL0wIbFrqtJWIDr1d7nh53\r\nn8FFQjf7GrNSkIiF/497m1YlIted10CTqTWGn8CwyeVHaIX7aVRWMirKw8sk\r\nXCbRXHSCv2jEeGcJIZ0pB7QfEF4g8CSKvAM=\r\n=cpZv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.96_1649892943466_0.4046710827722655"},"_hasShrinkwrap":false},"0.7.3-nightly.97":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.97","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.97](https://img.shields.io/badge/version-v0.7.3--nightly.97-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9c5af926ec207fb8f9bb34957e3e85676c001ed8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.97","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-koMZzfksBBl0Kxtdh6HpohK3wEKJQ2N4g//iIZWZl52prxyhGjxv1QbC0aGM3r3ilYKQ5pDf1JScZG6/US9ZTQ==","shasum":"3ac68d2968df68ef690c262a55994a1585dcca4a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.97.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWkX+vTcKPPNKcQ4xRSmLHzYfdL1NC14xNXVsC+MWUZwIhAOp7IN0vDzBIG+lNyY95QeXC2ACy01jkydMiGXYOnW0M"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWK/gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm6xAAmQeZFWWqZHTc/B2kZuRi3nt1QNDNrZfPU2y6LKP9HbciJxJV\r\nSz6sHTc7zirLoiNyspz3lmcilIE15ALFr2th67rtdNY6e5uT0CzL3fpeo/9J\r\nXaejgqwhtvmIoWxtXnYOcP4Fg0iKBJcJN/Xl02jtVFLfDtG8AIXDqlKGjhyB\r\nWu0qh0c9mfCRLE4A8AbV8wNLtPiYMGHJKI0Y6+HdG0WoPxOS/xPlgGlTAb+C\r\nRgWvRKRLyL1f9yiGxKGYFsKZNcMz3Al59RX+ZALIEbP359zFJ1/OGS9S4UqN\r\nV4tEFGl14Ali5ePdUxXZkRV06u9zB3WGUGPtn6ytCD4ZCvJN61u5J4WnJXAE\r\n1YnTJ1qRvgpj+UWIZ0ga4WDxjozjDhXIyUYvDJqz8P8tgnmvxre8OT4vj2St\r\neWZyAX5izWLZ/C4DoABzZK3A9y/NRbOZN/pwN+vuFxdidF9zfLWiwk3/cfxF\r\nPE5d9GllI38pFy2ePuNGIGSuPOB2TWJWr2gRiU8MhgNttuckpHektAQ+ExDA\r\nw8cPOP3VFgN8nXcKTm9T5D+SAalKNEOflVvd8jwRGSvUKvVXD8O8DHRVUIDi\r\nW44QthstpBA4P8vLguo+zJHSTpPFbuc3I0/8Tzp7KRkM7RuOuOt4A2NShVXT\r\nF18I3vnXrun1E/Uj3Xgdi/Blqtzf1xVvfQ4=\r\n=A77X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.97_1649979360067_0.01915090913011963"},"_hasShrinkwrap":false},"0.7.3-nightly.98":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.98","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.98](https://img.shields.io/badge/version-v0.7.3--nightly.98-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"23395e353ab9d32dec807ae95606c3566570f3e8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.98","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-kHldwpu59D9pZEd4Z3SIEPvQj5zHIafrUfMvEFaZLqj1F1yTzN3CvN+AWN/OktXs8S5P8ECxfrEZKepGoRLEpA==","shasum":"a78fa1f91fd71bb4f9566c89eba9cf024b5749bc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.98.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQO1EroVnso68rfkIjQaejXHeZ9lY5YZvERm10eWKDDAiEAi4OcEU484wv+8gDNWg3O9jbr4kr+2BYwd+16pFwAT0A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWgFjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMSxAAle9Mf7CFhr0Z4gOPdXJt86n9YyfDWM//emMEhXLq6/4L8CNp\r\nQpsQVLS7RCSE+2lPBbFD4C+Dgm+DhDkk11d1Uq+RVHMYw0FrlpLnb+hA21yQ\r\nyc+tDXV8/VKjZAtf22RPsA7ygLn1P/k3LiAbt3othUOHK6X1/gxuK/j3PMEQ\r\n79HPCS3KSG8/6T6XA3avxNqS2QzEiL9qccaoFrYS+WOmcbinQpyP09DtNCIN\r\n+4EJC3zeQVuCHbeen8bY4GQx6p2D6sSuUw5W7I6Qvkj6beXYzgsQscMCawwh\r\nwc2lF+qrLzUgn68POIybZ+t65L3tBsNFrBu9pMeP7YvtWaymWpYLrLJJ5lI0\r\nRrzPYKUPa5S5+3N0Z0gLcapkoMcqQ8Qdpc4PAV5Krgbl8ScI/NnTChP492sg\r\ngEXvHwG1YY8jfDY2S82M5qg2vyIHVv98aQP+mkkQAyC/9hA1emPus88g6Zzn\r\nt3wz5B+hUf96Ne7hfw+EIjoPZl1wKV08/lv9yIE6jesNoPv6X4ZXsXLSYJiL\r\nLS6etDeFR6GgD4Jp1BSSyHiZI1LuBsP6C+rghwk9XnAMTCi4uQQQBtq2ccc7\r\nKPb/3tttJxVykpf9JG8sFpS5l2KHtrKYP4lHnZyq/NPgV9UoWoqhFfVpPnZ/\r\n9yWrvJml1j+cFXnO9j4Eet/m8XdVShBPq7g=\r\n=KGm8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.98_1650065763542_0.14017255224739467"},"_hasShrinkwrap":false},"0.7.3-nightly.99":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.99","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.99](https://img.shields.io/badge/version-v0.7.3--nightly.99-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2425def58a4378713a6c6339cdafbd14b1bb7200","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.99","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-eI3JUZPwcMmuX8XF1DE5cxH6L8gwtD5tIlWfrLV7tZS0A/jc/fgKF0jqOgz8p2UzOTcIoBGAHhvyMWsv86GPPg==","shasum":"894ed8dfc9fe6ded83a9f5671942ae966b184039","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.99.tgz","fileCount":7,"unpackedSize":27124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuhr2uU/b/TXS5C1778aWLqHvHmJZ8R6za90OPV83jOgIhAMH0f7+IoCbd0bjhc0lXtL7MTOBOo111shlkwQRNXXP+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiW1LSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8ow//dUoTZt98wgokLV/J8MhZPh7AIAS6uHLBR2+JxLtZWFxPZcDV\r\ndqgTAzdkleu9tK8YVg8Bt8Ge7kQ2m1aM6uxaHKuVEKOTQDg6yIwIBxtfaSyJ\r\nNzMGG9hKVHLpP1PLeI6RUsf6+ZN0iqYBFvl/nOsKlxOGJAT2JphAREwiou4R\r\nP2wpnQEiRqPbKlxlS17u5jcl3EeGXUgFao8uT1M1p6n5V2xmsOIT81Voa4xe\r\n6QSD4YMfhCLvrvbp5yV2qdlRKsqbS9q83zxw5fTtEFYDHiuIh3fT/wyCQs6b\r\nXx4l4yjWyRvpxdc4VotQB9Yu0fNyMdU2DAr11zbElncFVSEz27fvgD6CIeH7\r\n6AqDZm+hO5lHL1yj3I/wff3oDxz31pyO1xkbpW+TbyJ7rDiDuknliDkGF4R4\r\nMSSB9rn/32hsKaCCCXtuKO1VHOxso8cptdzIqY0tSXfJZCuQN/8rD10aW/qO\r\nv2cj63zKWj5bmVuQLM3RsAgmU6G1XGKDO/5bd568GKYFqjw2GlkQBmFuBkjr\r\nmIc7HgPdp9cYl9YC9UoLxQq7MHtFQhjVt1/aiGDNWiD3QLzsvjCAW4XxrmRP\r\nriPe1R9YFqel2JBVgA8VSZFJgG14DqCu3va6SCpjsIEzQOl5nP0/CFuX1pCc\r\nRFdRW1H3dBvTRSfv4YK1V1LUB4IBxrGgiy8=\r\n=2pqi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.99_1650152145778_0.574694523775986"},"_hasShrinkwrap":false},"0.7.3-nightly.100":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.100","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.100](https://img.shields.io/badge/version-v0.7.3--nightly.100-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f0c0f373a4c515e6a886a72dab99ccbbcc16d7dd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.100","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-bRrCplmlrSynF90hhK4qbTBjnBenzE2PlozAVpfHouk4aWrM7nn7+ZfH7KYKW3a+yyk11Oz95Qc/ND1fdzTj7g==","shasum":"99ad62d67b698851247a5e6cd7d94228fba0e88c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.100.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4RCzOKHcfWEqI88y2/Pf0wjjJh+fwsb+a8fwiTz4SSAIgGp/xcMjh8BpKxFE7oxGAB/EOjR3kLW3mXKj9ZjrF1GM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXKRqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQShAAkCepBbOPgCTZSxV+ZjPubawiu5LbIr8c7FbWqbru/HcnbM5I\r\nVucAD4T7qNEpgNMiHCLCZNQqs/YEQPCU+cbih05ySs7W7J9NioAR2ytwD9KF\r\n576AEsuBTEAalwUvzTm4qQjV8sFump95Pv11oEV+c7a67EwUoafRSB04p9pV\r\ni+IvMEq8UYzDooN4Hp+oXTma8DdpuxLLO4U0l28NnfyW7YmX2pcS5/Pmzp1s\r\nhLPARVsg9jBtuMDXSJT1uqcM4/R+RI6BBHj1zdxOq8TlaF3O7YhZKrBW7kdN\r\nbaN5CSVkdcILrdsEFldNA2KdueP9ig5KTJ9Ph1ri43rrw9jfIupcld7V0ZF+\r\nGTrKu8265TXUVX2qlqauxs62Dd8eqJWpCMz07TqUL118UOWZgd2RcR7kITPm\r\ni0QjPe6fqX7a6xFRtxXUki/nlhjeH0XripSNXIyH4zFbJeCPmiAPmoE8KKB4\r\n3mXWzpVi1n2OKuBdKwCww1yjTotqt3OKo9IPVqV/H5CCzoFmQXlhVSyQ9JYJ\r\nAy48XpsfQACjTmc8GAybFao/boJ0T2RYktxRtxAsPaivQTTjw5lYkwUct9W/\r\nurlFgNdLefriQ4X2O7m7i4/xekiGqgbUaaxFUXOp4VZBMOliNcBGHp+xI0gv\r\nXQK4LSxXMKP1Z3zjrM1soo8KvGziFp/LYNk=\r\n=V8DE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.100_1650238570291_0.8771700636293176"},"_hasShrinkwrap":false},"0.7.3-nightly.101":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.101","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.101](https://img.shields.io/badge/version-v0.7.3--nightly.101-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5bea7c30ff71779ed8780a015270c45f98ca455b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.101","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-kMBIiRpqA9UvhW8xJeAt29UZvuVVXJ/JPOEFZSc0jy+kudQfvaYmqfuG7MlY3KewaSyrttXq8O9YPbfBbfVCFQ==","shasum":"4876ee03e78b8770cc2d1c855419939d856c0fbe","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.101.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUn25oz2AI60TubapH+NkJTpadj2SQJUz/XdsSGgy+zwIhANSkQjVFCARyGHBlaXa0Uxb+eHZJSU4qLM3ZVMIXgf+R"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXfWUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXZQ/+KRaaoeNFNenbsCfLZr9sh0jtJIGhQmH4gevVquu1NgqLgLxd\r\n3ELuTLT8zJV0PkExmVYdYT23QhzEwhkOrl4yEIZT2rwPvB2Jb6rZSpwGbsyU\r\nCcK3ZRltVHBXKi0G7w5P9+S3ZEph++fJBWK0GbDUhtnbr8AIf4LQL5Zhw39k\r\nmcbpE2sF4OqOQ6BT8Z0PS2EGPTPqvvA08/nt6khBCN+c2JkC8xXZIqeNDu9O\r\nVlTBg5TeBkchLDu3yaeHnH3oi1QkxuYkwgqMWPkJ7Of6w72hznZ1S2N7unm4\r\ns0mYUGat6KpBfhz7Njpo54Gchg9DpY+6eXBmoiK7NL4+5+fwJpZ2cSqLIqo0\r\nsHxhwqKtiFoq+YXoK0dOCxoMK5nRwx8wnZ7Ol1dIIa5DeXBsdiuAPd26NyTN\r\n2aonip42AcTojQVXOxmz0EWxHJ+MejJ/zHoedquHNjVqltRvdcrLaLg12NFg\r\n1FePdzXE4gpzkqd6uHCOepv+9EZGePBiMuEOh/cX03aLGoPkXqaTO9dUr4fD\r\nwvtlZQ+86PhRNlSnXaVRP0ChQLGkf7rXSa4Moe7YkDCsQBi73YjTGGQ3S8P1\r\nG8uitUdArcwi5fd2sIyxGtsEipdcReejRLRSe4p2DXlWVZHi/s2hCJz8N4HX\r\nbxnzD0qdrhAgbef51kN/7esDARKDKmiQOEs=\r\n=10WY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.101_1650324884671_0.479009454543164"},"_hasShrinkwrap":false},"0.7.3-nightly.102":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.102","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.102](https://img.shields.io/badge/version-v0.7.3--nightly.102-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"af7e97b60bac36b5b92e7234d2fc2ca9644f5ff8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.102","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-AuN36KPYfdCHZdTkMwUmhBUFUpFVfUcsORfUS0ltrnJSidlJL7GCi/0k8KL7ZQxwjObFx1elEwgDxWf9W7sByQ==","shasum":"6be9755edd87834092ba27c2d12088c33959d96a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.102.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSTLmd/S2teTn2zpIvkylQRY0zGE8Fv5xMa+iFZ/lp1AiAN8FhP28gGRlxNeeggaqWy80GzwaghoeWdv+6+25G5Wg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiX0c7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozOBAAjLcxfiQUxHhZWcjesH8zJTDtzXLNZjZYe/4qPSrUpTLMLWnc\r\nAd+kVJ1jT8poY2CSjGUmJWHzWRHw3JEieXWPaov6outJpQHP0653DpraElQX\r\nTOJu4QQeCeA5Jh3fvXI7C4ZqXLVmIaFXcGtoybx16CSTL4AU1yn2oYVvLCHi\r\ndn+LhSMQSguEpbEW38swmqzQqU9sSiamAGYGXrxV68u8w8badIC/5lYDlR+9\r\nKWUsGfJiPDV9qRacc2pRPk/52VLtI8O1SxSOmfk4gyGk+m107ClxAmjssrGS\r\nFX8RrfRF/qZo60Xs5syB+KppGQRsfIHYGL6dhA6RCf934qr9N9OIPTXLTRJo\r\nNwaYUkIwvO78lxhEsW6gIp9avZgBsfSERdbHvTcUDitkmqN8ItOq4aYsK6r0\r\nKIpKT1PinD/AnWCcUgepkrPHCaa9WeoqzUvBkO642+TPSMl83mqdSbwP4yyQ\r\n6sS3rq4sIkTTRqR5hC+YZKWm2Ac7kY7ohiNaFQyeqfLmRMihABjng0FSbjkW\r\n2cPOqwCdhiQV8GYhRopCsM0I9AZeqSMOSjx6gj1Gs1q+XIurh/ivcuj+H6x0\r\nf6DTKXj5JBAPJ2WzWI+sL9xMV7wb+Nex/vCKCbimuh2Z5AdHKhOlMRQCSdpe\r\nJ0SIPvdldNJ+W7a8iR8wd7TNdaheJaKxIgw=\r\n=4c2L\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.102_1650411323116_0.46779470348153107"},"_hasShrinkwrap":false},"0.7.3-nightly.103":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.103","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.103](https://img.shields.io/badge/version-v0.7.3--nightly.103-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8917756a279d8ca9dfee5ac69bd8906658913674","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.103","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-JpSdS8wXpAmN+5rCHsW9Xiv3h4a7leixK6ndH0stBLYWzv4AGuDoomYId08Yi2lURFfUwZMsDMkly5Qjpn+Aig==","shasum":"ccd57c3a062ab188b0cb75c0c2453a11274e16ac","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.103.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCedspRmzfadhvdInYebXiTNXCNV/wpPWswE+xNoSwgYQIfJZQwxwf2e4VaSC9oTAbTyIW0eZJ0yXjrkLuQ8qXkjA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYJjzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4JA/+OoJMVqBhOBgtJaWaG+xtCJnn/akvjhrwHKluYn6359Qh5bAQ\r\n+X+t3ljfkWZgdTLiMFgDEmrKy1H4H/VkZh9L+qdKvPPSEt0KD0G4mgNdSl3w\r\n2XajRD7YSlv+BGcB9Tn2v7GAkh50YNmtsg0BtnmXpSeTQs/MlAxZgobDD8As\r\nkjhMWv7sVPIAPeAPw5sEHgxJ11iPwbMAyIT3a9QMq6+3hEYNqbxqHFq+k+Hm\r\nvz2KkR3hypv8PXFPWMl7ZHrAh3jgW97KCzx7XANyMffQR3Wc/cm82J1CWnHv\r\nRMYhaf9cwfwji44lXFs2LbU+cuyJPlL3GsGzWQKfPMFDOmcxhrYptbGViduk\r\nSXe0fvVqKJecTXRlC2LBpqzhCDY5vmhqdaRbx1NdvicfPzPKeKBKpBMATNMe\r\nP5heAEuLu5B/QNmvh2V5BOuNUj1Fa6aYZMx/xr+iKpRyPOr6jiRCAZQcJa8H\r\nDqU3ptMBeWjY+JnwTBar/IsKgCO1ibK/oJsmlgye3xtJcJkSYwnIEXrMgruO\r\nXZcfrUFTwxXhtmgrpRgxLLgqUMbpLi3gk+ngeLspyE4i4BZJBjdNv0l1UEz7\r\ntS/dII5rZplNVbffER5nB5rDbbGx9gs7R94roax4JOr708LXRwZTAyGKGoHU\r\nxzw5S0WCevvu2E6J30vpM2Q37TxCz1lCop8=\r\n=gGqV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.103_1650497779428_0.4987048441580719"},"_hasShrinkwrap":false},"0.7.3-nightly.104":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.104","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.104](https://img.shields.io/badge/version-v0.7.3--nightly.104-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b9abceba953f799c2833742da062b1699e742424","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.104","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-FESwKANIF0aPVuNUemzSzT67i1OLHfzX53nEcgx6TbgjX1c49zwrCh0X7npJ167L8yhOPUu1jjOy1C4jh8EKjg==","shasum":"4316dc622aeb477f0ac072076255e7945cbe4575","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.104.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7yuWjK9RnxKjwQva0pMauWkkYoSP3S5dZNk+UXOqUIAIhAIQYY7MsmFRGUAFkh+TYY4aK5c8ne2Phh/L1o15JxjxU"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYeokACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/DA/9FKp3vzsuk9sX3wshOMXxxjj6Y6Xeq5Pir8NjdShSJKpgpAnN\r\nPVI8sbSOEhaRVGZl0S0MUAOGjRkrv2bqBw8ZSwPjWy1j/UC/c1D8UJgYvd/L\r\nt/diHWUSGA6Hex77OIL69L3g7i8xIfV9UEzEcCy7EFNbAQv4GVXe+v1TjCMd\r\npgtLRoj1MiqJUy8Q15tKT4n+1JBMuigtW/ru335mrJNx+1R1UTZ39BVi45Dh\r\nVnPso4frB81h1dRSkAOjoD0xuyRia+s0Ad1rtDvzYDEORp3fBYj7byLidNgr\r\nHV+oc6UdtM1jTzA7+0ee058FA7LF8oFY+m433nZDXHulsf/fu0MU4GJO945W\r\nTT39x7wubkN6gQYQr6SMIP9yBp32ij3cU4OujphqO/qylZ3ci1EXDIzMBrka\r\n6yzuLKSQxXOf2T4Ea59UsWY1K08pwaBi1g3bXDP+r+puwP05s9DW+55b9rCh\r\nloz1imohg8sa93G94zEq9VrFLPRdATDPYHWTEDGyl4KM2PolFhwIG0Y59w64\r\n529BxsRevkvgdsz24J7bJcytXrjhAsZsFI8RONteMqu+CJWPkcAmL3/Ho2pu\r\n6MLQ8j79tsENWDDRjkksGFsQQkjulJjKSfwJaFSg5SnCSxjNY8FezH81cREF\r\nh8kVRrMM8UmdEppsWhmFBgsr/LgDR+nKiNo=\r\n=J/Tr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.104_1650584099979_0.3098715535924954"},"_hasShrinkwrap":false},"0.7.3-nightly.105":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.105","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.105](https://img.shields.io/badge/version-v0.7.3--nightly.105-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b2c340b6015dd146788afde9c63355d10c19a86b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.105","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-YLg6uX+waMrNnEwtkDJ27filF0sjLbvgwn66TGSVSskGGu3Zlw17SIVySwXKR4fXotRo6ZiJCE6Ct4an1ssK4g==","shasum":"368367aa8288a101875eb0a5014414dc7663de8f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.105.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu2vtVw47CggLdp4X5EL+xFOabf09jtjhcpX1jm4nKPAIgVQ87azg2boD3jhtkesWARuLmUB9aqe5ZDqa2T/pPPXY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiYzv+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwFA//SRSY9HA51xgjI3OKVlvCK8uYpJTXPvJROYWhaNN+aEE1XVA0\r\nhrRB9B0YO2Mx2raRJocfTmuIhupqlnIvbsr+amO7Mvr2Wqx9u+l/cyVfP6Ih\r\n2845cpuujNNus7z8QfCLk8rRGJT1qie1kquODXBGMbmugI6Oevt2chNhHjrK\r\nmUc8IDKxeRhrxMxVEepJf4IRFazK3NYCfkGR8cmXdOBiTM0QU+0sl8YrKZMJ\r\n3gcIDD2/XIqj+hfH+PDWytAhXrBnFzOalF/y8IDdOEN85dJ1hjYKDbScJjxY\r\nI9dbofR0NP28/sHplLpZH7mmr882DTBUyawkmeWHNSJZV9C6fMqKqsLEvL+Z\r\n/nmip0qKeYjd3dm1fb/OqE2XKliI4/LFGGEooovICDegEzZuv4d7abuXfVkK\r\nqyZZM8yThAAEicROLTcYh2QS+tF6cRkOhl7MStsd4iYCWEXKWj66OKEBodeq\r\nnOaurZvNuh3QAvHLjbVLPlScDf2UIwBIRjExn6YGb7LaiX2itUrIz26SnyyB\r\nUlfQju05Ja2CKSE+XvPc0/mQ8zZX79U6aNYjcoJ5WKO966+edgWUbzFCYrmf\r\niTY02ZUDR12XYQL5J38isHM+Eb+8xiOL+Om+5fh8R+r3nFxI96db32gzl1to\r\nGdjJKfTTuwSGzt3fDALnBaQzjOsK8glynQg=\r\n=wa1V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.105_1650670590142_0.021432869816325528"},"_hasShrinkwrap":false},"0.7.3-nightly.106":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.106","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.106](https://img.shields.io/badge/version-v0.7.3--nightly.106-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"759efbf9c73da6b8a257355adb1ef19ca0b34e62","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.106","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Wu1302B2dHLHFzHzGlOK+Sa5j7Xjw5gx24jrbX1bnMFruiHNYvlzecfTNWCSruRRRPGc8xe4FUI8BoArdeJUKQ==","shasum":"522fb3f1945e7e10b74c01f92d8d187a7e140e49","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.106.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiTrHbg+tLK0kjo0N3u2uCC+CGgjnTs8ixlCOYhvvsjAiAtinym7nV66PKUf4sWEedwd//a4boUlD3yVZ+rXUfKVg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZI1kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9Xg/6Aog57184bD4+lHYv6MpAw1vkpYSAoyYKlnk0vtV8cQ3vP9kP\r\nP9rkUAiW/8g7q2xxsBWWiLRZOt1vUUWdO1h0FEMnJFXTUdfJm+QcE9cqS+zD\r\nZkyWwe4+t/+6Btt1QW584st7mB0C1WnJ+BnvKTv9BI3SmBDrKg0aJn3+kLNQ\r\ngsiZIDdxwity+OnlgYlbYvLIfUJwMuP9NkWVSw+wT+xErD1fZKdJ9cRA7qI7\r\nhPZfPH75sf0SJ++QgEhthmN+VhwM1vGMbopJjMFjcBcHjRC9ZFULLHKS3GHW\r\nIiA0oh0hoYrw9C97CIFJbWvZFNjBCueVA6HBBiXs6vHfNhGwKAtE4iGvQc0x\r\nfqqYT34/dUBOu7rTddxvYgyIs068Dr1pGQUl/QPu2LYr0Y0+EoIDrnx3Ihkp\r\nhko9KEKIkWTVK2D+mFdv5xlA2K9ue9oJH81d5A9CEb0Y/754V1YQAyriEjzG\r\noDNXjAKInNRTytFTPdu87MxYyJwbfrQbLj44I9uiJxDyKzIwIuxwG7JLeL6U\r\nL6MCUTcqd7woAMiYftg0hJHXYA7/s5EcRPtyxM/6zdSum5FKfm9eMSajmsQ6\r\nVu+EPAnRABVCY+h0BLQMKJWeaCF1DWJobsy43iyRVZ7z1ep/al3RhlWvUjKn\r\nO0bDMPh6d4R2cdcADK8ncEoJqtuT40y0jo8=\r\n=252K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.106_1650756963920_0.8095277828278402"},"_hasShrinkwrap":false},"0.7.3-nightly.107":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.107","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.107](https://img.shields.io/badge/version-v0.7.3--nightly.107-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f33264719dbf896071cc1d92fff74cbe1fd23d7a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.107","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-R8bKW+DVdaofgWa4zG9EFOsqNQ+RmGnAYA3SzRi4CDZ8MXcn4PO+EkDIVvedXD+IXsLHSWc68wYG7B8mBtUG/Q==","shasum":"a13c4eb383ced8b9fe76c7b14a80946c004eb554","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.107.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEY0WdllwpMGAAFU3p358je3aI1vV7kP7LLBoqT4o2mAiBkf3OQlNNXFWGMWUPNj6jDX9gsz4lpd8Civs5gftJJnw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZd7sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHERAAi7Zqc9v0J8A6UtiEhPETkpqdxa2kWaMl+NV+f8QP6Nde0MN+\r\nJcH0b6gTmcZhQAR6LMfb1VTYRC6tbURgEY5jLLbHLoKWlzU1lQSjlJ11Sc3J\r\nPuERqIopEX56iKesq8gqNunD5pggbohLkRFxVfsIQfZj6FOc3QY+SRbTZoSz\r\nMXFZkvYgvuG+xLB9FLQwz7xZ/Yjs4h0L/sHG9WKI3tH3ruWyCpqcVK6uPwzN\r\nos6I93k3FyWaO5vc1mBWMkm1HYS9WS31ch6cF1yz3ZA/A2b6Z78G+rsPeDCK\r\nlBGeYeHJ0oBJjvmiI4tulktytAZcc2qHN5tIoBJEQ3aDYU4sRIFXlEbm6JMH\r\n+8ZLu9qwNK7HRgbpRn4C2E0l2y4/QxzUMEjFyVKIJ8q7OBqEafr8I1gYJery\r\nD6wPh9lSgz9ueuj3k3ukr+2bpovd12bUrHph2CNY+mgCMb2jodruSGmAQ5V7\r\n4sNx1iCuUeCGkCnNRBWttA/NbPvBOnT8zYzZFoJqHe3N18XZvqh3CdSMXgjX\r\n6TuVgiXf3RYuSJWoPL3/MHX5viPlAW2VyJLshBPWwuO4frKK9lN3WbEtzMc2\r\n8G0hdg8RvaoksuO+ar3DKDCUOu3WKUQbdIGHulAyRq5I/3aNaolfTcs8ThI8\r\nLmrN7p7R1f4KSHImNnyMM0QokcIYGrgmCwE=\r\n=SKOA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.107_1650843372441_0.32718352904785575"},"_hasShrinkwrap":false},"0.7.3-nightly.108":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.108","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.108](https://img.shields.io/badge/version-v0.7.3--nightly.108-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3850c6da13cdf1843aad9f1ce9f404f34c95d56b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.108","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-rwJx8omoBqL7JlIm7uUw4utdhDwZC5PQ1xDb1LJ82440n5f4BN5ETEQTB0EK9wTkUbpK82SRDYH/7iFUBrmRyw==","shasum":"b06950b8b8c45aa301b0c56694afa9f4197d63d7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.108.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD80uvDkKmr0I312C8gstKWgmqhDcoaHG/V7nI/IIt3KwIgD5vCscqPltz1/CsYeLH4CBVhrEHYD/selhpVTX2UIT8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZzCbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCpg/9EYlEL5+CNbDRtXDSjEuK5u05Rp+jhzPjLgomMsGbD/72NeTf\r\nnK+ge6zJp6SeqaxC6O3J7DBJTPABSzGhOJTPFAL02aa0/myRIS839q/LH0t2\r\nbD9mecaTMLmRQbGG0abJ4F9KW/L7y71KL8NrcIfZ8okyQEYIYVkSNz5UOcoB\r\nWWZKYUNqX1NsR9QK+i2hUzz/79yf2cDJMlalDEpUH83aJvDICKAHm65B5hbr\r\nyPhiDAexcBII1qWXro/N05abUNfRyAe05jkZELUFtYPmgugSM7ESKTF8GMLG\r\nqsTZ5Gs7NLIb/oIiwapVBbmTmhBm0RNxOc0x84kitqxRlu07VbfsZlzaTHBW\r\nHDS1ANmrVGNxKo6rVmRukHicpXPD6fnt6AlVgqTspxvqL7qiT6x+5a5lzmSH\r\ncUTUiawNqYq5dJ99+NrS8g6WL+cuoDyIesuzSy5vCFTIQL5ICnHOFZF54Z1V\r\no4j4KRZlVfGwkfb2OorfVvnnUrbMEdwyMzhvF5t9qJGlBPrK7+U6YodvZUFO\r\npgybD405GqtKJsEGMYzJKqgtpbvu5I6wj7og9VVY/nb9t5BGqa7eB/F6mMR4\r\nYPWA0MZmDjhTPrVtkufyueD5F9ggBSO2BXMatbtjJYSq/C5S1zRpb5AVIHVh\r\nSD42XcP60FkEi/zYQzFNfs7Xqbf29+2aHKQ=\r\n=ltAI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.108_1650929819547_0.5739755284050272"},"_hasShrinkwrap":false},"0.7.3-nightly.109":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.109","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.109](https://img.shields.io/badge/version-v0.7.3--nightly.109-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0c779c67a8b3a36033e10e04824b6b3384a4bcf1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.109","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-JoOu/BCUBuk1B/sGlivaijSEcJwhsy0jTNp/7Y+UDwplhWnZVPIu/mEmDfzmtCUWDqqDvImGh1yChIkF5FSa7g==","shasum":"652c7a777f4d4dc5b0bf61cdd26fe48ed4d7ae92","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.109.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXraeRqM1V6Mzfbtsu9pj+PqsM7/RC4SQvQIpP7aZIfwIgOnM1cUz36T6eO9slmfIuVPAVZmpTrTIgMQo+L8TzwCA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaIIEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpP8w/+MPP4CSMkha3Dc5uPZAhtORv+RwJHykg5y8kGgK5D5KBxhVZ8\r\n18XHqzEIcFZbtUoX2ein9kDOMgLsar1aAuPjhYHZ5KZ0t9uiMrClJ1r+Mcuc\r\nMqhAuivN+dKZDDY1e/4GarKpLgI7DP3OXuhlJ8V+2a8XVo7kigN+c65q4L6g\r\nzj54nVafqxcWLa0jXHGb5lhGdxe3HkAa7DyxhhJudUPAmo98TMYt0Rmx47nn\r\nSs76NtEGk9NqkfHANfmFUVZbdwphNMGldZdV3aXJzBkNjL5i7JL5c3Um0osP\r\nzhI5+T8hch0+HDtTh3Zh2t1SmVRywXhvyfM3YbEFP9+pqB20u92kfBeS7lOb\r\nccpiVUwRMlTOnpqMw68Ym7QlB/gBywSh+C9lK0UE2cO+rJLZ80kbOI4Au1qV\r\nbqYsn0gjo/PvlsRCf/vJFUKli1ogOZKnXL4LPhVCkjW7HLUWYV4ZiGTIAe3B\r\n45xkGGINAqxzb8Qg+HcbgEOgCxEt7GE7RNlV0b3+jiad3WI6BdX9ZMYBL66S\r\niNDEJRpHHCAzQ5hBl4nkI9YrJVijB+0xI9+qJB2LunN0R9tqZI+0692dnXGW\r\n1Ak2N8/Ob0qC6Ang3gfDrZNl+Yk5Gha2W0NaTFPnl1/u7IVjXUdeRiuJk5Va\r\n3UN2d1dFWsPR1I0Sq+B1VRgZ9tEu6kX7YvQ=\r\n=oUoq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.109_1651016195821_0.7005083780473347"},"_hasShrinkwrap":false},"0.7.3-nightly.110":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.110","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.110](https://img.shields.io/badge/version-v0.7.3--nightly.110-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"22434cccb8ed04194c921e1f14d92844ee9bebb6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.110","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-b74//kTnJi/Bxtv3jMgzgEHeeL63TX096ocLMqQYhIkqtuexJPtiCmsszToVnslNFXp7tas42tGYFuiVw94NyQ==","shasum":"ea8acbbe26e6084657fe989c06e92550330dbe3d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.110.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE9FWXDTHYcAndML5yTFBg3/k5Yj2UEudERB2XxObm+wIhAK0LNOrHh4zTfSe2DnkaNrncvklS8/jPYPCY0no15t0J"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiadQFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzXg/8DfV5ktIZOeMHrbu2zeZzEq/0sWrmTCLPbvubPx8N4GzhG6pk\r\nq4xtP7GDVUfhEW5ImG+I5N3m81tIl8zEOJbFXCTOLqqNEVj4iwOusMReMgRg\r\nkQyjkBZR0LTxpkdvaRvQjR7iPzxEpvuZFjoa/Bul0aWrIrs72RRhWYakZMdM\r\nTpSMtXJIpehx/hkDEZ3FVz3xdLvVT6cSd64cxe64/JSxO6zuTU3tTR9KMpll\r\naW4SA0rCxFWY4huu4Kbh0ZzvZT3bofqw2GcECVNylD2SSWYabVdT5a318LRE\r\nZjtnVgYCbbF6Q6CXtfHeQe01Fr+ik2BHDsALAXwzmtaaJwRxID17sbtujvvb\r\nonmFRzh9AjheXp/Jcmyr3SmdAOlLIer2uBBZLV5Sx0o+/zde9O+zfFwXFWXW\r\nwMMCMlq/7eK8FjOgwIVOXgudusZyystJuDpQp2NwVDUNau3EIZ61AzbTsvq0\r\nn5Bac1qS93VoKJD+JUkDOaibvuR+w6rQkHVdLVcCCDlRXcqQgtbcyE5ZX829\r\n4GwIOcFJ86DcI6Xqw2XLpASxIzJh8Apd2qNu9Xnd38DLmmpM6RQqhS3ta6n3\r\nqxadvqZhjDEv+tyB9IA/yMh0DuQEzVw+9nD1QsIL6wZnHimCL0D9ridiDH2j\r\newEJZnLze3IRAwssYSqDa+nHJPrcaLFX3wY=\r\n=rWKQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.110_1651102724924_0.5468242490676847"},"_hasShrinkwrap":false},"0.7.3-nightly.111":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.111","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.111](https://img.shields.io/badge/version-v0.7.3--nightly.111-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"19076cd39e0dd17c51fca117748696a40f388176","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.111","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-xwTr+mYyfpEdUX/ewwgSqYH6dFhfz7DBIQ+b5DS3bDXg63e2eZLm+f/2PjxRDPDk1GiimmeWAEURGnIdxqBBHQ==","shasum":"91f61c6137ea87e0a30b8be37a1ad664321faca4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.111.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu6OLCVl5oU0NyFOXy1RaAGTh0vEJ6zhPIpaeDVjga3QIhALON/WNaMe9bojHVBtOO1gOt3e5l21mYpWhvuOheW3Bu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiayT8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/LQ//SSvH2sjwimXCJHo5pYb3RrCoC/KADXlpNFT9+uYrnQDAHsjG\r\n22RXsLp0RPwUnmRzuLuuZ+Qy77gVeIcyj1exZ3iptRfXm14RZO2LKkktx4pN\r\nw19xkoum3LzdN6VFXRcDNrkCw6sk5mN4d4C6Hh6Ai5Hos81vM2KKoaai0wpo\r\nz3PGP9hK2qdhplULKOrdXHt6UmQ6VzquM6ugoP3UyIeTjpdc6Er9f+l7CadF\r\ngnIxhu42nrDE0AkJDelMr9FUMimwSFwwfFZjthSnC18XUHplFBlB2u/EAf5g\r\nhFUlA3rrqU0CGKRE2T6nao3BUC3TcnV2urWzkRmSRESgASAYrrm9gSXwBK9z\r\nMIw964JvXJWXrIqGYxo4gm5dsJ9s/h5R5+7SSd4XhCEH9Z/IJJq9zu8L/ReA\r\naN07ysr+99NBSkfGzJb4Rt1FFjZ7H3sEcibkh2JmJFQXW9NSuHxbju9O3M2p\r\neq0sp5tjKRXtxgQ2FLVheWe4lR5qkJNNNqEX8UM3ArY9mpAkStv2WGzgYMwb\r\nGLyQ1Zqn0OpKAn8UQIOZxNpynJuOXGl7OQMCgrHKocdv+gDd6c8UBvK3Qdr0\r\nUF6hK2/LdPryy32vlGJ8yX90e0/IfkoORqSjuisv2MXGNYc/7EdHwSM+xWP/\r\n0I3F53WRaIMuQuW5vqn1CXMV7coyLep+J1c=\r\n=mnqr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.111_1651188988037_0.7089505486680479"},"_hasShrinkwrap":false},"0.7.3-nightly.112":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.112","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.112](https://img.shields.io/badge/version-v0.7.3--nightly.112-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1ab9b0aaccde0592d9088d071bd25b6f933ffc45","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.112","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-tkLL1UrHBnPztYZuV08KkQ9j9xRLZ6jTV1g8ep5zKvnC3QwtraYfGIM/RW8XV51HNkhOgnma/oU/GdDuz5IKcg==","shasum":"241af1e73a6914bc24d2a11b94861c8704f5d5ac","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.112.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD3MuUNsidjjCoP5TgFEu31qEdO9uWNds823RWQ8Nu6AIgQ/+3AUUyOMYE4E/UYtJ6YYXahDEg+L5odsEBOMIDzKw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibHZxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQDg/+OSlC0zmbJSvflEtj64oedCjqKhUMIiOvJLy8CkTGqbneCpCV\r\nD1JzPgZsI25lapfl1WGCAReKhIuIFdDPO43y9uN2Wf85iAkFR6Dvw+BSLR95\r\ny/+XCQCNBSpklJGbQglyHF++UqwNTIXgtEWdwOxjs8NVFvaVW2YK4VbTt7OU\r\nYYskBVaH3kD/YH2ifdrPbB8Frgk1/CFreAzQyRDyjf9qj36s2e6C7FQCH250\r\nJ+NREJ05HAQs32pAg442xND09X1XDKL8Bj56OG9DV+kfv4ra8JZnzH4v+PyM\r\nuO++XOwZ/QHWBc4BMfBEDD4W17WAz0PqeyQCgj1eRd1upxN8flYoiB6JykUP\r\nVdD/fqMOoI12Gn6D7s0o8GAoBtRzmYxAV7aCN11z52o+hqLfjsyopvrjr5fi\r\nu07ymxk4Fx+SFUY0mj7EUwn50okMZbCJDOa3m0bT3iRwE3yky/TKH0T1twFI\r\n9O427ArBhGoybS7V6hzmnjwrZxWdkTNb6FgnNYt8hJ/vcn/MhDsB1I5Gpc6A\r\ncwpg5y1LkC0EA0TMIa3fIYtS6J/CnlFpswmHlaRn7yd3etOH8/OR3ywaptGe\r\nxgJLEaV1w1tSgahLZmBZHEQ78U6EJGtiK6fvgiGtTDc+vZkN6gRamfQeIq29\r\n5bwGpkdF22RH4Xrx68D/zOfH5CmfUNWfIXo=\r\n=t8Ew\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.112_1651275377502_0.6080059270116385"},"_hasShrinkwrap":false},"0.7.3-nightly.113":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.113","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.113](https://img.shields.io/badge/version-v0.7.3--nightly.113-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7a3f0bdf387549259ee43f2a8980fb015b455417","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.113","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-5TKuOK1JDwS2SkwpurYa1nheT8Ng71pHg5Q3HQdJYVi+vJydIl0iKWlYq0/MHcXonNFLYckDRyQpRXLs3zJw+w==","shasum":"8ed8212bdfdc236af0d175eaabc4d4e746bbb189","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.113.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFm7PJBym1+W9gvgqOtHu3wSgk0o0/6zE0vKMDQdIj/6AiEAss4xQVt5tAbgPzahs2XQ9ruRy1XA7GP5h/fhs4/9Bsc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibcfXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpykRAAgGwM1LClS7gx5yHk7NlDZE28KtpaDq0hW3lu9GVIXkvmLmsP\r\n0gs8lA0qn5H9yNQuFruc4Xp+oBhZ3NUPSlUQmpAjXsheDEx61mnsOklG4ssj\r\nfuWZIwYk8FIWw+fyMR/qwSQ1moSt+/ykZYrQNGFAGC1fUwEjLNHAnXbp90v8\r\n5xACFI5R6jmDZn1wW8xRRYa65rrleePqsm72XH86OtNTMH4fjB40ENH3tq5k\r\n+DIIETVU9+D0p2icIOg8IedX9tp9WvohvqsAeio9nhelzXY7YfxH4WayZKgt\r\nIGDBo37e9cTowyO0yIZBXvh4OWZEmcQ4/FxodFhVB949L1ipk/WjUN2RgOEP\r\n3PK0zhI3hkr03cCdkaCL6hPFsJSqgBK8GYAYmXW2dLsKhbVb1swC1dxhGJVW\r\nvyvpDnmE/gbN27jIo544SPHmnoF4zJxTfEK4WJG2lWS4KrroPXZVfGB8Iebu\r\nZYkCw5jW5lXiGO3wLI6R6A1PR5q5LvuFV47JHfaa8fiVKlDz9Q5luPQ4KyZ4\r\nz9CJlroJiYEVS40VFnxIk52SyVg1FUGhmCE6pFpcOOOcYOnrEOyDa4sm3YoG\r\n+pCiTUD7TN0AIaAm982FZEdixbDJ8R9esNt7fBdWRLEP7nsXpc6bwsXw82mm\r\nG3trJKJMM9UyNYJBX8GpCQJHigf6b+fSJJM=\r\n=uP7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.113_1651361750961_0.017447550113992794"},"_hasShrinkwrap":false},"0.7.3-nightly.114":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.114","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.114](https://img.shields.io/badge/version-v0.7.3--nightly.114-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"788eabc9027d928c51c0093d6af2ec6ec4a86731","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.114","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-TPFnALCGrObkUfKHeEP5wFKS8yHFGGv9Mqw6HE0vcQGmfZmgnKifn/ZiuJlD3Le6IVdo5LTFiJ0PmUBPozryng==","shasum":"1ddec9c192cb35a484223000015b78432d5ab8df","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.114.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0nSHEXG9D5YTAw1IW90wKq6k27Wyu7mP7jibpb6UvxgIhAMXHqyr2zTOo6ii4/k3EJwkpy3a2Sxx2sEuZu7NoMTDm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibxldACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppDQ//ReuijlZYSr7UjPgQaeCHLRSaxnvGYXpGITnk9OBIOO+vZMZc\r\nQMrYesuotr1JgVHfbn1qfK55kmS9wXmqTR5gYFEUjQpJdbJZbYH/Es6yjXdV\r\npfRjYv5LRXzESd2scI0SNPwoGXxRIcgJT/7xjX831CKK65LoGtiBbrMYpzy8\r\nSfoxwtTdbjkesKtX1uB7zGFwJJU/y8XRequtvXZxi1VRF5HeO6BLbRsL7bLt\r\ngwhtz0rSZrbfqU6Tfy9akWaLFu7G+W7kFm7oM+ZVrF7WPH+hRtYmCPwgJUhi\r\nPB3ZecfGHSxGD4P1hnvB8RbW2QjYG/6ZQmcXWc2ZTSu2rx3buhj3bc5SDDP3\r\ncfytZBEb2camlBmu92FQVqjKGFLYNZlFy7zXsWW63DgGVahxDMtco+sUxIme\r\njmQuCIe5onioosbbPoOivHU6Fk4i8JA/HgJpJJ2TP3DfGhJ41XbhpBhUkwKv\r\n+dzMGzr8STeBFmq5Cj5EgOg2GSiL8CsCREX146EAJkUJfHj1NZJ1afSHhmBw\r\nx1DTurNd366LkK1p5aU48WNDwLhMncDHSrwUo9nXOTq8U5uPunol//zon2Qt\r\n53087ZXostIxa3/seFQbM1BQvq5gi+QzeGEHVa4bt1jz5uNbHKJDnncQH4QX\r\nfPbHdGyoSMFoDkzEYk680cgrzL4+PTS0LW4=\r\n=5hUe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.114_1651448157327_0.8703355880593282"},"_hasShrinkwrap":false},"0.7.3-nightly.115":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.115","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.115](https://img.shields.io/badge/version-v0.7.3--nightly.115-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e76f7fe427de8e6134aa497b6421aadf983481e2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.115","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-+wB5w8TAkesEBVMFT2hF4bApdaAlHjn4zGcCZHg+toKoow+OJy23hKoAdCgpfO8jUPXmA+y4t/x0zXxP4fWoIA==","shasum":"4d59248032ecb263b706f12293f5b0f794733eb6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.115.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfjtZk9DMrRtg2KlRR439ozm4LWEG0yzqb6xpBU1My5wIhALvtX8aVyKrXaM2nn1S4hqqJdbI5rpihqykh0HZpNPSQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicGsdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRMQ/8Cr9ms6VI0uKFDRNLzL23RckokOMgVMQnLVHoZLALx6b+dgi/\r\n6nvqNYOMIxRzUrdHleo22aycPRpu/zVp2xL7KvW3LsP4nah26OPTXEmzGpir\r\n5tSrVVc1wZcd26YCNhZMHmb6/lzHeS1K+HwGM9mfvzx69olP4N3dPKNN+4rW\r\ndhvygF4J1SbYj/UpLlu4jsMx/G8svUbtojh2VJQYoKdu0NxGzL1ezlwTOr9H\r\nCbnrBo59Nb2VdLwoGhfU/5Zb6zOM0bNGPxGNiJdm5Qtks1S2WOGckciKLIZ7\r\nVgvtiPxILWOHwSQjLafuB2yY/kfttieriVHHTbs/IcNbgc2vG6p9dNZSho62\r\nNUR5rOAMRdi4OD62IwQvdrpdg3m3TiK1e8l6NFZpQq1yqVxuR4UjpKudhISC\r\n6WDfVZKWwOVjJIKjD3PpEoteqBj62Bc2gmm2WqyLxmC1tLXyFUtYA1XIeeZ1\r\nvrTNoNk9W3oA2DCvqE1O7JwlYbaMkNipVGJEEFm3J60OcUJUaRzEIakGX1ov\r\nOHJMhaUTZ4uSypUQKvWI6xEN3iHj+xkOs8fUQ5K04lv1U36wXXk5zFa0ERGP\r\nRtf/n5PV/+7zQYyF1PM2PNkf1zYkOKt6d/8pH+10G4R877nF/v2+KadbFGWJ\r\ng4yjq+nPHmV/kl/E8Mjn/QyMuUX0WPkvsjA=\r\n=ABnu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.115_1651534621350_0.5688122116233554"},"_hasShrinkwrap":false},"0.7.3-nightly.116":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.116","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.116](https://img.shields.io/badge/version-v0.7.3--nightly.116-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e09ea61f940c6ee049125ebf6c1888a8e47d7cfd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.116","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-e1PyJNszi76tEK+CJuVplV8jB2cZI0VLrZ3maEje8juyfkwAwujAPiHi/Mkl3ZnkN/5uf2bWgxP4lEa78Q9Dfw==","shasum":"b942a0a16fb23ceea543184d9413a9d991ca08be","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.116.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKIgd/KzkF43TONphlV76R4zHzIx0AxUtGYzPQGbLy0gIgErA8kD53rQsxAIpyUJ5jLSwA2qB1187t/4kyUGKQQbs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicbxFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXzw//dDJMKhmuMWN3t37xpnM+biV+eUNWd4DJhsTHnhGwWh8gbCdd\r\n3TQMJSLs4dASkQykxrKcvTRvZ2APfjAPbltgS7GDTZ75obxnGQ47rdXisGPY\r\nGsRrAFzErg42jt31MmO2qh0OqQruw542vpE/qfpzladazx/9xy9b8jHO8mQa\r\nLsoGO6slzbrwoJo35tDsYNZvdjf67ABg3PobX247ZLGrSaZ/8LvPaUOWSqzC\r\nbAIbawwpmq7RLVsmL+/LJ+J/axCcb5CmpCg1I4C/MXTFuZ84n7g1RVaTPAxR\r\nzWBp/9uX8Nl0AptMgybhTm5vPvtCx9yiVEM4wxUfox4v6H1lr8EsinUs3yRD\r\nC4LcxbB7MRATxCXZluGUPbhG97EjcyoYfvQhIO/N+pjkkfptW7n6ZFKQNHPP\r\nosgrlrWnHtIxMpxZj4RyPN2pmeaWtYiseHFHzmXOlSOZt8TDLdyOSuQhC3Mg\r\n+TOn3HYyfrvnxVK9Lei9Ndc1KggH4aSjzNfsNum41JNDOOrZCdVLs9BEN+Pn\r\n4fEqnVCOBuj5mAfqpddPi6ihbWL/KJxhaopJFh3KSIPHIQrc6Jiq/uJHBhUn\r\n5qIhrpFi5dkX1i+apkEHayTGcICAR2BfKBTIWivSDVcZ3bcskdi6akPMCTSb\r\nJPXBdk14xaZ8kSsbHwhqmJWvvw2BahPYS4s=\r\n=nt3V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.116_1651620933180_0.5165269551533216"},"_hasShrinkwrap":false},"0.7.3-nightly.117":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.117","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.117](https://img.shields.io/badge/version-v0.7.3--nightly.117-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8cf003f6b3b5653b934ee582e28b55ff89616f17","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.117","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-D7Ir9dLWERfaLthKK37eax/mTgiBy4kZjd7sZZYjGM3Z5yJdE4Josz1rkeGWKhx6+5Wvh3u6tQmHQ2BFG8iSaw==","shasum":"0f22a28b0f8db1782b2bfe964d4d8832a5dfd8ef","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.117.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzTK0RSoG8KvoCD/eFaBXamQhIXQTYtXApBQ7KJM5nNAiEA1AzGzz06Jw7Qjh3rUHFP9fY1z0xRpOfh1k6nvBWoKOM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicw4FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXEQ//UetyR+Sx3FMdwpK0ZXBnXdj9735mZP3mzf8mWG5k2jJPib4a\r\nMUExoV3kY9NZV0tXyJeAy4fxrP/m9X9+Z6L2wxtqQkgg0xyy3cqiYLv3MgBh\r\nxeiw60YiZgFhhy57LNv3HueuWTVUYbe+K8JXTDCWhtHM3yi3JqMCeFrWi7jp\r\nLrs/w6e0+UVS+s8bt0E9v2WRyqH5Onxi9tNUpDNqDg7rgu89DJo+jy0gp+he\r\nQ5rrXKXnhcXjVA6QS0ZZxNNLdJRr5rC2i90eE3m/mXOqW8cJL5FOJr+vtypl\r\nsRrKYGmmYWA4zfHgPsD2SaTa1jt2SfvQI67S9It4BSBUTlHTs6tB36EuI9w1\r\nvIRKdIAlOQozZ0DnCwC2eKPjU/RVr0rLU+98mLVPpnxA3NHyFB7MGEuAKWOC\r\nPdwAeoe5VyYtPn5JsXi9+jbuBsKbLF8kAI3wTtCnix5CFD/7sBUe5Ht2xA18\r\nKOvLFKloA7weMJah/uhxqjOi4vdyNewQ0Y0BL3upxxySzEY/ezy0v7ccfaBv\r\n3F2Eq0ZlWCZhkQOLX4eiWuR73okWBXO0seeRyNsqnSOvTs+JuoOmXp2nsL/R\r\ntLaZGG1KZd7nKHe9Ar/n64JCGcwrN4xmx2Aj8P3evFOyajxN/vbdewfd1Qi4\r\nf92m78ynhCK+LjhcT0RpxEPalImQa5PAmQo=\r\n=5+IT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.117_1651707397460_0.5771191849952848"},"_hasShrinkwrap":false},"0.7.3-nightly.118":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.118","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.118](https://img.shields.io/badge/version-v0.7.3--nightly.118-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"43269389785be4b17521fe528f9714c313230e06","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.118","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-0bbaYHKoDxuCwOJSSQBVwshA32lRX0XJXHku2uErP1BIQjTcynP909+BIq7LQZbBsC6tfs9++TTzCXk6IKcilQ==","shasum":"da3dd073662123e3bdd7c6cf489f01b1a0ab3e35","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.118.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx79k4Z20quK6Z4AQyuwoGYNdtWK23nTF+BCOg/hPvaAIhAL+nGGvTHWcGtyFUpjCrMljYpJkJqgP1rR7L1qXRpJjZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidF+YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJWA/9Hi1A30SUjSjgHQUCwhQ3jWnJc5rbRCtupW5arxhGfzbaibX3\r\nANXotbHoX3UCUA+oDGHrbccoaHyg07pUxUQ1Y+O0WK+GCOZs3UmkSgUkBd4f\r\nQ9jyiPR6xcKAhGNcWyOPkvStEK/0AK0nLilPSh+BhoPrXEKwQG9aZOeV+k1t\r\n5/rgHl++8Bd+13YrvSwAbD7LWr2pTkGYd/uTmdUpPQq/6bqchlvOX18+bVnC\r\ngcdu/OuA/gnJ/xvy4oW/VCEOlKf2cwaANUxyY2c5BNCuuIPREeY3HlCQA1jr\r\nEfvfyYz0UB8WhzS99Ez09Hq7NudNuR2jKuO+5F069hUx0S3APTuNWLHwynYz\r\nIa9PupCtGi9hSxUDKBOklX5rCnFrWEKXE8+9Ju9kiQ7kaX0PvxFIhInSOpIi\r\nuf986v6Y7U0IxKMOpe6dE/A9oGb6xzeHNBqPTe+gPxO2rTb6jP91Hdx/DZZZ\r\njj7NZd0oY1Uf2ikjbTcHs5DpgtpX2n0X/zf5CIvfnbBLTbCTuJSXrv+I9mnE\r\nT87ynRkKlcib+ZJ4PrAo3Jmm4dz9Ew1AqwpdXp0YScMqzKX6bdEkBAYzK0b3\r\nPrxyAdyceLmN8SF/ZOu+34EDNuGFpzbGsnRh4kg9gSgoXGhRsojr4/MMBiwv\r\nNdT4/mRKkpSimif8frk7v9dgqeoS20dxh9Y=\r\n=zCmQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.118_1651793816630_0.17880769286964715"},"_hasShrinkwrap":false},"0.7.3-nightly.119":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.119","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.119](https://img.shields.io/badge/version-v0.7.3--nightly.119-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f6f18a18f1d4f280dcf4a579db873ddc0b564ed4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.119","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-pw3sFEAdp3iFOIG5+mi8LyFJej0MFjyQ652AIg7z+ASRK9pa0qD1mtClkA+Eurpd8c2mTKorBB7XMM6nNT+0Cg==","shasum":"3ca928c54f6f0f574df7bcd52cc5754acf2ac10a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.119.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLuSfRqlUbuxfG202B+UcB3ynckmFUOA/Ur2HF1o7EXAIgfvPcfwAKKU1RSDP2ZXbL//dtnWwJT6JHkzVWF9my11A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidbD0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLkQ//Tiap4HQHC5pSS9pnB80/kqijB5X7Va9pI4S6mnuaM/cvxB2j\r\n+yC6zCGoSog62lNpimXWd8EAu3lwHTC1uWjFYSWabFwz0t/0Mj2RSCKkSiPV\r\n8p9+et+QZRfnMECXRg8Uu96KJnKMvq2DUo9nH2uqNwRJ3ICqaKMN/lvsmRgW\r\ngp7BKs46SHMF2RAV0yWOBzObZtoKBnFv0VTbGFrsqq8rHTZrziNjNiyqNVp3\r\nQ2fLE3I4dJtt4q2sCjmscWEzy4qtG2w605RNQ4VjBCGUgh43LRBCm+SmbGo+\r\nmAu8obNHgB6onocBd+uWL3zOxIqCl4VJ0UFu9eTWrtZrtWDGpNz0uFcv1nEX\r\nOKgGmepJMVEZf1KpSdnMI/7cEsg7uYN+IM7qgKaOER/kBWo2SzA3WadtcttH\r\nhlqioYnt6HAv1gcmJXOcUu6JhAmVMjpNHKu+RbBsKt9C9MLcIP9Q3vJDthiz\r\nS5xL7qyJmxoh9pJkXAEkMNTh1MM836RDmzTCEsAViSBWh4I2+EwhF8pCSIzS\r\nGQXAoH6y4FgjdeWmG4+uwafCDuK+g6nPaJ059wfSzpcjb8MdMvZEDjH84/4G\r\n7iH5bcQE9fWf370djPjKr56E/QaS3KNCs3CFvNsqfFjhYH6dAbSr8Y9OQYno\r\njBDsFy61y5Xis3IckuQkX4V8wEmeL2GOeWg=\r\n=2G9B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.119_1651880180417_0.01887463940596046"},"_hasShrinkwrap":false},"0.7.3-nightly.120":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.120","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.120](https://img.shields.io/badge/version-v0.7.3--nightly.120-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"580ad4cf022d74cc904c69717136d9a66ed947ff","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.120","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-go5kEY1b/uKN2R5RYuErDVfzJ4LYoIdlcSa/TiaxnC2L6ei66GoO1nd7GgbirLG3maxJ0l2OeLh1/9AUPAI79A==","shasum":"31c9c5e74dc8f591591c3b1969d1a4eba9947f9f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.120.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdw4hdUhkJH1/R9COkecqKztIprIy7G11kGIO1zLauOAiEAkOIdF9OQintuhmfl79uT/tbGaNnoPB6gkzx8RgmCNkk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidwJpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpouA/9EdjQLEu8GtGOZvYXC0/qDskOVzmLc0fEdFqUWTKIgkUjn4mU\r\nsWCybP9NkmjtK1tQK6UdeFJn7oFYTX0JgGWTLjIppJ8OceSZ+DtzUjUFHTet\r\n07mK8hhdZrsFjki6Qc8/z79A21M1/h2sEpLR3bdgjuM6/Oxc1pmcB2q3In9f\r\nKC+CSyVplUIpBF7TFdB8Iz8euvFNFYNUty8Gj7QXdrsOJOypWfTmeDBwPmNv\r\nryZPSqt3NBrEP4/AA3/4pk1V82/sEFS/5+VK3g3xm5BEKsLQo3DSdBgA+q9R\r\nRFcD1w+inNF1OmCF9YP81Qd8zKT9VzkMtfJ18qWjg2JJKAeBDGzG1pEzoZ4V\r\n4zYPZUkXCI5HwzbdpAc7Owc4uYwshjgGya4eYqY0JZQmGFWK4fxKBhK8uKuD\r\nCLq2Ku6nSi52xmxZ7wHOTggfDrd8ejik/jzhkpOcEX5YDdXvYaaciAoasA3Y\r\nWO74CsOJH4MyRpvZrN3UI+gjfzM1GCAxua32bIqu5bLarx3YP6VLSMoEo4DX\r\nGQv3r522+EONPBFL5iGbUNW1KHUyhnVtPmHC2MJyZO9pTT4a8JbSPczpQm/C\r\nEbzaqD8OeYX1jjN4o4y4GIo5WU9y7+01LHb7TR2VZRq5TX5MSFDoPX9qrV5G\r\nmrzmuduWMAaKbhUjnGKpOUmK35soyek/J/U=\r\n=AWT8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.120_1651966568968_0.5354382422431998"},"_hasShrinkwrap":false},"0.7.3-nightly.121":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.121","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.121](https://img.shields.io/badge/version-v0.7.3--nightly.121-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9784696cd69124cd09c159905379dec4600474bd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.121","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-rarCZR8Cg8Oxrf1zoZN/fTLCe4sXaeBUjFX/A3QKP1THmVHxw8iAMdmuFFed4QcHoJJKX+xTuWrR7qcf6JFyKQ==","shasum":"f53d4c5a58df0259f4b906bf45adc141f5d6ccd0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.121.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbXxS+3hsrf1FVoHW04pHS+3MjU3aODlHHceB2nRcXSwIgSwIJME43NoNroFNZ2kPty2lYaz5/SMJy9fdd3I3WLJc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieFPzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPVw//WzN8vUhaLaiFoMqykjfVWBiIlS5FYMNAt1s1qeJFvr4GxVIr\r\nJ++30vm8bMSf/f45q+WAp9SD35/3M2mWuyj92U1bOiwqEYuA+SALs3RmXxW8\r\nWz0YezQH+/M6udnCeGQbyNpGQOf4548Hs/0xMEVYnG8UQ1uo8coZuJwJmiKG\r\nJTwhU5+5goigAG5P/ZEq8ZiKXU+gf8oaOD3t8hRrznWXxhtA8+Dn/6pOjJDA\r\nNlMJZ2tQDJe+qhavwoN/odbDkKMyKshgBUcyiNEpyHjU6sDC5wSyR1Vn39+G\r\nwl6tTMALg11tmHHKD4eeD36XxcmL51CdgBs11+A/b+J1bNndSuBuE3N97EGa\r\nPRWmsp2cyY88PnO1hf53LsihZqdIcfmXxuvK5fO4TqaWAD9q0yl6HqkiDg8w\r\nv+3hyONnQAvK42RO6E3tdRlDFr8rCwvWdp74shWz+BPXn1G9PhuypnywuITl\r\nd9LQpsXSqgFeEKoawJoKTAQGjeb+lZIZUj9qpbqiF96nMcZZUzeE61jwfTvv\r\noAreJOAtrAWb45grhAManiFLWS2lqqkO/H3VPcbo4kNzIrINMZR1qdmKNoQD\r\nC0qiL8VXLlFlFo7cGHgM0IkcrwbByjQI9XY7Y0rM6O1BB9xRRoQrb3I68ghO\r\nrSJiw9vFGdOlJcbkzTc2TRPFM7GFgLK6VCg=\r\n=xCOb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.121_1652052979110_0.3561555343043632"},"_hasShrinkwrap":false},"0.7.3-nightly.122":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.122","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.122](https://img.shields.io/badge/version-v0.7.3--nightly.122-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"946a72925854124aa8ec85ab445c03fb7b4439ea","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.122","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-iNRo8zLarXFip204h0JmLE/T+xq7mImehH+twtqeYdtyGiw/hKo9dxsZiBtbK2QKJeFLbaOXm/0qy+XAtBkK2g==","shasum":"021b257733c3ce5a76f85031c06556016bb952de","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.122.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLsjgfryUQK+fXKHEef/qcTboJgmhMh2TzNO30/uH2lAiEAkQaqPdaZ5WCRf+uaQQEiFdpsRKLxq48mkC1RA5YqXKY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieaWOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmra7g//d35QAvh+pA4Jhl26gjHA/L9eocVsTJ2VYQOT8ctui86hxWby\r\nk4EtdIDLH7j1E1Ts5Nfdd6h8t88n4G6DNC7SWky4py1xJ2T2oVbrrq21I4pT\r\nooK3C9MNk4+1hBwpGqvF7NhLp473Kgh09+BM38GRwZ6HChwld44n9+Pjsnpc\r\nyvU3yhF9tHCDtwBA94CCwfsYNjhFIRp4D/FiOILMJhodfp2l1rvd6fUDUuyV\r\n6RwuDNEn0vUyCY2vif47lB94fHOlwCVqs9c7JCNDhAKnAr+rFYf1dZr5eIx6\r\n3koZdiOMSozlHRC6ZfmhKRh/iIzNR7UOk4Z2DnrkwdXb9aTNpu4GMXqf1c3P\r\nQPv/tjxa35Cg+/gkV+xmsjW1UqvIqh+cbbk1P5CSiH9syf2k5p02Go6R2Wl8\r\nuV74BnrjkD4NIMHtAYCvNMKfswFNtf2WrCl4nwtV6DqTlocMdawA1uXX5ePR\r\nqRdLntIJOigbk/vrSQwwagWhhd6vG+m36Fnki52Y0lhs3MqOvkGjZABXiqjd\r\n/GH2y/M4cxRARWFb6IupdsrrjelRQH1oW3HA674NS54UeYY/PBESkJaHhKLq\r\nPbA8FhBQ0KjV0CHFxapk++lZCSujwO8GhbyIowY6hF2kY00HqOZS9clumZIe\r\nv+WM9nUEvf137iQ4mbaMgSI1YRl2uNSIg7A=\r\n=Tw49\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.122_1652139406539_0.17778026158338656"},"_hasShrinkwrap":false},"0.7.3-nightly.123":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.123","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.123](https://img.shields.io/badge/version-v0.7.3--nightly.123-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"daf113f3f676f60fe5e549a78341ce642a50b962","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.123","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-tRgISfNqhdNBT9aCmil7+U5bEAsjo9wEB9KRY/PynxUbY33jY+GRaCw0K0PxZ+yHT8vk7kQ2m/5/iHAeBK483g==","shasum":"1e5e48ff4ad8ab874f5fa362b99e2fc3e34f29a1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.123.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBfeCJs3TVonEmw2b6a5nWRVy7QiiKj84nfNlYnV8m82AiBgVNaV9y46Unoi5wWeHcqin7Vfok5MqCP0pxcbx+IOOA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJievc+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpoyg/+NcN21xLLwadQzbAIc+jiqs9Mh+VY59F/HDjK29TEp2WzKjMn\r\n8ZAzXJaSmMCuchvUlngzlROvJa/CJy7+AYPpOsO6qevnHudXB5XLiGJhFmeo\r\nufN+MS+Hfh6mrShyR0aofAyZWh/gAGRXbtcOsW2GOLB/eCAh0g9mSz5eBAvP\r\nH87ll8I/EnxsBfRY8buYwIs+p0ZtqgL7nxGrLTR0P2VaU5ZIHa9BIw4zJtRm\r\nJYJND5cYO/D2SSCUoEosGlxP7YwQJn7bPDCDJeOcPsftqNAIOgSaFLjoTeeX\r\nFMRFQxLuB5BklWmjbtTvqSLXqB4iV919KVQDaKmn+r1ObMA5o7T0YFKeI62i\r\nP+XpH/EF1skpATKalm5EH2plVWWjinFGJ3YYaoFFubQuvQhD4D+qoRmnRbgM\r\nEcRo3EpiaMkJL1dtursu7UY8MuiS2r3/PBZ99JoN/SJCraKmXJfTjdjITe3O\r\nP7Cnfdyn37Ek2hRuMjXhydQch3xAzEdIaTv1FlANhY0trZE5MyRnRH6OmOPs\r\njehDE9lwW1Vjk3PGQA3N1YyV5pIi8MpaSfG1l01oQrwRHD/8lW9X1d7r8FR3\r\nZT2YwB1TMddlQsv2osk1eMPLJ8jE/7dpMfxNgOQLvgs5TnbMSL5WGUDxprvA\r\nKLMM62AfyAOLiiKnPKKblvbAW3MYxNGBtts=\r\n=XWg6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.123_1652225854109_0.7261000015963297"},"_hasShrinkwrap":false},"0.7.3-nightly.124":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.124","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.124](https://img.shields.io/badge/version-v0.7.3--nightly.124-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f32646cf2302a1f6454e764ffcf6effc3d5dedd4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.124","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-+rpFCjaFdUBrzzWKGNdeE76zds+rwkN4XfeLFtCFBVlSRp46h25YqSf037gqztxVDNJgWpG2bltQu7yQrFoQmA==","shasum":"b6efe50a6d425520026a0562f6e53ba5202139e8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.124.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJVOd+LoUIOqSGzhnvvnhBWZ5XkinjSmv+vJhW+D2tgAiEA7pctx7GImXHjdoh37hbTePpt1EgBYPXCorkk9uNLdZM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifEjWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCig/5AQFVnqJw0dsg1hOLdySY1ldVejj6t/P4BoDf6HoKzCEeiZcj\r\nXW/OqELZFcqdZJfsaK6VlIMeBKy1ggC9GH75bUnAR8sCI+nCBFFbHQ9+fZrT\r\nE6Kk2/8KRe7vITY5KzkQkgdP7HWHriQjsGDBz9q564Pd71P8375A01evHXTm\r\nQh1VkKW9ImaP0be1M8hoBOlyXTnkvvH5p7nd17AbCtJ9iWqsvgg7NFN42Aza\r\nngaO+9Z6UMxrEpaC6jAXCsglUhRFYQLo+SoQ3ADWoMUWw161wlq5FK4Ukle+\r\nux7pVFFLXxmfwOW64bXZxk42m6M9YZLGYpeMW98ccD1B/oilEZcqCOWAMroT\r\nVSGQVllYGPcpcHwGmerPWHlaQcHg4Tc6WnvmYWyBYu7P6ZBbNFzBupQdubko\r\nxfQeLvDKCayRhQoUyzN7L94K30EEq/LfUbZrjQx+UDxeQFp+Du9d7dTWiREH\r\n2Gd2VklniGb4RlhVRwyIWs55+c9g9KYsS+Nl3c1dGc76cPN5wFuNySrsNUBr\r\ntpSrzhdeopFsZiRcKZLF2RDrSQCeIS+yAlYwDZ9F4aWN+E+qC59stbCfRKk2\r\nqrlffiRzSM6iBEhV67yvW7Mj8vSu8YNfPOLSSb/NWBfArpLA98gHNOd6dtlg\r\ntnyf2D/iLp8nFhEzoM7x/FUpPEOUbxuNqqw=\r\n=MZPu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.124_1652312278080_0.7837203815722755"},"_hasShrinkwrap":false},"0.7.3-nightly.125":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.125","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.125](https://img.shields.io/badge/version-v0.7.3--nightly.125-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8893f9cad72b1afc6c6a0dbe2e8282b621ac9d72","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.125","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-s/pvYAG1Z4xaVUfjdtvEkZS3nfV5x3/xjJ1Mnerbbnm5o4kjX257Yego2r5bG/VFCso2Ck3RQC9KEXecBY7oig==","shasum":"0815c9706664dfd99a3a6e076f9cbeef02304899","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.125.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQg/5ZDh57ZMMifxptY3pwh2DjFnTwOUSFhohj2HhrmwIhANCnWLHs3BglU4x70vHuTuZ0174Ephjh57FaNGDFmj+e"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifZpMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFxg//U7yyv8NeEYJW5xBDrFEfFmZ7IRwC3PiK1HvGYnq7u55j7GgN\r\npCjSbg/M72J1HmKpXwHaG1vWIaVyn2tjACHnziu4FvyX0idEEChkMlPBzHjk\r\nAu4wn/4V/CuwmRYje3HVLKeXfAcPGl9pTvFaYvb1AzQwA/aivw+xEf44STSa\r\nE8Q334fN7KY+y7tTsrv1fARjTdgokyLWMwqClhpQvcn+yhWIMgzmGGU8bIv7\r\nWTRcTJFsIFNNKfbLzGJgdOq2M0c0DmmfKcZ2dPU+vLKzO7fZgoma1y9nlHeY\r\nLk19OjT8l6WEuSf8yI6M65qh9EUK4UUsvviJliw+gpqblKh29UgvigiM8Wjf\r\n9t4+LgJCWom0NBGfabwTMNNI8PVp8JPjvc44zv2wMbOtFkkN8Snlxf5N7W0E\r\nub4cETNjDlWr48fs/WYbR0mJe3O5e+t/gOkYtQX76VGCtUL8EHH4nd1n5QJW\r\nBWyb5HCfujuTuBpkSSbwhDKuofhjJ9BIFjRV4X/VoLXra8Ox8pZ0BHlJ/NND\r\n+ZvCCMAVm9h8HXO2QMz/URajBarPgbvbQ3pnUQWHWXJ2YXkta1BB02P7PCvn\r\nZPATnmrB28gNmw+N0xE8UPRR+Yicrx+YG3tMRlqXKJmVlrHrsxUjD6NASRFW\r\n/WTgaghW8RtkAMIPFzdC1/cooTGUOB1A2/Y=\r\n=NpAj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.125_1652398668061_0.9442426546016429"},"_hasShrinkwrap":false},"0.7.3-nightly.126":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.126","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.126](https://img.shields.io/badge/version-v0.7.3--nightly.126-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"00c9a8d14c8ae8a1a0160ae9921c89925f7c90b4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.126","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-/r+OdYI46QgsFJ82Nj++29+8BLFHH4k1J3L1Of6+UWpOeA35LAUQ9AQbvzCN5ARarItD3Yn2waiP2BDZV9xcmg==","shasum":"bec7a5909ce2fb9902a546ab57278803e92fa974","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.126.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtqje9VkW9KvCM7zUI0cC6e50TKcsj1AigD6bRDmSvjAiEAz1PaQmC5Y5HaOzQIjkH72wOpEV+vJSxvUA/A89c1VTU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifuv4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrkng/9HgqEqCPGdmarbwkESxA67XSPsqaxKcRVQOYdTqPslwbUfcQZ\r\nEG0WWtQjA2n74WfhU1LkeYUmA+9EU5PQSW3i4wkeEH1JH04mNru5Fb1UFH0x\r\n7EXl3amc/qhz1hFbz/7apBw1dTd3k5ZKHvW3pcD3xxCfEkAMj79T4dC8ub7o\r\nZ/HQnFkGtEJBetrpnDi4qtCjn1+zmM0jSr7onc0JjUqBaoAGGzOgW5Egj0fX\r\n2UY2geR5gt90jcPGWqyLSlFB9hWWnLm/XytZUHrNprt7wuN6EWivuaTb8pr5\r\nJZDpRa1UJj90UwbvVHFJLE70pY72F52KhTkKQ149bzltSqMhkSWaRFHYsiSw\r\nekM+byXUZMdN4L6YD1Jr1mx0/w0a+OcYkCQTgd7mw36zprI3Ffj2U2zzT5tk\r\n3DcQYysOH3P923I+XR6fxhhApaxkFCV38i9DZBBqL2dVSU92NzWntpWJY34C\r\nNVUPbyqISbQb3DQzDFpiFbiqrpYJRO7rBsBTRPW2hrYofRwkfdwXCRqN54WU\r\nnD0HeBuPBJKtPbX/ftgHdCHAo8Z/vmSA3jWYmRaXk6k/YweRN3pkcbshb6r7\r\ns1ge3pjlL6bDsZVEcZoefeT0ZgFmZLed3vc3SydiR/mcIxv25nk/qEl7HWfl\r\n8SZi77gGFaoL440uQ5F9W8W0WB1lYRQWhDY=\r\n=IMRt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.126_1652485112507_0.5586440685483274"},"_hasShrinkwrap":false},"0.7.3-nightly.127":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.127","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.127](https://img.shields.io/badge/version-v0.7.3--nightly.127-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e02c360eb3f8495524e2b7b998e49df31ab8e9dc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.127","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-6NJ/E9gJ4p6WGNqCenZI08PDDkpXsIDEd3r2wCSELxgK8t9wcY/xFU6COaaKQA6DGQjz7N/V4ghOYS/1vdlgUw==","shasum":"47454af00d73a35bde3527736cdb224b5fadb525","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.127.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID947F7TBiu8Izh1xPBy0rlqqDCS869W6M0RNhc/tdX8AiAm20kRdA8ZXnPCadidpIS7XlDWHuheNAo17D+LqaLqPQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigDz2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1ew/9HR945Mk2KEYukxqZxBMMBdBf93P+rgHa5B02DcbIyFSBwLN7\r\nts4khzfSNac+F3AszMnNizoTmo6GoWOAgzwnMoQoOZEHgdy6XZMMy7dvzbed\r\nvK2XP1hPhauYdLQjZk1HCy9GxmD/fn6iLCk5/KB7p2Yf7Y2vX3sd8VFNXwdi\r\naMtvhxJhxngKn3tDb/zjjv5GtKPW2RuZb2aQ1+Esu1m036alUrOi4z8TYhBa\r\n7CQi+PgRXJe8PRDtfsDh9lk3H7iZjS5YF3XNSIdmPwverPUmrRorX0EANE5V\r\nyixJo+cxH/e2/CYTqLvFLXll+8oE+8xhB9i9VM8EsZDzwRasHEjiwBFURHKI\r\nBs3yP7+kx958F24lTp6GcPMLWRXh+VauTHyPqsmZiK9h1BEa2GgBAVPzAHi2\r\n6Dv8YV4rDDTHOcA32AjqALsBh0IGrClF6NXiZ5kfV0nUdj5iPOQP2+ituZG0\r\nAD49KePePICurNYcQTTkjUkIN7pbYWgJ6as6DJ09ZTpYN4wZ8FLKWxwAJKcO\r\nSqSM4X9Pd2F5LTbDTHEdiFlJbwlizBc4+BVfGC2xuXgBL5xFtxIFGloMRXpS\r\nqPyqDF2VihB+kH8CQYfBHiou4RZomlKZkMdQ5H2kLHkQUhUxpjoZJMGq1HSM\r\nq6jghog0yowvk2qBeh7TOpLTm5+KhQNqtR8=\r\n=Yxg6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.127_1652571381981_0.36019564106448887"},"_hasShrinkwrap":false},"0.7.3-nightly.128":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.128","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.128](https://img.shields.io/badge/version-v0.7.3--nightly.128-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c34aee1ab260a9b6619360408fa744849c90e653","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.128","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-SCxlBdM3x5bdNzSdCCU/iZdyncL3dVPHgv/x5Jg5eSw3cVS8nK0HuHTpv9CmGa/2+fr8AP0u8zxcPgfliRpXvw==","shasum":"e3e0c47611e7315b34405ddc68fb9d29bc3cf33d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.128.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2U7O7Jv8PYeONXngEfgzm1P0gMyoduy6VJTT/G7R+cwIhANOluG59nO/iXrbRIyVQ+uNs1wzTZ6XY2KP+oMl0OJ2W"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigY6QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo98A//WhcVWg41qeHQUIG+g8pd90CoUEKxR5pl9RfiPTKtsP3bsL2/\r\njMuvJ+jdXnHMapeiJOYIKP3+03s3ArZf6tBVTGFj+ezMPw9fx+UzL+Ld3JRC\r\nFUjRIvlQS4qV71DZ1FjwzSAIsxVpORwSMfTZhT5W7v+HGncCW+zJ6Ju4UOiA\r\nn1bLvRN+4kDTzFxiHjGsJR7Ga7bcL8LmQJmcxKE7uMPh1VuUz+ljgXoIbFhl\r\ncq/kg+1WdqZN1HEv+FeGqNbTrbRtaXJLvTE4nusJg0r2DHYVUYyZ1GKUlxTw\r\n2klbswKSrXHM7YdmFMgqhp5Q79Dj5YblSPH+ONAbkIJfNAdhPGRyzr3vgLtu\r\nOqmx38RwuysLfRpQztpQeBKrJK7QDw0GYfyimLUmyp+bgExcKyONzLsFJNdp\r\nSMIqz8AwtaJX5BUV2hQg+F0vkr3uc7CKY9EVRt1IjueaRRuKjO0LDJBWB2e5\r\nkDV84uwIheoqV+aDs7tippnsfTC/4W/RPBYIGsLutEOVG2DWki5osDyvx7I9\r\nRdDf5x94VUWD2L7nzmH5sk5wSvRe51UnBcnVH3PstQmHTomvqrt9YDhEbHy8\r\neQAxtNd1iKlYp7hGgbGQ0aLgOZTOOySGrsPZcog2qFMcIcX3LdYXxrh/9jMz\r\nwZDdL7Ives3DBCPhmCC0WpTyqEkJQL9KlOI=\r\n=+ylF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.128_1652657808468_0.14119716768131307"},"_hasShrinkwrap":false},"0.7.3-nightly.129":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.129","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.129](https://img.shields.io/badge/version-v0.7.3--nightly.129-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"388558658bec83badbc003402dca4d000bd28009","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.129","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-61lZwzrQWCg+OJOFJbJNzH0U8Gip91HbY05yTR723p3ksM2UkT9XhnE0rsKWp33c1ltjQ88T9gifIsN0fbRycQ==","shasum":"bbd0435b0f9b048a297f964abae5785c293c02c5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.129.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm3FtupMAgvxGv68/lu7AOgaqbGw71WVHHvJdGlHsb9wIgZ9e+67q3Kvh6iEQaZoNQlGigmhmVpViU5Aos3r6Phl8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiguAlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrU+g/9GyrY1mOCKFzNmjtl/4EbgwvjW0s/9+CKSFz+9mzmM40yDKIW\r\ncq4LPS8i1kdMVuuButQUuCka06mqASdiO8H8bMKrImU5rrGSlb3D34N39g2F\r\nzt5thPVmYsk8YBNNt/Jo622ervb/OrR+wiwUsw3TlAnC6d8hsudMscPGfV4i\r\nmzsMpE2+llAGeE6ZpkIjJqWIvKsUAm1NmpbTx9QFL+uYeYGgMalXmcZoK7sl\r\nX7unEnfiuvleELdjDwJWbQQQe9HOW32uLz2SHXdAAeL5HCx05lELZG5kioRT\r\n5ShF4OQcluxyJjAu0+JKtr3Q2jUCEE0PIDX6CaFXwfPr+BT88d2jkgXX+V1M\r\nDTypTs32GeV14VKdphnfMwK96/GADCSNd6G7lSUASNQR0hX1iCdwVIRIOieb\r\nWUsgE5Db/JTv00jov+Imm8exzVavqY6p07lgv1Gi8FxgzdiBWtAc/0bnIL4c\r\n6Rb3oMX/sHp5c97RyAUw8pKA4ASJgrFvU8PeoK0b/js4eXYJdXpOzOSq4TXe\r\nZO75QuA31nZPeCtrtrnfLoYMjurcL7lYRWrqsNhIz6xs9XVkuLF4oFmqSok9\r\nyUVt2SMBRRec0AhVv4YFWbIShJ4zRS3cmy7yjg4/AMcLeUidoZrjak312FSH\r\nCul0biH2UzjGhK2PRAw+K7MEbSBDwpnyu7k=\r\n=Wt54\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.129_1652744229418_0.1204049083256431"},"_hasShrinkwrap":false},"0.7.3-nightly.130":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.130","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.130](https://img.shields.io/badge/version-v0.7.3--nightly.130-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c60995959d6cb5e207bc2e769f4406628c7d5cc4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.130","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-JSctTRUrwRpTi9brrjP99HeB6tGIGHxhDb7ykjlNnXG+TD2MOluDKORtOQqUYwg+PsHWsyQO0h7mmGAGSefusg==","shasum":"f49cf0856fa1a323965e523356315fcdb4f1b6bc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.130.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwoM/mf18JFBGKQdamNeKB0UDz0vZlkMvXmmhiwSgs2gIhAMkOYlxR06Y1s+tkJ0zG5FFcWoyTMm3uYUVtNxPMp+D2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihDGCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkbw//XVTh7TqQEtwkq869Wj+zyVDkqFqgCgiwmn8xphxeZcPFVb9G\r\nLsO4ImzYOMYqpc3A1D6/o73KzLc/+ERxcnBPsT/Oy4JN69H2vZtM5786wxa4\r\nF6lTkTqch1Pvp2CwXSwkd9LTdQ3Kuqxw54fSPS6LV+M+tbqO5a0H2d2OtRDP\r\ny14TBi/cLLtgETXfLljk7BVhzqGAmhyB8feKEziremJDqRadH4yxBON9J2N0\r\nCk/OxXztJKQfcnqBrsOSuTMU+nOzIPrDRnrsVVt3wL4HHAdJu/UiHzJ2dp1V\r\nCX0t9t8dSy/TBQANgezBcxzEK/mt9qVB2qcpb0G2Qrp8TM+cd8mCqC+65I7i\r\nyoCT12PRIgRQ+w2abmRWsEah0J+eEbEvXJlf2zWQ6tw3KlEz9mf0iz65JYLt\r\nNyKbBQyDfpji4uFR6b2O39GHPS9tRull5lOwtB3B8GgGRCsVbjkgdf13en/A\r\nXD+tjvNmadV2BPVE84otTiuuJCklYFzKPKUDXvMkqHgxDQWQJXATmvyYWrmy\r\nsFNDryV/CXk4XQXGVx2gnpAhLnFBM9EuRgs3H/qP1Nr/is6bi1rmSBZJmr/o\r\nE/c5osd2gTSYt0GO0ZMwvhki8uhTsCHFiWZfpYSImwMHHBmW1lUFEiim/Z5S\r\n6LQS5ssVQ9s7Ue0k0D6R/saLAeiM4PFUE0M=\r\n=HqXL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.130_1652830593807_0.47571373379810544"},"_hasShrinkwrap":false},"0.7.3-nightly.131":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.131","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.131](https://img.shields.io/badge/version-v0.7.3--nightly.131-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0b2bc6e7cc2ef9e72850377f4bcd0c944696d3f3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.131","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-OSeooFfmRYoi8aBmfL8hBQ2+/RF+w+4fT2A7unzOAskyWzyVORliUNy8Yql6d5y3UuZwsJqHqQVB2QG4TKX8cA==","shasum":"8cc3e3b9cd43ec61552a2b42adbf3826af33a65c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.131.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC64OxXlhCVF25Ln+8e1hh5mYmknfcVy/x+W4EL/daiSAIgRrR37dOzqoDuDr9OE9MY7ORBiDpo0m1BQMJSdcH1NiM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihYMTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpElw//b4qyH7Gj5WNnOXIE1WcPfhaFXiVnZ9NPgQvk6NSluBtCgQHs\r\nX0Ap+OpCnqVnYnBZz25r0N9x2SbgE3WjEB+3YqACFnSux6jTh4ptX+UrDVCq\r\nsbZclSviqPE/Gja51zrddW6x/hQo71EftUjh+SIPwloSlJW9gouD68cVsuHo\r\najMgYUEJsmW3B45+xfP+w8SQsmmOkplJIz1QYUcdnUav1T8blKOMHghO9Q4l\r\nGecfyXeZ/kAfvIlAsDVDjFAWCVNqowCljGBZwniih8bXLY3v6Q48b6mttoVo\r\nNVrdciCkrdDxtTtQPhWP6Yyv0+V4ZXqUCW+RAxi03+gM7wATbxU/YmjJyvVI\r\nBos9x/bOdVd20sRgG/I2ZCkYGqvkkgKestYVQuWDV8yvqooTJx4GdpkNqSWK\r\nxrCnh2tzTwp9tMdOoBkq2zdNI0/3Lvwmxf4AYYDDEP/3CJgZ44BaI2rlXM65\r\nqOgnsub933XEVsLLANd4f5SvqaXmF9YWDGaCN15elEETJWKf9HQL3n/Yf+WP\r\ny9OKLcQtjjL2r8fO3Gb1Dy2dvWnoj1Mae936MfFhbsOSMqxT5PWRSqni7UMG\r\nxLjIbU6dI3IQb6hxHiN3JpXa8Y59V8NsQcMMspBTCstnApwOrbjfH3gNrQQT\r\nf+r3GdeA1qrvh0nMaPFQmIh9mhwhw6vaJUs=\r\n=6pDM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.131_1652917011318_0.2396622766785379"},"_hasShrinkwrap":false},"0.7.3-nightly.132":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.132","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.132](https://img.shields.io/badge/version-v0.7.3--nightly.132-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"521a60c6c0ec4972ba242328d844dda6a3359fd6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.132","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-7lB9giKNuoDa74W6h/b/geZBq2xaG8fgP06wdShATIlU3sIE92qwoTdrvckZcMa5q3q9l+wI6BjWsZUMex3FJw==","shasum":"8b7cc7f3ac21b763036750dd0e067bcec239d407","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.132.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAILMWZVPl/9RP/QC6kHO8DY7NVxgf781YfiEp1ZqiroAiAcmDhq3FFxDXu+GYK7eMwRqEV5HlTWKoM3c4vM8G8tCA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihtSaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9Dw//at7scZM7M2Glq3nGuAV4fKXK9u64E68LZyrjoW25jg1XiC9D\r\nTN7t0VCDmJLot3t1pVDpA99AixxIryw88zdO2wokwYnLPrIyAIb543TfKW5Z\r\n17vNade3f/lwxdDxnVpFdVHvDP25TU7FC99Hct07o9lgx0YpGA7DrN8woGYw\r\nuXKa10Kb2keDdo0QU56gHrVgZFhFPFQLpaY9iULmj5ZB2+8/6/24Kvkcb+0n\r\nCgO7f0SqMCGuNBmR4NVlbdAs9ZA50q4OCqvOWeGeNDsvKPdQ1n/qzz1qsboo\r\nI0/8XUVajubBd8KudYn4B8d0o9eow14ioxNjAzsih9y2Z+VzU6VuGAGajpUR\r\nK7IyTSb1poH+TZn+zWyieKVHrSNoI5sgTD248pehP7CXQ8rbWHqlWSGyFPs3\r\nmZ7JV98aEhrm4q4/A6mup9DshNY1CzWewxRBHKRYu8AMiR7tklTKhk622CgX\r\nw7f6VT35OWz15LfjmGhfXaH6RfSRKvgLcfKZPe8Qw9qR8KgDPLWRbZWPfAcM\r\nr1tHtaZqY42j3a9hXC/ygrp063RIoQtxkqYQgxYHLuJpLiYuVWPHPB1dijAb\r\nct9VS5Ev5QmEXfeRZv4bblLEJtUq41x8LTgzLShfkiEzV1Ut+stP6aONJWXr\r\n+dL71wp2x4MIGM6QbigJi3Qr3552vfkP0AI=\r\n=LbVD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.132_1653003417950_0.298994269754004"},"_hasShrinkwrap":false},"0.7.3-nightly.133":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.133","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.133](https://img.shields.io/badge/version-v0.7.3--nightly.133-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b8463ae0a0bd2611482aaff5db7a036220cdcc1d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.133","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-hV8x10q5/7eOljSN1j0r91SOyA207iQpGMnNM0FGu/uKjU5ohuP7q7Pg+I/UtkDhR/RJhCO3Ud9/E/Q2z2LwWw==","shasum":"47468a181dd3e41ed8d3b59ac1e2869445b51bf9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.133.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/yYHti9SXopIhN64yhD4vBlSsJEp/dL8QCggBXqX57gIhANQtW7FJoIdKn6D7Kh6UHX/TgTJ9GVZqVO3CXhMEKRDo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiCYoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwYA/9Gsz420hkmPXPeuYKKm/SGprgPnYXV6NE/fk5zqg5suLim51G\r\nS6VuIJn0MyQevHQcW6P7mJPR7sNzGlQsy8Bo/9oUSfybaPMbxIwJTv4x/qlQ\r\nc299g0EIRmSf3Yp2XgAEEvuJkEPgoyTkxCa9sx5VNqZ0c5Q7rBOv7kxeEH2n\r\niCmjmRCvR6OrEIBC9pRi5SlcoIGVq2I8pslv8IcKwuyTEkPEWKk5skJoaMwZ\r\n/hpMm13IAuB2sDL2Gh5ch1syaI5FzcMbshs6CJT7Obvgg1UTnzdYLyCNnOxG\r\n0zF5iGB56NizDNdaaWq2v5YyUNxjnRlboTwkn1vX/Wj2VhHgUCVl1O1ou2SO\r\nbadtS/h3Uy23dbpfNP4ESRVVVt8QxfCWJ3daH/26BVIicsLHnh7mWvewWSn7\r\n6/pdKM89SfGLQYUOV4Nx4xNi4JiIUbJV8x6p6UrXIn53rynQlrhn2erpNrt1\r\nDOLrQNGWr84J9rm+ymm/S0nMnZT/1wMelCn3ksKbfBBYw7AJ0lzTXBXdGfxs\r\n4MoAyrThAJX766cUwyo3L1ZTLJbdZksNCDrNf+eSdbvEcgwsKvMfHIrAJmum\r\nG9irNhTAF+K3Z1v6GV02DwZi/byXiRaIOTgEqUMpNhUhByO3/MmxygGkB+s3\r\nzuA+5tT1plyq/wFMAKlAe9VnGI5Xo/GybvU=\r\n=1gaM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.133_1653089832710_0.9626861147418351"},"_hasShrinkwrap":false},"0.7.3-nightly.134":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.134","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.134](https://img.shields.io/badge/version-v0.7.3--nightly.134-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5d39ca811ccb2bac4c528f02f46022a7e1012cfe","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.134","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-ORSTSMopHlVGcB2W3Nsa9mVe2ivQMFBYKrcffA9L/LhjBjIlY4MfoJNh+uPHHyvn63eXwzCZD9ZSvj9rJCb/5Q==","shasum":"0fc7e4a8b90508c640718ee00820c8875ba6e86a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.134.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLrLhDmi3Dk3CgtuJd84BRRhaRJKmD357PVMt9zCUEiAiBWyiMZV0de9crG+mcy0blYKcRLf3lEvvapFDINVraPPQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiXd/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+0A//aOtCVEUbiqiK45UnOkfgAzp84bLt8+1g0c5HOj26xS5JzTkN\r\nwpXTf1P4JKTj8VJH/JxUFTwc6z4dJuwWJHLdFKvgzjPHKZPoiAcLX1dMiP8r\r\nEx+YUDALG0y0JKlawD1ZBTQZjoE9t+RtyYrPoD2Mti6JfsDDYxWtteZCXNcW\r\n4tmQkFTauGpqSUXCiOArVI/nsjtE/nOhxRnBQ0msPGOeRmkzxMMj+r4xtzy0\r\nZjv2xfKSCFDUw/RAODvQ6t8uiuPcI2pXc26DzygyISvTgTc4FK5xudHWjjmz\r\nfxP8t/HbR0Z1/lsSNb4mtSy4rsXnTxWP9pPletzR7ctb0540CU6FPy3gj2v0\r\nQgRZ06c+H/mDA7ROIDGAsYUc+bxGD25ATPwyqZS6Cm70EWyqMQMX7AAAdSxf\r\npuM/S8d4F3L6sl9Dfgxl8dTz3M8wAMt9m/EitAAUWdy8KL40GTEuJi3N82Tb\r\nRK8RWOqs4cDyVFnfq+3L+yHthcHKgkDFnz3avw/b8bpoODJb7UAapgUTsJL+\r\nqrvyD8MShaXm0WADs4EudrVBiI+VtyopfUE5W7tow85vAhLPCi31X86vsJZV\r\nG1uAnu+A9+clCq+77WxLN9GyWUjl2/3YpTSzjOHypQFMkd4tZ66bmn/yDdKt\r\nBsOtVo8qyJtgqziB4w+65FXSPhU/xzbMdwk=\r\n=qr9g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.134_1653176191476_0.7248213554796579"},"_hasShrinkwrap":false},"0.7.3-nightly.135":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.135","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.135](https://img.shields.io/badge/version-v0.7.3--nightly.135-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0a7f48ee01cf323eb36a3eab2bd9ed676db59246","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.135","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-4H9eXB44GoO6jOd8pPQk2XJCez7HFPL8khcGPZtT1ZZtpT8nk8g/+drg9KoyjYbSbQdSTIxwOY25LvUncS8Wig==","shasum":"fc9f68598ba72329a3500b365b7d894ffd34d023","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.135.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3K3kdUKR3b65kF4yoWe/IA2URhaP9MR5Wftn2YgR+BwIhAIcEN9/lAlQQY3auZCwZoqcGNqVGHFgkBmeFwZvA2iqG"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiisj4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpl8w//by/ExDzQ41wKRg2cCzSbpbMDgtBkJ3vF0EXYnVaY4I8MB5TQ\r\nY36JN9ohcQ4CG0drV403Lm44S4RCn6CD/q6+W4KpBRv94SoeclzAwLOAFVUj\r\nZz3yTZHKU5ZfyUf+4xaMqRkHHqXuMbEm+zpxtv6LF/UQT39oe8iybBdWUN7H\r\nubX5nml8mng4fEv1/DOdUdjE5zB1STCQSwzBy9CGjzeveaR7b1wYRuppfZzI\r\nIRewY/Rxx8kKXE48UDnnlwVh+Kb/b0+mKKCepDrd+/kDNhlj4f/KYMZELfoS\r\nC+6V6b23RrPRoHmCAITPNqmoq+Nybx8rKpRL7PpJchx5Rg1Gskrng34+yOnr\r\nE4l7T5UvIXj/tKzfXgGlYjlD5mCjUo1DbDT4l9HURD7O4HxdZ0CJ/5V5i/9M\r\nWMC3kdNqtRVeOqvdyIu9ozVt3/cHC6r7pZpIyw5fIK4xaYLVtqk8QfOcN4QH\r\nfDqG24x5yVcRrhTPi1V4hfCD6fjsf4aigr+zuyZNTZsBQMhgFdM/+a/k7IVH\r\nrsYOKr/racbXH5byuSgjho6G5vVk+jHZz4MGLPCjKvWSYje4Uysai254HPPL\r\n5PXQeclKG90t0uxnoUaTnT/EWb6+t80eF6Dn/yDTHVphEUxy1Z2zqo7ixPHl\r\nAB+auaHMBL1NqXf/MnSJln475dup+g7aUPY=\r\n=DOHs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.135_1653262584285_0.30478308448606795"},"_hasShrinkwrap":false},"0.7.3-nightly.136":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.136","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.136](https://img.shields.io/badge/version-v0.7.3--nightly.136-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e53785364904d9648e3661d0c28b69bf24743c60","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.136","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-8t5A9ahEQv58QFFsdh6awJh7/4qQ9gsfZKmEJYqlJCoo6RxyAPd39tZUXzcnX/bzLaadB7Nh4YR63mzFkeuQlg==","shasum":"bb0c97c6093f386d3058e60691b157341e5a6a39","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.136.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0tyxs9cR6Qsagq4rurNC4+NmKhPDXkaWbeVI/uWjJUAIhAOU1zrVoux1pXjfZl+v3iSBf4YVQv/YFPosOiw2iTDun"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijBqRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCzBAAjkE9lVT2d1WeCeVDx1dVbPjc/Z7Zkmu44EcAsziyfcOX5ATL\r\nPYBbkyU+x3gAKgfYql2/scE59UwratL3jDTzlaGC9X0XQIa14pwTvGbpNwdp\r\nZVbebzfNIpvPcOAeOmPUgNIsZ5Q4PG1U8vJ83wXPR6ZkNEjgNqaf0Wc1eF6H\r\nGD48Idd86aZAGW7uOBKaE4nMvJmzig4SxFGTKnI9OVJU0ndCvmwaP2JdxsVu\r\nzU8eKk7O0H3qB449cp87Lc71H+EhTR7WbursVdCiDk+V6w25IXNqFHJx6hRQ\r\n1gUoFeidahuUQzkC3b/9pIxlH/tFFw7dLccHAJcrKVVYzODgGkO2vBcMyWtJ\r\nmsnGKI3H8nzDERbp4BDvG/y2GISv32MqzUPP6PB13hAT+5HGVY+xTI9Nn88X\r\n3FCHQ2iFzWcLrQZwkruLQyGpAux0BwNsSxwu17KTjaW2Xvorj0+0RammAAb1\r\n7nLs+r2NgCbkmukdfPKEquSdIpNmFE+4lCT4KuT3SxwQzPH2jpMXHoaKTFMz\r\nOpq57PBHvGZiuzabwHvpREKoWYBX3lz+WBrBL+yF4ox9hM2vWAAWc/1DsytL\r\nnDx6M+yiMsg5J9ttzyn6DgFQ505NrimC+PKYf4Yo+QnJF00aAPH8oP6fnOTZ\r\nRshrkxBFqNu80fa8eO/AbW07+idp5DCxGcA=\r\n=3FpH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.136_1653349009270_0.5597783562270606"},"_hasShrinkwrap":false},"0.7.3-nightly.137":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.137","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.137](https://img.shields.io/badge/version-v0.7.3--nightly.137-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cc09b4130bba51f3a05797421ca2e08bba599475","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.137","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-MsEfz/K0heHRKwWySi8gMO0R1JnuCZef6+yIF1OJUPmS55k9B6xIowtpgZasnflJSX7WmtWfH6/WUcdVEsbWhQ==","shasum":"58bd57220eca9160c26f3bf62e8cbf9a2d60ac95","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.137.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8vv4hLOXVH2hIWduvdULU9X4pdi6XolAFrXxBW0vA9AiBvRoC/mSDyUDAfDvuBodEtHO1MDwOVnOL9/YD3xBaAcA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijWwAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCrhAAiTGiEQYvUom37C5xJQSAyiYVxXkUVUlPBtJJrQttQbMrRxpQ\r\nWV5/MM+2K3goj7CrW7PDNOgj3/t+gtsFXe3AuUzVwFlFp/38SDPlIuGXzmOp\r\nhbnrUl0Dtt4fcn33/eyFLIIStN+LBC47mEIlGQXwRWCKdvKPT2LvcMBbYPzW\r\nMuDfHhztpoHnXRhtkVDjINlTJ9y2k726i+CF4v1eqUhBHgBtrNMZGtbBMucs\r\nK8l6iSTYh5Bo/KzzFjEJJ9TraWOw+OQWIf30Z4fODttBZ1FTFe1/mzBDZr6i\r\nupBU/HwhGWGOT5JdPyfgG9qvQxVkgAgHzvPrQrqNCrQiGrVWtaT0VACFM9/S\r\nGAy9ddFFcq54M6gNF5YTHPl7FSDNsKStP6m2zqqNrX3T79TEXFt9wF5mTQmf\r\nPa7/MsB9V89gdrL6m1UurWYLVjNWjIxvpLF+soIPc6QoHhYIWzrM+pIP+KQC\r\nZk6JI4DJS6cuVFzIWX1fRUftXaPtAxtSeBtH7gWKBTVf5tJay3ShWwpmVxvV\r\ngyZWsVqDyTjEb/pg4bPq+B9c9FeISevSmxffeSK0eJiQuxGVoLYShViqcBGq\r\niM6Afs1MsjsTmRDX1v2xMPQKe4rVlpbULsAxVcdhXCZIHHf8zulPFVJ0sUtJ\r\nOOS0Leh1wcTTFPgILWlivMg4pTaLQ/N5jso=\r\n=g5jr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.137_1653435392443_0.9696592215772233"},"_hasShrinkwrap":false},"0.7.3-nightly.138":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.138","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.138](https://img.shields.io/badge/version-v0.7.3--nightly.138-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5afe1363f422ab34d9a974ca3d5f317035ea78f5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.138","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-p5s+I6DZ0ryvwgSjCLDTqZkUGsojlAF4zuqbjlzEpDwJuMA8mMJwwyv8SjLbzBGd1TvDtsq2SmmcjbkKvYdW4w==","shasum":"f528a72bc5a97e49daf1f5c710a32e7bc8d27c62","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.138.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXpxeHAKrP7EF0VNRbLvWwca4t83KQtkNbgBTKT6tUcQIgXasF2zAH3Ax29cKnHAHhSt9DDdiUswWNIf18oggOt+A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijr2mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIFw/9FlpvsSJJvRQ+hT2ycpLSAWTRpu5z0RxDGhQxOmKGt7lLD/ui\r\nMDjTy+6iXl0ZHxQysoeWFtEmbyD5P0hBf8TGp5o4tsy58mwtLIp1hfrKuqnB\r\nm75KjbGutQj2PF7Cu+WCCuzDbWdvQiM7qhmXMqX4OTc/RIR3mX2V5h5wNlVN\r\n8OEaF8dxJl8FiZzgLI8AYjK5xzhhHi0oADV4OFUodoUlOcQIuq5GZoM0Bf3T\r\nr4nDaggogiRdpozsRbWqWRx9i4hlA3D+98x2w/SPFIlrWZY4VslKrgIUkJ+M\r\nxKNpzAkn5EkoFUq+VE6yz+n6MZGoh8SetOnfxZxakHW9Njtr58EP3aIALjpb\r\nDfUO1aQD/OVbAnSek9hFdM3LqFEqtOXaPqcEfgwViXe2jIX3r5jfGxLeDEzt\r\npZX3Hk7DHoZVwjnH90P16N2oe+5rGZ+Zq0Tfnkoibe+kZ3PJCfBfEOxqFRwg\r\nYJy61atB4s++ZuvI/0NEy1MYJIQtY/76gk7C+dSxIWpgxhez7c5PO3DbGtBq\r\nz+H9cJPMoxOkNMN1s0gtHfUtsFlfx+0l1C+xcW8bloOwZqZw6zGNx+sthK7C\r\nxYshK8+ptQGgxntgGVv0MAVPMAbdRbiS//wnfS/YGDjLYDu7F/k/sIMQdjz3\r\nDnkdfPKYegtRz4d5YM5t7iAz+fNDDCo3HVo=\r\n=XC7M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.138_1653521829958_0.5476053738719404"},"_hasShrinkwrap":false},"0.7.3-nightly.139":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.139","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.139](https://img.shields.io/badge/version-v0.7.3--nightly.139-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eb4bf7a33925c3d77b5f035230b98dc8c01939a7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.139","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-aeCP/ER/0QfnWNnPFe9Aj0l6CksIbLnSiBxlNAW51Nyi3+4Ag+jj01VoRe17TiY6buktS5IdrBn2y5Y4BqDrNQ==","shasum":"77451cc659eab28d51606c3e0bd448a19520e9cb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.139.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQH1I4DchdoCfZdjD6ycgtW93GcOWThUKRhrAUFBwkzwIgW/CX3W7uAlRo8sAATaIjnOskEMNSfBz2eRuxzfWx3fA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikA7LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXhQ//QdcvwY5huzR/5YW5dWiNlK4ZjJAcL/H7Wzq0Z8EZEsqMlg7c\r\ncT4Fei9C9zFHKyIpwXnCCZYk/ENoQsUL6fyDgOHMamUbojR0KoCYZ3fiTDe+\r\nw74gT5RIOHUJXwytPTRmEVhIgLjQcOpVbMdNzeocvphhtgpnWI5Iowj4DmId\r\ny6GRLIzpc4I6903EzBujvEOALFfKV9i5wBYGsfpAjWWGAONG1dZ0O2EUs5yE\r\nO0bhBAWjj/OnBaVlcZJKZItLI8UIbwnyoobwig12LCyC2rqUwFFL8z5cvxEo\r\n+7kU9WW+5GNC4B9WRISogUrHFhWmJgtHF55qlX26PcJazs8jnZm476G5zW2m\r\nA3kNkgG7//Wo6lBMPo13kt6Xpfjp/8950uydWg/bdW1gqU85wBx9JzTroCO8\r\nXJRUoJwminU/JOz/C2Do1xe2JV91mN4XpSH91M6oIX7qIi7xj+xTOoQIQ9Bd\r\ng86FqRPqvYtPQARBx5ArE8w+k24wKD1K58OZbUPYy5REQ7svQ1ulqj1l6Jcd\r\nJcGMghHIWLfjEWhvLcLxVRPT2At/0U+jhBGp+lwS9a/aNYHC0F51ZpaOejma\r\ngU3No1rKbky8d1sTR9zBPaPtDLdpyl8uPnJAALVfPT8ymVGX8vghzT7oEF3O\r\nCV2sS6OIhdSds2F+NiAc1KJHZ+ncFZ03Nks=\r\n=xt3M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.139_1653608138984_0.30347007373788726"},"_hasShrinkwrap":false},"0.7.3-nightly.140":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.140","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.140](https://img.shields.io/badge/version-v0.7.3--nightly.140-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0ae9b7786b0909420d63238ab7dd17296c0c5a59","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.140","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-4thukF3oEgVWqzB3UPNKAssGgf3FSklWitfuOQGKuW4b5mu7ooiGtE3zB0/QOr2atuNSu8tKxrjGhFvqvkkMJw==","shasum":"d63a97b08eeb2bc87421e0a25c1b419af438b557","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.140.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOF5ogWxYPePOsmwwBDWdkwfToWFfG+z9Fe+ly/B4l/AiB+qEUQOulwWLHyKjfwobhi8jsqu9EV9su/LVXGENgKLg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikWCMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqS2Q/9GGYo3Es/3SI4RyNFIVbXvpDe0vfQRm7pFJIX/E+2SA+alnLu\r\nSmuGvm7ycL5JhFDQwjwtQjyExKQApkNIqvdJWB+hXX/6NmvzZ2+9HHW+FAPj\r\nber6aHLs+SzYHmi0WE5Bh0V/EZRMQlfh0v6C2d6W4/HEA2jdYBzBLefGmqVZ\r\n3U5mqQJPOSUYlbGIHJ9IFhehnM3NXw9OXmUwIjNFiItGVb7rP7sCeaSSFPBA\r\npzkKknFngJato1lPxjsc/71rE0iqkI+nhlWCbaEdR4wkDI/HXJcjQxeiHDSa\r\n/3htJ2aSij35POVz66lhBmL0kMNew2htrFblREhtSoRtIhhfMTgJZAsY40Y6\r\nqgmopSr+9DZS+NtbRB3+INTDAohWEe8n6HSpl156f0O9PmpApJcs20h+7cm0\r\nPA0dwdEO0gGBa+WqPTGdE5Q8cyUqE3dH6dhlMkyor1RxCMGBZM1H1oIyQ5PH\r\nRHmcrg9DbhWubB3Ohr2Nkevb9r4mC/+bQdS8qOeFCk2mvyobFnhxBqcYewaL\r\nkh8ffnRJJo+Wc/ZI4FKfUknOyZdraZJGblsCcr0FMnhqKOasm8zfPCDWV0o3\r\nCrIhJfWrDme2UaWgMJ66BUFl4ICl6XlJ2YEH4KP8h5ZNtytA7Ih5r92uZQCZ\r\n9ZN4yL0BlSH7S4LiLnJP7cto69TbRE+g9Q4=\r\n=9Njz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.140_1653694604507_0.14859264739778522"},"_hasShrinkwrap":false},"0.7.3-nightly.141":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.141","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.141](https://img.shields.io/badge/version-v0.7.3--nightly.141-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c8ad435840e51345c94451d5a8fc167e86db321a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.141","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-hova7eZqR71czcQo98lqk7pjPFkUEJzdc8r6/DZ2K/6cXE2ZTA4O47M0+1S7lc45k7la1QhAWCVXVSCiPipohg==","shasum":"ff6c68205c1398c70cff0a41806b8317180199bc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.141.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzXj51YExevQS1LYvQRIVs+m2vik9y9VQGrWDP9VFl0QIhAKfaNUA7kYIFvbWkYMQBZWcN92R22o564fVIsKRkqat2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikrINACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmouwg//R8A2W+WlECTFjnKJDg0eLQi+Wic7hh9Iim4L1L7I1KXbQ7XG\r\n3Es4S1t4Dg5e/yjr80baG4dbjMJ6BaO2clqkmxwhnGfFr0tb7c7zVyvg42F0\r\nNFYTWBwFBnaHj3rfHIi4lIKgytxIcQGPLVBkEobApolv+gOU583cyIF6hWFk\r\n0VBR4OCOgff+wihq0YKfLtUoUnkFiAtplgvNQUlJKSYm7cmKCkqXgscgIpzn\r\nnxkSJAbeCDsagX2GX+g05d6MSZlS9/mtKN7ElTyqpUE+ahecMG+SmhISSO4h\r\nTBvAnQSH+v0S+/CjFg1R9CLdm26K2KTxLHyHZKtTB2xbKLfiCUUqYsLc0QHp\r\no7k5RSRPnM7sV3sRL1HDPqeYD3hSEHCdNn4y9n4cZSXx0rb0E9ZsMEusJgf7\r\nyWZl1EJYCC/xJIaJ9Q+FOJWWHNi7T6hnVNZFxDaA/rnjHjjFxyBoKZB18cXE\r\nbKyT89uVyaVjE9Kn05ehPDU9ziM/9iCHgE0ggAf+0eskjuckL3NCK5xl2Vwv\r\nW3zOvtd2uP62rJrUEj9y2uKv3LiMURgJXSFB0RuV+kmt+8Naa3H4xcOAkm9w\r\nCbdASA7gG8AIItx4wAV+04qC4oKDUY25pZtNnKwOwrpEvwJfXClttyjnXcci\r\nFT/EfvridLh9Bln7eIgWAtO0z9D+behN3sc=\r\n=aOKl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.141_1653781004989_0.18535275856156153"},"_hasShrinkwrap":false},"0.7.3-nightly.142":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.142","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.142](https://img.shields.io/badge/version-v0.7.3--nightly.142-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"467c5176c471b9d5756f21c1d8ca4dde76f68ae4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.142","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-nv/FUkCy0gmibvrXWPTmLCNY2x0XakfKobx8FhjpejkR2NQK92Z5tY2NOhq1vwHgCa1BzKOzKvWfzQUv8VaMZw==","shasum":"7105c4147b46b3729cf680c5a0a47e8f861f1f83","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.142.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhTf0KDlSgP2v47EafTBSrkGxHjYR36Kaf33iEXaP6gAiARBv3T6636GFnDfoSk/oyrFF58ojAhEVFjtlyz/0JEXw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilAOFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAfQ/+P6NTQkh6gL8hLvNk4Ih6sDRoxRUbSKaMh0qYTu+h5ZGngPfo\r\n52CLebDoWUHyoQNRHq9zKEpJX6Dz+a3duzaF1RIuYPBsctkfTZo844OcnNFN\r\nlNlsOxdtpGqM+oo+5t4MthJvOp9RgxHfRNdXOyKAL5xS78AZrcAFFvZ5KijY\r\nzqrz/i6EjWKi+7RF9LfgWs+GH9D3lkvPrMvg9ZoKvIkkVLkrB7mJT3lEuiTM\r\nqKLZfuDf+3yqfikhEMOOqjSCH6BKpFLbJ/CQ5dAKxzQP9/Nv88ha8OhFdZjZ\r\n2Et3huDo/iKTTlUE1eO2p3hkVcV+ONyulBddAf0YOSjPs3OgUi9+FszYlSw+\r\noi5S9ho26xuk7jMbFFGRYxs8Af49CgXqZaR/gNCK0Sf3QmI8en1EYCpTuCz9\r\ntyPkw83bWgDSn42TWpxialvoxGEKTNWo93k2rHttWBgK3geRd5uwAkWrbT0U\r\ntvuXyO0WV0kuYoDekTjLe4PZNbwjTkORlMpD5EnhjKKIyxZfJ6J+n7ZP7sQC\r\nBPS9d2Gv8xpB73SYm4yErYUqm9Ut3oCvpIphypngNokX2upw9E+p+tDdsaXA\r\nr+l2wDy/eoPEN4/MtAozISP0eCfa7uR3cg0ByEg474Tm3gk/l71po816Iwt4\r\nHgv7wYqIqpPfalwMubEcngHXQEknp/BAG6E=\r\n=BMmn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.142_1653867397025_0.7083628890059754"},"_hasShrinkwrap":false},"0.7.3-nightly.143":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.143","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.143](https://img.shields.io/badge/version-v0.7.3--nightly.143-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2f89551c9f1226eadbd8824819bf9f359493e731","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.143","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-k+LtNJ6xAhlVol9RCJMonsoVO8YVFt7Acx6P5ZfrX0N1NJ+scX6+Xvf1jt+iL0/cdQYT3dL8be4AtOJXEhg/+Q==","shasum":"86226d126ab928f23593e1bb3e0aaa1b90af1c56","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.143.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpg5Uydy9cQThPNT6uTkWTmlL/VrjtaJS7oQL+ct/FMAiAGRds6Prmrz+y/M+rRcspXAfm3qeZHlkdRH1AZdU3K7g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilVUsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNMxAAoP3Rp//6K+ulwI4fFcSTDOZTWRkRl5RWq1iOyG5qGDbWF/PS\r\ndkdK7fFZKk0Q2D2XeDDvnO+esopWUnwXryvRp1B5oIItEJKdvbLlRtJvT9n8\r\nZ46eZv4Yrn6HhKcT8RnB/NzGP5E2bHocrAuMw0zt1ePZN23b+9iwAHyLuNLJ\r\n4dxKYBjXAFwvT2LrfDnnWPZZsb/BhOeCI2S7fU1hU3/d+oXO//9d2F3y8Sbx\r\nevfVcWfyw5HZx2RdMMxOTevYrhQb0OQicuhyYTtAH4ocrUWQCkmqplLlz9zw\r\nSx1j72J/xQ/x+9x7T4IaJNput2xoyB6fn/xmoARAeuqqaodN+Nk1Hx2ySO+k\r\n7y+evlzig03tzYgElLZWjdcadPQ0jQJv92xy3EWc/epPMdS7bCZjB1Ilb0IB\r\nump4LdqmC8/Ah6gxRI41bSzWb97W6r4pNSfLqpnAHzT5Qxy/MrJHb5V0C6hU\r\nFiPRY6ij8dknXjZDtmPV7wu1bHmQAu/cDS9KWGN9v77qK9BPvy73Polfd1ZF\r\nmXhqaTWlAZsRzlgfzpzeIIqLP02yr46IrDhITGHPSyA1aWIivJBqvtJFajk/\r\nSWAg242sNpuP/jlj9O740JYlnbCXofyjtegD8DmSEL4sW5QCtl3RaTt6+Y9W\r\nyvVE6AAtn8nZGVHAj2/5ZIfQ2JOUos6O3zU=\r\n=OgrE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.143_1653953835912_0.6811807168725514"},"_hasShrinkwrap":false},"0.7.3-nightly.144":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.144","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.144](https://img.shields.io/badge/version-v0.7.3--nightly.144-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cda546b2b0f9a788d8bc554171d691ebecfb83ce","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.144","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-m2H2vA8plAQQwBMVu1vK2emg/Y88+m2SUcM4zxcvRVpDvit0vUhAYbmvKwnWd2ZiQxHDMeOKzmwJzYGif2YIew==","shasum":"0c53298935d18d580f374352fe9438d72ecbfb96","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.144.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5PNKJS9QvTabNAFOGqaQLMnNPMrW7lbsFZXjAkzI29wIgFvCq4g02ER14oHsboQa8HEsqBHOj0aBbZi4TvQjLENk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilqbzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoT0g//fzcDEU0PhOkPetmnTJquma4Hw3iRt3qKtSgyEHY+Fj14FM7n\r\nw531D9+QYQwnQgfJ0Oir0EULdPsJhgErDr6amHNUmLGA/L6zO65wps67Mq6a\r\nhxJOWKSuxanwvL8tb1DPp0lNnMct9Uw6VSLS5sq7bqSTDN+9ZPGJDghSC8eE\r\nEmsdIVuqHcXn/9hDQ59+g5JwxwpbJRcIk+WF1Lbvnmlyyca/S9zI5gNup+bO\r\nVEr7l2mCBUR6WvKHp83v9s3Oa3xF+9iKEIKNnEoT/w/3XS9SGcoYs1GALYej\r\nXK6db7AHYVVdZ//QSYMJNeoTw8r9X+4t2W44wMaf2MWPPGbDi/FaPPSh9sso\r\nOVHRDLtebuZLwEeodonXpdPetSRvHkDmNzlkU6KWeryMjhbMWXldAl54F9m1\r\nCDVMkLzTSwKO0POesgYeEd5YcM5qow2xVe/ev58ZCGPN1YW5yZ+pQNrHhaxW\r\nKjDDr8bmtwpJCYbh+J2ueYIGLZZ/o6sRCiDizmOCJYPf0FbBpskHtevEJ7Mq\r\nr2bYjf5KB5fPTN6m3NmlM49vngnFsFmTMVQs17F3WQkBjG5LpvIdVYNcbFXw\r\n26NgK/ZOA7pHTcXs//SZEmCz+5G7zTysEobMgiJ7jsXSsl6N/QUKeEGKUNJB\r\nJPUen1dh5Q1Ekqdu1m3zYmCFMhT7GdNQGVo=\r\n=Qm7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.144_1654040307561_0.7256076711060999"},"_hasShrinkwrap":false},"0.7.3-nightly.145":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.145","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.145](https://img.shields.io/badge/version-v0.7.3--nightly.145-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8faf20872e2654fef862ff8d81ccded1ac2b9ec1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.145","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-MEVNY5I4LiAd/H9wolYcYwS3rHu/Ic9ePdX6RVQ2HXJgITtqiCyCwkzJb9Pb6Mg1SpFwNEDO/8SsnXOk60F57A==","shasum":"6fc2f5894bb13c368a3723a3a4c78abda12e523f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.145.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC86oThCb+5F4ByfRqSlPTxfb3qWoW6wO8OkCCHFQpUfgIgVURtHZwSQ9IRYP+zwVfkM0jG4dEV9VxMYYFCtGnXveo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil/hsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraqQ/7B6b5H/SUxA0lzkJOgKlVwvZ7p9bXotqdSQlX/u0N4zD+gNQn\r\nmqj2KL1XCx9/dG6zWcjOXWOx40kSx2SzErNE5xSKao17+Y4nYWfZiITWm/nP\r\nOvSYMyMBGju8DWg7dXWkCZBq1vLrQNJP3uSLA/x+WyfrQeVYuF9yy/jwIEpJ\r\nigP2W2Ne16IaJ1TZe6GmY4KzTD99X+V3P2uCPU1nOObXYlRxOIbQogyuABt8\r\nlKhAmzcny6mRTjfzKa538Tjlt5qekmMKa90pKSEuzX/uISslnTc+Joj8hbnE\r\nEII4WzaLjWodwbbhnyXPJYWruic/71MTbPK54RZ0po73/FAPnFpj0ARM+uRR\r\nvJl4VmGZsftu3Wmi6ELrBtv7+ni7C5z/M/dxoB/kKgO2+ZBt4p3gKASztktF\r\n6OzvjwOj1X3IwKlovFbviZ7aAfuCzrHbVTBIS98V3hsqwStXTXwkTeiG2599\r\nj1rS6p+kCOwr7fiWSf4ZinqSqWIjoeflg/Hbojna9upnvQ2x2CyMuw2nVUa9\r\nVCtHMN94xzuHGocWPOJHIFNiRo9EYYi9AqiZCKk6ItUdAFy7pBFCxIUp2MFm\r\nwsho31OhKLsg5n6RGuRWISHs8+UxBAuOmSG1ydFC+E8uWioyqu+k8bwKZFr5\r\nhDw8kJV8t5Gebj8eWTouCTgSXlAy94iS9F8=\r\n=TukZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.145_1654126700792_0.08011786526676201"},"_hasShrinkwrap":false},"0.7.3-nightly.146":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.146","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.146](https://img.shields.io/badge/version-v0.7.3--nightly.146-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"79d27b8fc64fa971f7977b4263e9e22ccb955051","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.146","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-0AdnBXJ5Lx1DTkwHoVDGp++YRi09Yhtai1tr8r4rXPz9bsAin+V5i3sSb1aAJCpk9tOWsxlrRv3n6qe3ixOxgw==","shasum":"c98395472f87502647d9db757e7b6ca84450e201","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.146.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA82JpNFZJAGwMtR0m2bGLkOuN6M0ZtcSufj3VPMKL7UAiARDoC+FIBjFIBopdv2cJiRK0LkaJhsb/7rTojGPxPylw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimUlHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmofhg/9Fa3y5ybO0NHrDFFWOF0KDpkRZFIieVrJoOAkzy2KhlPETR7L\r\nzCMoZFFAt4hsEsEHRGEGUyv15WfIyrP9pJz1OZJ430zpH63ALieV13h6O58h\r\nxyH0+BjC79oz8dd9WihkEAFXgX3NAOuT4iiW/VyYOKzKVK45C7AaVOxqAWcQ\r\n5Duu+cXdXj2EL+wPZTzF29X7WW7TapHCVln2Swmm4PPMOb0StrGLvkAZSb8z\r\nFzsp4/0vskWsIngqvNJbERK013/8AzsIZ6VdG1xaVkdHAgXUixKv6NB1shNX\r\n9/Fp1gRgPJKbbGa5eWZxYMl+cdUd0ZwfMIc9SyyeIkvYVOD6jOPBSa/cXERB\r\nk7gdK/zAFNEwWUQ1i9L+UqVyjq/Q3aPcJcgIM+PbWrkIzJly1D5zqifA49+P\r\n9y5HxkNY+WEmPAAHDu7FL4v7djeU+mzKiJyoVcJjhL0Jjr6KqAj9gol1opjg\r\nF07FzX7VkJ5D/lgGfdUDvdMNSH+wPZ/RxDtphvrH4cAuZgY2kMdQ2sG+xhGk\r\nory0XHVw2yWz1VAQNzrwkCoD2NFsgOq2ZcotJV7kBRpw0npkl/pNSnEGZu1Q\r\n8UMbAKwNdRjiJ61vsL8x/NLSspIbrVW7IRqhm5TkQ/UUSW+aa+ZYivrW+dy8\r\nzEZVz9aFPxkSxoAFqjVPjZNRx2GlmBuaC68=\r\n=c5W5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.146_1654212935295_0.9701886180400696"},"_hasShrinkwrap":false},"0.7.3-nightly.147":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.147","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.147](https://img.shields.io/badge/version-v0.7.3--nightly.147-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bba1dd3694af13483a7c9b1b5fb6e19bc387f0bd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.147","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-VgibE/U6hGzxAZvBnZ/97QPVqeU7l4CBU6QPSBG0SRgTiWJeroWtII9x6W6qYonQwuf7KUFYdExs7YR2l9ewMw==","shasum":"59b3a99a80ee12e7ed40ddc2c62381fa7da22f97","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.147.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmeyMTFqr6Ea1mvisG5kvGW+NL4D0T8FRu/f4koCCM+gIgOtIOGGZHGxr+RUdVLh9bSlFqgvtRtaxc4CWlXyzIF2U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimprNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDHA/6A8c+99vXbsY9imCCq5qF2B5khmOAIpYwR2gucFPgoigaENDo\r\nsajucF3Oqz1CC4xSQtQpWqalooNMYD55WWYP2kBHcAk2fGxZjw5IWHAYJaMj\r\nBn58jT+9duw6EroUeBcV8a7dOW5DBtGOCJdfQfw8xBFggGzfxAs6/djLvo+X\r\nLcwALjAZ1PKo4jxnH2mE+YW+DTltx47KXnlJjkFzyLwzBFJI4ouO/Fnj4iB1\r\n594EZBY2oVYaPfX0Irf/gAfoDvWg0NMq+SG+EXX7uqdXMU9bdUSS6XyRY9YS\r\ntwyWcO4NCt4+vCYhoj6rutk7YqfaHDFqgzib8pWVXaTrzlKLUIG5PtIyA3NU\r\n9SfsYmTmcKGKBVcxoUrJlWZXM8eb6eBcGDWRR5PvfdRaDUNHkoApqTwLNFxw\r\nJBd4sAw9Y8Cd1YnKKl5D/uANRmqZMV63trDml7Nd6m1yA0Jmnz3+0brQDx9I\r\nyM49FE/jrAD8zqYWA03cv9kt39LvA5eka63aCFXeYlu/9KNaxkNheRq8yDFH\r\nQjGhdsbGG3sav6SpcppA2b0mKbH26nNwlVupYhEEnSpOxDWCls9RjpsID7Qk\r\nm6Y+2JMBUiZ4jrkWj3lAV/TSjh1GNBCCyDjNHR4hFqBx3p6SsrHWysUX8eEI\r\nSk2QYBx7/MVn7vHBNRE/iBYLyWsj+K43x1E=\r\n=MB5b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.147_1654299341168_0.2308484967566331"},"_hasShrinkwrap":false},"0.7.3-nightly.148":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.148","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.148](https://img.shields.io/badge/version-v0.7.3--nightly.148-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4e318297caf1a57f78a66eeee70aaaadea545ece","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.148","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-tkguIrMiR/aEQ/q9Z62Pe8fzj09KdbWBZ3JTjGokTDydIzkoMimecCCwnkmTaIj1wlk1Z1cafZIayN5wcSbwBw==","shasum":"7100cc45d7f67d83db92253f0cadb28d271eee1b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.148.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXUxvU48YYx8WvFn9+GIKWgYqw+7RIj1jvJAcSMX3rrAiEAjGBqtCJXEA+c8Pl0MKlA79uxhP/wcdjEJBxJVQ/rqhs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJim+xMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEZBAAiKqrk5cVthjfLW7t+9X+UZTHRGbIBrJePO3mZxIi/S/ZlHlu\r\nvLkpH2KTjE+Lwi63k/Eu1uBBCAhF/VUzjgFBkVy0/WAsP2cxSBRscNwtRGxX\r\nH4hPM+wKYjVlxMS+qAu5J/TBGSXy4nELdpjyTLhVJwT9lBZc1P0MWISKnM85\r\nV82EfrdLrMeiUWo3N3DUCua4tkVsl5NdQ+NxKXWYHtbdBpdPRCzzgnWvzDo2\r\nBXWN9O4Wqm7ChCWgqhX00WtJZavTh9/Fw0WiTZSmykA8+ckcAHPT2uGKRY4W\r\nR17Y99AH+DLfwSzRJ7d03X2buYf4VlVYdyTXlOoWfzz2goJoDcHHU7xixdU3\r\ni5fJixFPF3xyNCZavmauNVH9+V/t7voNvmPXrpiNhwui4gjmUnQMLe658sZN\r\npgX+e7Rn5C7Zxwm+MYp4KUJ8ChGwqzLnQRXeqiGAmJuFsJls38TITGb4pQZr\r\n7rIrPyIJatyHauQi0HZ8MCMMpq782aPmVkgehCb3BeJdp16o11tNrvzP6D7S\r\n+pQh0SyBvayEBvb5xr8mUlurIjiSItZjjHrq5Zv/LS4KF/Yai1RKi/yfH3x5\r\ncOwKR6NvRbmI8lGZqQRiARl/if6Eco9kTiIQEy1iMtB/b/nsrhEXLKBpekDR\r\niyzpDBkS1JQljSRs65YrocxJM1C/oaseoOo=\r\n=XKe4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.148_1654385740294_0.03327108625552411"},"_hasShrinkwrap":false},"0.7.3-nightly.149":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.149","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.149](https://img.shields.io/badge/version-v0.7.3--nightly.149-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"17f304cfbb1abd6abab64448d286867ce83bf46e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.149","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-ZBD24gtFvOSmbOTeJUjbFIjv/gsGkIzhDm/9/lrjDopdT8NTmUNysGXT4JvQ5mKMJSDqO86viHstKFGQD1oW1g==","shasum":"abd59c1dbaf538813f80f0aab4c8d5bc862bde41","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.149.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvlgNAttm9Obv0RHu6C9/vvJDq+5frFmDcmCBi6CLBqAiBzDsajLy7GK63pL4qwPAXuq1265NVgcG4F4wRWTIa8iA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinT2wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoedQ/+MR1JOjTiKyxXWj5NLKHyLTT+MgGIJgUvGbodz81psYlmjffs\r\nvD/Q8EcAXFwX467mqd/sitY+iTxOwc+CqtEXyrWKftf74AkGgIhQqSWVp/fv\r\nPT3vWHC3feOd0hcto/xtOh4Zb0ngfGCvxdhPwmxnxdVU4jJ2Fg+Ar1HeIFtw\r\nzbtW1qvWdr4/7ewRS2FCeDn2xvL7XSboyUVwfgPwToMfgRA/klzHU+lVpk5n\r\n5OAl7bbXwChTJl8q9pJrOX9gnRU+mpzHmSCf3EAy56pKzHYMI+vMNAIQj9a1\r\nA9h45mII8OJgrk+CtyLNkXHOry2IC0kRPQzjEvPP3c8GQ5dpzZzkYeRDaYxz\r\nxwbN/6rxzyqKySCuekvUcXq/jlRt3e/4PfYrrDwXRnwqTMmJIxh5uVJRgV7J\r\nXjmDdovRvozQOrqIrUoeuwHoExr12V0tDW/sfUGulk+DKTKklpoH5wMVYn4u\r\nMITRhjx46Di7iu063cwTMmDTD1psTs/oWzr9BK0LaQDZM8UxCnZSl+3zpZWY\r\nOFSv2FfLEZg/tt+iFI9RnhBfUALNV5ndDCW+2HSlY9uHrw0cUQvvTzrxfjOc\r\nee8EJCiq1rKaOxuyD4W7dKofAXNGqp98SisAMZgLTUf+V7hWcyhQMxP2/4fh\r\nlPxqyLa8CNMz0fEH5GfWpi8DVtis/ytcTDY=\r\n=Ja+T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.149_1654472112534_0.9518575177894937"},"_hasShrinkwrap":false},"0.7.3-nightly.150":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.150","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.150](https://img.shields.io/badge/version-v0.7.3--nightly.150-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"52e819f1df55f70618e5c091744c683238b47dc0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.150","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-krI8fr5Pq/Gqtp37OMjo6eiJ4aRPofVgV+ZZAvIM7lxAbs2WR3FPLBJ46pydViH65PUpaFh+HEeA85HA3BYsSw==","shasum":"8f1388254c9dc9ff1408d943f5efcfe574b1823e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.150.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBwMDQihqPHL1VC3QtSLyRz97BF5uWQ3sGOA7AP8ScEwIgUYWZIPvIYYpXtYKBECIz5Fed497iqsMWtm3xSzi0voE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJino9XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLVBAAigQl5BkYrNKVFE1nw9YT+dmog/jMeu8j8RV2Z6YClMUj8Qoj\r\nOC4LKU8wTDBZYvqZvFL7altvl2Bp1lFJo87ebk6ngGMKMd10uX5MctVIPape\r\nWdAZ0u61sny3RFYmreLCDu9ruxrukYsJeEnrj0TqKdDHH6lwAWh5eJpHMu7k\r\nqmTVYSG9TOwUK+rE3x0frGEjpHTeA1zP+1b91nPW+Wf9H2E7d+7kU6meC7uQ\r\n+/ZFtX4gIu0/8TYBLKY/Kn9QQvKcbky6nMhkuIwlUzfTLqtvzBUBmF9h0Vj7\r\nVplmF4TDh3hKGALsPivGDzxL/xiMro50ig55ceKJXuR1rljw5+0uAD4DhwRv\r\ndxcqpugrCrHn3g3cgMx7Phx9lN+a634WXM54DQpIOIOizztGyYkx/9lFW3WI\r\nrh76BB8R10VFgfbps8owjYmjh5pZN3yDMpbGzd2cD8hqQe6YVrQmfk8mRAxv\r\nj1WwNoxLokAFP4/CbGR31IQSKtGE+yqTOoiCbCopTjrLdwqHqRgQo3taZms/\r\nuk9+s0A2RZRnTzGuT5/B4VAGsRqI47BZbTjHr4GiXqhxGcWD2hJITuRZMl2R\r\nXFs2m23xe7epQ7oBEfE6q9cYTqv17ItPiLeuZp9nmmYKlcLeJ0XoiH5UZh9g\r\nAIvCjxQKhxUgYINAMFJ/rd1KFisYzxf2lOc=\r\n=IELM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.150_1654558550911_0.01075869645758476"},"_hasShrinkwrap":false},"0.7.3-nightly.151":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.151","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.151](https://img.shields.io/badge/version-v0.7.3--nightly.151-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e0666899f1fde726533198248a25150fc5b67720","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.151","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-lY4gNVCsS6kLoKENjXMrsajm4OfDGO0IRLtBSfASOU0xFiMv/Q38lwRvj/s9SVnQ2iYRcbawZw9fPjAtxaGLtw==","shasum":"1fcca8ce56f3306123d3e1076082842475c0ea0e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.151.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVXbrsOOYPctKF0yMkxY3quvgfA7TKrqBa0seOu5WLXAiB5erzvLgL8wgjikfkg5Lf6vZ7Oy83PFKFIjBcBpzAgbA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin+DIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcnQ/5AMuCp9q38q4SoGwWEcGOihJemL74iOdYEEUxrrhTT2kgyxT0\r\nAJTQs0cmIZCvAi/+XhV3Q5nr3Z9TtZbN6W/14szjdu7iaD2XIUhc3y4QOcQH\r\nlp8FtzRe1SNjGfanNzk1gnc9ndTAc1XAhVewJLpuUqRk1G7NjRIx920XlX9r\r\n0RDernhXwYhPqV/DFnlHhPLo2PKzmn+sHA4FqT1MpWMp2rdP/JY7fYxYD6zO\r\nLWGQA3m1dHn51tc5ZQM6teGJTy7KM0UOj8cDSXeQ/OFNOVdX/Hr/5evniUSK\r\nH+IUtAZ7IMGfkuvVbvcoBptwf0Y6DGHqzF1aW/EKfMZo/7DqkW7bwhJCjQWY\r\ntu191+QIjufRR+I6jLVd6cz2/xwSXyGtCazjLRj04jJFwXViDlNdM01KBQxw\r\nuKX/FNCq15DuG2u5JmUC2BZXhOrrxZiyYrOE5175R2w9/khKLPvk/gPpHTna\r\nDHhEVrjZJVgLhRJ+5WvrPs+z3J8V2Va4KC4xARUwJlah1w/b4b6cSgYX4Qxh\r\nZeEmcdykRPjucPK1qoofLql+e49UgNt2Ri8Avj4b9AhSOiKTy7CL72Jx5hsy\r\nNXHKD3WB/7qTdsN2IR8do8FNK7d6K+urUxpbeoAeLN9kmoudUxnXaB7sNuy5\r\nElojU+t3cUFfZo4xGOs+E4X99BMdJyX6SYA=\r\n=Gxwo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.151_1654644936580_0.47707612028558155"},"_hasShrinkwrap":false},"0.7.3-nightly.152":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.152","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.152](https://img.shields.io/badge/version-v0.7.3--nightly.152-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b0bae74850eaa21036f97ba6950f212117a71884","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.152","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-+VUvPpYBCjA1YPH7buuo8DiQ5RwLVqCXpUJOV6QLufOA3+utfIdYX/lHVbeM1nVyVvj21wl1qi2qfb34xD8Vpw==","shasum":"66afe6f4c610b54b5a7ce93a287ec700167fb04f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.152.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXkEvvZnfeY81EwtyZVDKbCfFghPCzUTImqOZE3CD0rQIgV/IneD/IhEbNiKYQ5ssyw6/TvfAydKJKkSfHJqPsDns="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioTJQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNzw//eS58QFg+IEYMPCopRd2fgTGfmIfLasMpeqNq8UGawxI1k6p7\r\n/t2TbqUTyBB7RQlv48mFz8dXHpd20SaslARCg2xehyBbfb5kgtAQA7SvjxVf\r\n5XXbB+md9D2sdQPYa2TRvIRo/FxGa8D6lbQrgsaQ+GmhkWPw8nUqD4zQMu+x\r\ngh2pYUnd/MAaxhSNcsFEJaqLt/Cy4w1k3DhYmvB+7cYe+GfYn4+7x4qYsFKy\r\nuYdnF7VjxZ3m2FwMoqohcCXAcQt1qeu3JyHUxLH99SySdp0vjPMYrvrEM3Ts\r\nn+F92HXGe8cXaehqs2nCVjOkDw+PQyiDQ/j09c5FpCDxr/FIXogyiiLzyXO3\r\n33piwD/LvLvECU1tTeuFKy8610nEl9a6WAJZaixiQYqNLFu27fnyAPMG6ecR\r\nAqzAX53ufz56xgRFF/+Z9pfrOrO3nxnhz1v4gY98BFhs/2Wj2lSnP3TJYAyo\r\nvQTfO09quASJs8TDAHQbEPpw1ychdCW8ob2L6PaVcrewQaBR18Pv+8cot66s\r\nzB0eCMVWmF+ZPvcil1iuVD/V/n7tzYUSnsBHzF3c6OhtoIPy2K8AUcFEdK3H\r\npQLTP1mySDPsHwwrcTBu5Y5DLrl3Zp1Q+HSLPfRuZ4Ctpo7bCDesg52QqYEu\r\nJo8CrglRA6+51jOzTVVAomR3BEMS2BtbAkY=\r\n=sBze\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.152_1654731344452_0.39041978868847593"},"_hasShrinkwrap":false},"0.7.3-nightly.153":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.153","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.153](https://img.shields.io/badge/version-v0.7.3--nightly.153-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"30e3433b1aaf2f9e39e9cb75d7c76d57b52e83a6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.153","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-LK4bJYJaDB//cPuf6EvvI3vgs/VRqyo8iSZLC5P55xNSB62FCQIRiv6H4/IgRk8i2pGNqn6o8Ofm7TVgpU14xQ==","shasum":"052eb10019301417f098c45c4f3324e069285875","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.153.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjk9OUSCxJlcNYXm5GPlTvaokNOiIPI41Mks5iFM/RcAiEAoFEEmRfK3/pVTFpQXAoGrsBhssdz5mskTHGMD9rH7u8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiooPTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpNw/7BJTRj8F8vXv3W0Y7WLyaTMxZqGgcAsrOkuTbtUBgBR64N3El\r\nKObwN/qg1XWyVNsUEHmGUM0k5LZ0ReDFf+gJelGmp9+KIMasuE2Ub640TVQo\r\nzbIZPXHHBI34zAvv9LCMHHkFxF0gs5hfYjyYXNO7Cw66MI3/KNz8cgnilhYM\r\nh0b8WVErb5NiyHxSEOkruhE2dLU3zcl5gZwKn9mpwPP9S+AdC9lYUZa32CFL\r\not11d/czDCMwUEsK0/OjWwUqGhDE2n0b8AIU/e7N5wpjIM2d8VZCzNwbsziP\r\nSh9qPhgHj9i7JSHN+9MmMWZEo8n1K7KtlyIvkj+J79fkN2Tdqdrj23hD6+xm\r\nejg5lsIv5XpfHys3VaxxlzhJVip3U9t5ojvd3YlQWfyNgNyeMcr4W0JaCJlf\r\nHmTt7zymVz8lCgjcCK2oDBTgdlDvu8XXOPZVxy+B1xsDbwyACMsf67BMDXIi\r\nEkcRiSbFZpzmYrBX2riomRfoLUsrUBmPxIyF7qth5UnjFhn+7H7kCWCLe5lr\r\nqIusCfW9Yhh5ixceFpfubmrHLbxCCX4LMLpLYpJktyHT82EPfTAmshNb1m4M\r\nZwDOko55m5ZpskIPdp/AM+c+VoYARKkSNQ7AsRa9gwBXvv5D4MyWPQhVwEkf\r\nzRZqVYw7g5+mX2pwe7bNUo4daKksr0TyFM8=\r\n=ztfn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.153_1654817746961_0.5964084515792734"},"_hasShrinkwrap":false},"0.7.3-nightly.154":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.154","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.154](https://img.shields.io/badge/version-v0.7.3--nightly.154-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1fbeac3fb87aa52e8dbdb06d653835f10ea72c78","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.154","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-bavZW4wpX/nyxR0l9w3SdS7zuGVK1QUlz6cRi7aJ+dqu4PUrSGAeUTYacqAReHTCpACXQLE6r5/DSJKiz9AkPg==","shasum":"9ba0968a2babc28395ab1e14e23422d1dd34f361","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.154.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD95TNjvjk5y8B+Ni/JjmtvRyqfra74ONsXJ8PRK7v5AIhAJ4umUitDqR7vBFnccxThrl6rrRTPb6A6cFZpeHspQCZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio9VQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEphAAk3yjmKEP+rO5xciYkqXLjoKWW1ngwWf4Se/IY+ce5xRVLXhR\r\nASQDTSehGLATiLpwjgnls87MQ31WONFxDmVpQwVRRtBWeVT1JWgxPEKdkfcn\r\n0X4wsfwGhsiQEFRsR986y/xRrIRO8FvKLji5AsiaPVSIllKlldWviu5/kDai\r\nFSRKrGMDt2ORDMCjZYxsa+yCKAAf8ZrBdF1gZCctX372WRkDaFtUmEqBA4/G\r\nqCP2lj50GHmMkXBU1NfOVUeKzYeMdXC2dRYAN82v+iTLGCcQ+aFv7mK8+2QH\r\n1UnSg2DFSfDm1DDCtyUaQNWA4kP2h88t0ER34Z1g/p3siHhZ+2O7hr6T4/7J\r\n1yZSRFH0FMoXAOzyUmNbjfLxTj2/s32MCer630nwH03m04uIgr7hh5Qh7UJ5\r\nYEPTg57V1LGJ1WFcm+lfCYTKeQthvHbod3s0fgiGaV2S05y6dpNtwkKIy8/h\r\nsT2qLFWr3aMvZEKkpMAIeAC70EecaCNZIgBR5IOHcZkOkdhr1X+3W1UMsIsp\r\nwnYgOHDEccdPZPQpCfLzP9HK6Zi2F84M2NezWx5ZjXo1RzV3JVIErUJU15mD\r\njxVk9X7cLnqn3mhjDyqogaThPkywBu3glCs7LVVDtHY1Zj9psw6x98HZ+uZi\r\nMd+sqEP/wjXXmHiqjlGW4IK8qcHEZ0QuJB4=\r\n=byPB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.154_1654904144593_0.6948168447739733"},"_hasShrinkwrap":false},"0.7.3-nightly.155":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.155","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.155](https://img.shields.io/badge/version-v0.7.3--nightly.155-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0bcd055afb19eba7ea9e78de9d8a7475ae4c272f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.155","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-60XAjbwTMUEscXYqmHIHAh7V7GJex3SEqr/dVz83JCgp4ec76VhFs+7ARv2nafzECng/7samol09eYuPlyV6CA==","shasum":"9fc620e461233ed1f8f0235277682101cbbe8b52","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.155.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNdbYJzgQCfJqgGJvah/LfG+rywcz9Q2YhTQDAk6ga9wIgcTInyLuC5GTHDK2+SiMM2wi2pC8PQWaL8J0lVEd3mFk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipSa1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGNg/+IXEr1NuYP/bpIEIeiTWpxFcHtkc5M4bPo13PJxNuHqURpA7/\r\niiYLDeTSF4XSOibaBGg1HMBRQBeTwvQ6i1rB8H6uQLQJ2Uz/mlCEn2ngOIyp\r\nH1mZ0YxJjtgVXGUMtUJs7SNwZKa8ZeDEBn9mP4lebjU71PJDvTII8vEqGqN6\r\nxe7am+56N6TdbOTWBMBvn0kFxGgbkT2eqwYnL0oznU0uH0T7oEmrfHNkmVPY\r\n+6lmqupgxxREnyYon6ggRfxdQI35Cu80ocFmZHkKV1SUyGq62dB/HIPQGqXZ\r\nIOJDTw/V91GqNd5M1pBCQx/L0BetmaX3f2l1k8xItYjLnA/LKvGaKW4IiXDk\r\nU8TKhvNat65kFYMstZBntNRMh6gDGB+g5C1gz666AumIBdk5fyJZ8UGRKeG6\r\nziDnk96oNY+Kv98HttP9+XMrUy7/Y8hHBO0Bo+AB0p4GIJewvYnR/npluvjP\r\nXPBH1/W/UQH3mhzigkTzIJgj0qmpuAesFUCJ2vaD2lqhz2tsu5IUGht4PgMi\r\nGnv2uNF5MUoGyutJlPCDNPRVOQAATyMfD+VCk+f8jM3OIQQgcnEx/pEKTOSd\r\njhj7Jr3dqScClZ0GfECjX32EMK3cL/IJ7G9YTOZt/DetrTDQnlqs6MgWHsEG\r\nyr9ScUP75+o4+KT/i+z/mtGz+vUw4BtITD4=\r\n=7zK7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.155_1654990517262_0.6311115212817777"},"_hasShrinkwrap":false},"0.7.3-nightly.156":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.156","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.156](https://img.shields.io/badge/version-v0.7.3--nightly.156-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1ae9cf2ba76517e3bf7996ceb5ba1c40ca70528b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.156","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Llnjbmqfnds4aeTp+wtOapkZJWVNlaKAYgxSAXW5iEALrGLVAjLXue7Qf2mEVxFaoPdRTTnQz/DmnidwNjE8Pg==","shasum":"94709c9ddd348d452747cfe99d6421aa1d3df3c7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.156.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0kEBp5xDlEhP8bsEgoJHCucuVn4/YgvU0FvX8WZs4EQIhAJX8vq7tQsrkgi1IjhqGwzIl+LrcB3xaJuQ7/+7aLlFF"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipng8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgSQ/5AAkCCzd0L5e+5VbobQEOnBjZAnrYm5AspL30Zbnrz2n8pPJS\r\nT/flCxa6kHEfd/OMo/bsPzl5yln4e5YjJzk2qXfSGbTq57s44EnF4MOg5Ae4\r\nKWqi7qD7ykzCcCMYQIx6mrMv9PcKS1yUVADarxo3pn8YHh5ichY90Kjb0nkv\r\nrOpNor1qLoqTSILGy1fefmVaxi0lGtHPhlZY0QB+LF16HNYBiL1cIxLzL6m+\r\nrq9RIZTsCCkx+GgdtYarJUvZXo8jJANipauXRWP2EuIAKXUsTc8NWJ2Zrypu\r\nTHJMZ/ABYCDp140qwUnXdUocoh8U3YbjS3QCK6E4+s7llq0Y/RlWKrUmfncX\r\nfJxyGMV5x2L5TQbhWmyhHk4GNkdXDRu94y/eUVss/XM+yHexYDHyp4cCWO0G\r\nW5uO/3nlBFfvmHg0udhWjyQ9MtyNKk6Kj1P6O9auDkQGCYqmy7j9qJFSjMfZ\r\nKJINty3aBxv1TEB+nYyg2zd9EUCDaYpoonMuY1l7eY9YQO8FPN3BXBuJxDVL\r\noLEhDkVFWOCbTIERprS5D0eIjCMrDvAQXHTKqMB9paH5NxFZ2+IdSYQKHPPc\r\njIMSr/Gnk/BSpGe/W4BEmsL0BlCzPwuA9rNafxAN4KZJWdT8H06q9LrZOT50\r\nFwFQsxfaF3MDfAlmrm/Zo7Cd0cifcqgtTeo=\r\n=jmKj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.156_1655076923971_0.8618586867661568"},"_hasShrinkwrap":false},"0.7.3-nightly.157":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.157","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.157](https://img.shields.io/badge/version-v0.7.3--nightly.157-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6e0d18e6ea06f671be6990be91c860da703e8a3e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.157","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-p0xbw+HJq/w7+fUEWEtFBhHsD90uv2/mzEzP6zbYD5zywTgL3GDcHAiujXXajHFgiZxQC+khSRD33dZf4FqoEw==","shasum":"a246e3af156ef07d7bbadd062f7a2a14c40ccab9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.157.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF9JKFrlp0ThLGBNMh5WoJfG0o9x7fU4x+dvqwTLoMdgIhANRy1Bu6chUTnuDJoc3LZPAb61YpB9RoDOKRDHA6Op4x"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJip8nSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu+w/+Ly09rsnL1coR+jly4ZiNzEZCtVOV/aiWkEWDKq4pMMGPm9Rt\r\nLgIuhhNa9jic7CX1yxFrkTkV7ySVMkDaqTy0yh630qqm34sa+66z0EhL+jOy\r\nK+FrpHBg4ZlH9sOoNLUe0hGEpvDW6Ub/jagbbuuoOrVLW+lOlCddAyFAXl1+\r\n6QZ4GDrkSFMzO2jAYsoVQcD6jg+Wrw4Ohw+v1IIi7ufIU18xIVyt7fOfAYeO\r\nLZevEKHvTfI5xo/gZ7b9eifbmfbfMqtnW04JBtl9ewO04Rt+4xWASdsFEL6f\r\nqCgs+1EkKmMrTSJZKdRXQSHP3Ke1dteRvHzbEF2PdqfPArnqY+eC0rTFlndn\r\nx8LWy4D5gv94uhBjjBNt6WlIHS95YW4m2gIj+NGXRzoJEG0W+/QXuXLqXF7M\r\n+RXOrSBY2afJb7C4kS75ppizSZCA67Pb9bnihC9hNKROEWIHU04Fm6WbDol2\r\n9pE+8POITsFOfTkHoJw9vK22jZ9EUmztRbr3nwMOUeEZ/OtiAEwY3/hNjgmF\r\n16a11ow7ykI8kpzkaBZPy7KCl8kavq8IWoK6awCocQ01k2fpLoqQxll0pq0n\r\nApF/DQcoIevOmAS72+r/Y1uF4P2QvltH541c66YVi8DET/Ffyhc/KGS1ZZpH\r\njeer2LLfPxgf2Y9khPQWh2necX/irHvA9i0=\r\n=AYgU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.157_1655163346323_0.754310800685571"},"_hasShrinkwrap":false},"0.7.3-nightly.158":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.158","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.158](https://img.shields.io/badge/version-v0.7.3--nightly.158-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"76be99b1bac8605bd4d84d19ae4e417c95bee87f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.158","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5BQ4Hwzhhd58PHXb7J7b9Huvu2xT3Qx8LnTWTEaW7P7R8Dv8N8J5IcV9XEsP8lWzz2hP1opgv3G2ur2p3eIq/g==","shasum":"25510e8965d1e22810c5b3dd01a526c141e49365","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.158.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMSOSbDdj3fhSs1PdZCyzAgunqeOQmtVlv2jWZuMTROwIhAJd+k53bgAOOSrXe4znVc0uQXtSDK8JQ6L+3l3eo89/Y"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqRtZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWrhAApRPzbMNRpxvTddS2LiidWdQXb8OSilMhJhQ0/WO3tRABHboS\r\nJS52gmDxxBfw5lhVX2KyCrwP2Nit+s58TfmTfiBo4KsCIhgoYgVfFshgkOW3\r\nbRhC+Da8ZKF+wYogiZ8JLxLaD6ukA2A/2YlfjBjdc90XtExcDfVSNHn5Z/M+\r\nNkkLzUuMgFRcRaDMJiUr8BpghZ48/D01uFcoH+85gv9GF9Nlu/47rdPgHM5t\r\nqlqIEj8oOxysbX0W5L8hCuYQ8SY3jTXhz561bQSKfAkNiEpeDNxdrQSFxMKn\r\nIckUup4hWvHkiPUOG2n2KxqDStvYus971rA8OWQ8/SjNXlUDZKDSuMnngDpP\r\nk/O/Ai3HYbEjgfekpunJoSTUKBLdZ9s9wFPNKnsEbdMevVv1ifwtI4UaesCC\r\nWTPqTultEuIpCuRruDAXFC8AeHBs4JEAEZupAHxQHCux2T+92biKoY0l9WNd\r\n9176rjprt73cEm+aIZbjOLFCWV6GAiz9iHxpOZkivNoHtHSaKNotqfP9OYzN\r\nnONyeAgJ2FiGs1P9m5sxpZNWFINwr4Ky5mmdSTUijUddFGkFly74xVBKkyK0\r\n4HhO//VQGSvwG27PqXckQEsBoVcXoFk5Oj8CeHbZ4mmbHr9u4nXbqZrWhbRi\r\nMnjm9oa6kN3Qx+PQoCcFxgw8uCfiiwUcPD4=\r\n=knpr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.158_1655249753430_0.9753515018654539"},"_hasShrinkwrap":false},"0.7.3-nightly.159":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.159","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.159](https://img.shields.io/badge/version-v0.7.3--nightly.159-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"726ff4407332e2f709318d624268b1622cb86156","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.159","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-0FmQxKBmefMV5f6V9FhGGQutQdw2BIkzHSwJAN4pONOr0HzP9CWzu0D307cZXQ4p9qpkPSqLL0Vscqmk+MotDQ==","shasum":"2ac842702f0ac6b325cc462d93bf9facd3a79ca8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.159.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNq64Z8XnhTtjWhvk5QV7oaamn30hqgtr+AwYlEOXNSQIgQstZ59vFoCTUCN279uXbQQxynv+V6alsW+1gvHiOo60="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqmzuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQlQ/+J/h2AwSvGiOXKtqj9QLAJmEMpKyZNCCW5Ki0+xg+BjRqEBug\r\niRNf8DzfMZPY+6/aooh/HI8I7F/aJuXRQZ6m3ydvqmtPV7Q5YKSs2a/DK/9x\r\nXueOzxSFrJW1TG8VcmbRRpJbVA6jqTRtzPAS2IuOcHfCZu35wwbZTkI1UXwI\r\ncz4/AbT9+3jey1rafjQRWi+hnStPgBtpYuxEBWCZ22dvBlLb31M1RjCqMUJB\r\nUvO4CU2ffQKp8hotK9iVaAHreD4LfECazuD2DaqirHmf0SOfwf+/yI/j9rgR\r\nqFX5aklDro4i4UsuTIq4c2Cjlwef2HoSTxoZDIhssIRVFoySCmALuEaYc7oR\r\nYK5cpVkMUT4de1/A5w/0MpyEwjIhTnfBaa598Pd6b8NyT0PiSugIgaqedTMc\r\nIU3tyP+S9zsPYeznX/S0vIiMVFdo2EPl7AzsOWYroV8EfGKHy2Pdz5pXB4XO\r\nVDyYAQTTFWx26WhD1LEuwNVjOL1La5FtJ+911Od+eelu3a0HRIjlSkI+vxnJ\r\nYUKOmlPt04J+VOwb3umwIsVeUQqgoFfoPN0KTpjDMYKXB8IXICNvIXUAfO8p\r\noSxmQpVZc1iBcDFwFus2T/EvVDXgf1PqA+3S85lBGz7/XNOhZmawRHcXtsAp\r\n5FPseqHHrr0Gdiyu3m5kbB7YlHGy8Rul0fI=\r\n=oUKL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.159_1655336173985_0.20814973813607085"},"_hasShrinkwrap":false},"0.7.3-nightly.160":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.160","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.160](https://img.shields.io/badge/version-v0.7.3--nightly.160-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"198c14d504d3061e1140d1f2c991827657248520","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.160","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-qvUbjXLiUujBwhZ3jmX8v4j8UYLr/Dq8IN02rLgea2kZaEAMEC7zJXw/2+qFqLjjXNZop6jxvsKrqvXEUdy49A==","shasum":"f8e1351e8e622f07985a121310c4155ac06326aa","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.160.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRuasLFoN+BSCQIX430S97GJr4Xx247xhCysLqUH3T+wIhAKRQsHnw18xSdelgtYfqnBxjQsLlFVBPHZ1hm88WaXqR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiq75jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIjQ/8CknBjVTkJtsBzvF7fG39izJrn0SDW0niP7maSFL6Gqv8DXSB\r\nHJhuHaDGfKJLxJ3pBUaQE3B+mhVSbquel7BFCGEj4a+bSXm+FEQSPk4Tto5c\r\ny3nWiCVwj+RKQbdHHl1qmSWU6SyfIjROJB8UdWR/rP2+YYXYkYlLNkPSQYt1\r\nGZhEYSfwPxu+eLCApaAMOKx4plka0A87xTu4Upt40WLJ7PSIhT8afJ2TeXqD\r\nUH/C64+R/VSYn8ll/DJ9kMg/q2bP8/uoU0D75txY/QoOvgcCPsFNtRFqAz4/\r\nPvGakp0jyBX0aJ8NnUUsJAP32RtHIJ0i4DAimFV8dp8T/5DCMYhm2co3ENj1\r\ngGP4gblrAbSubsl3CdgLdRNPzAGMpnHhXSuubA/xmVDNMtjzR8/r01z9TLeM\r\nqlJqYG+eSxgo4ZWjAjdlwpBrDCwGktrt7AEtOwD4uUiuN5ocpYkPXbj9tmN+\r\nuyDjADF6wlX/6GGuDzSqlnJYuBbhzGsCXr/ua3BRS2RHQf6ADYDJ3nv3KZMG\r\n3JO745C3YlrBLOZT+6x7oFGFGBpDq1Lpnh/fm7eWH4f4S/0j7AV4aiU5i/ht\r\nqdS7Nu3Rey5jd58hmlDf1q/gbBe/kYNQkFrZ3ozjV2MhKb5tF9R/1O1cOmDU\r\neOOAZxCzO/a6z/tSxH4Q2ikLsDQio0yZkZU=\r\n=R167\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.160_1655422563609_0.6379227272958625"},"_hasShrinkwrap":false},"0.7.3-nightly.161":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.161","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.161](https://img.shields.io/badge/version-v0.7.3--nightly.161-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ef1f892e2d9904f351eb811dd8418fa33cb1d03d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.161","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ZgprnwUrKOodBfIk28mbQB0BbvLEt8C+c0zyVnnSeEA3N9L8MP2r1Z3bcVaTM5H88ZUAKTt8HLUI3oM6KmISlA==","shasum":"bdb1d43740cc302bba763950217b19ea4a9de90a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.161.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIKf0xyfdL6gAKMcCh2VlxxtMar5/eHszCM6wM4QNGnAiEAvPKbeeBgATyCfG78crHfzQhd2rkUk3iYBQjnbI2tWAQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirQ/aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5OBAAgbaIuppiSKxs3tDTKbYBWZt4P90Zlc4J8vssJ3YibKTZF0B3\r\n0TdRpFR5LiA8Eja78rVN4/66Tj5YXnAKkbtKytUEKGviO9hhPte4Xd2iZ0vJ\r\nAD3yjE97xPmEZi1hIDLmRWsDlUlDapn6LaWSsNQiJM1LlZNrWL6M6jZfcVHy\r\n2PLbJ0fmlab1v7IZCQ3RYVLgOMnhIIflFmo0QEwyXZd1FK+6gMyB1Dzp93cl\r\n2BxZb5ad5uwyfwzPWKRA1ANUrZcVDcgQg1BCBcXFYewonQVsB4CBHR3xS/H8\r\nk62J5NrfzLxOsgh93MTgCiZx4cBNGYEF0BAAsnt/D1M+Bjr/Fk96wtXtOnfe\r\nlCa7PZr1u63V3w24VfGNGMhRX6l4zg6O6ZvkPjMSeU3n5IKIOkFhJ+6jQrpE\r\n/ITDlWcG9bVJmJ11pkaJ0ooCfnDKF6fth8MUJ5pY7TXWXgt8yOMjN1oaRqQ3\r\nt/x5HPsXRs5KL0PdcTRGhk+nFxF18AqHOqq9PkRRkklwRw1Oj6jp07chGQK3\r\ndUmQF+BNaJ3OypwfTVrt3E3+nQ1zBCN0f8oHAm0rLOMEI9SRAenDovm5n58V\r\nGkebjaYNlUigHPqPxDrmhd/lSCDB5VDTLLwVjX87RHEAKdsd7V86YowIaqrZ\r\nD9kS2/OJSTqqktiD2aKbV9iQC3EgtWxey34=\r\n=OfW0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.161_1655508953866_0.06874981907028088"},"_hasShrinkwrap":false},"0.7.3-nightly.162":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.162","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.162](https://img.shields.io/badge/version-v0.7.3--nightly.162-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d95bb223ba0119510a454daca3de055f854f46d2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.162","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-K59k7ks8YLnvRIGRGeel0vkqKV9rjCb6sLfNuAh4ciTTG5eMKK5ngznbogz5YZ4emWTQfNVVtZZTCf3tnW/A6A==","shasum":"6b03a69f22762eb07602db0cdd2a851da7fc10d0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.162.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKuKW+22OWX6bf3PM601jHDAg/K8px2lOvRwiGAGEfTAiEA1KgK+X36vcS41Jmh3oFtnsCDhCfjtueDjLblDog0FA0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirmE8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprYA//VR/9qClau6GaUizdlndaFvHcS1BklB/rhd7pOe6L8Brwo7Gh\r\nzz8+EpWlvkC9E534IAMjpwFnxWpEbE6i0DsLWbwwe9b/18BrXFLwfpsTZz3W\r\nTZWvXJV6HhcAZ1eZoceIFnLzcN3yNTVyjy65E98Wo8HIaI1GXqg3scoePfMR\r\n4EwuNz1Y5TCzCqBG9zp5EtHYYqdbHPSGt3tXnBg8Mhp+kvgYE1034BDomqMm\r\nKiGli9hfH6A7cyB75MxaRrAfEVSOX7XS6dAIMBlwNFO80uNQpm+v8f+BL9qc\r\n/XHUVYxXD8IImxVrtkEjBt+7eybwmZcxxhrbHOpXBsFbOYtzJGyxd47V1YWx\r\n+mn2P84zyzBDPrBhY+5SE9OQEYE1FrRe83bPUNE7CXsSmtglHdK5WY7LM1Fi\r\nbQDOKlFflkgDLNWvQqTUBU4hdq8kyCqvhAOVdY6uPFY34V0GfVYeWPNilCoi\r\nA1RKjdzhBC3yLatfK08tBzLWolCkUjHuL+fo3D0tqbs80RdjLLhzLRw3Kotz\r\n41gro7N/zMwyL0uZg1gI1g89Pq7SHCDqE+Iilt21ushry0JIPFYRsZPcEvHu\r\n/qGNkdWVjGas8zVnDutuOB+SAYp0PlWu6hvplNNBsY4ODpzEvoihKy5tEpkf\r\nCbt4ZQ68RTypzXHJpynZ53IXDbnahMaBDyM=\r\n=eIXh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.162_1655595323903_0.5761113342004429"},"_hasShrinkwrap":false},"0.7.3-nightly.163":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.163","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.163](https://img.shields.io/badge/version-v0.7.3--nightly.163-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"68d3176fa39cb48cb8066b7027fe6151881daf25","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.163","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-rqFI8Yc9CxnypeEShSzOkvEk66MFnQ2daX9KvBTA0XTYTZ3MiqgnkPe+tvpisHCYg4gNk2ukrccnbHc94uDTDA==","shasum":"45445f731031ef6df8e755f8074af77aa1806cdf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.163.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRgkI93viQjJxX4OEtr/7XMUExexJLD8yiipx+slW6ngIge3/VvTDbdIWJPJKB3yS99EytT4tg8WNbZovqzrpyt4k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJir7LFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpK3w/+NxQtlC6P0elSHHGWyH5PZBPjuIL0SQMfulX89a7FEAA1b1bF\r\nfJH587Hn5FH5MziI96HMQhPWwm2H19UKRVCsE5oyBxBAsHQkcgPxyaO0FRqW\r\nvd8DPm5cH7wWAj65JkUXRxM/EN3/McOggHJoGzkieH5ISKarEXHwt5GSzt+v\r\n7+u1SVfNY5JdzpKadh8bzfTxGmH9WTD6E4hNrL2uvQQ1eURcyaWv5A5JcHYi\r\nyHEJmHixQFWmqBZcSyyh+Q+4S78Aco9Iy0pCvjuihfZEtnT4Nx/5OgJcHBnd\r\nDG0+8SUvGNSE4rJIPL6tuioytrMCMdoe2i8V+1iAYSWDlrR6HGqMRY3tb6kW\r\nWaNN2yVcDbhW4s5EJB+xd5cg0hKwzaSHAwjsRwncqZqC7SRCHaKRblXWw+cY\r\nben3OeuxwsmoW+2Jozn++eXiTLr906j+lvnvl97+4sWRH5fVBmPmngQ2L6Nj\r\nF12jbrCHa12cqiuu+H4zcDx4kZy9LiARoOSMDsqPaj+uGF58gLvE9c2bQziN\r\nKnIhgcASNos9PUaNwPspIaAIi/uRJZSSElaRyUTJv/jeYe+COPIwe9E+N1Ap\r\nuZlliUvD77aCgn8VMceJyvWfqt7epinzAN9jEqCiQhCb7yF0CKYFYPud/ebu\r\n9Cx9k8acrbBsKFS+Ey7pbKC24dYCwVx/2g0=\r\n=xtau\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.163_1655681733627_0.06543934496248327"},"_hasShrinkwrap":false},"0.7.3-nightly.164":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.164","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.164](https://img.shields.io/badge/version-v0.7.3--nightly.164-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dfb56d7cbdb0e42dfe6469890223ebf75d689246","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.164","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-dmAGzVMDxfD6guJaJvcIhHCwRGfUwVEf9nrKpGC7ITfcHVfwR9+eXP8Da258hxdgqZ/maoHMRNLDr4f2Ja4uaQ==","shasum":"be380de032a75ea9b66272c4fb9d94ab1ce58c7e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.164.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTvehvpKAKXTumTZAqUSyO1XyvQoskE8mP9gcCdwIdaAiEA23qL5UQatqxATpyY2L5c1/6WmuJkvvV1p5kKV+oNtsY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisQSzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK0w//an8xnA5IgiT2Ic44HP2T1U6b3Pxh+v+/Vlv10iIwTUeHsoQ0\r\nCF89hNIbkiW9Ubt4ZuWUq2X4Hi5V8VZ/zHUq7taggxOjqUa9knq2+81fhQr8\r\ng59hOik8w9e4XVpxxZR8RXZfo0eR+5NQDsk7U1wypI2G3xelnU0msfp9Sgcu\r\n+Vrc/Il/1e/zFQ8CHw5Mhe6TjuyZ1CbIqj7vX4ter8l2mr/YzxqK3Cbv2B/u\r\nX2xksAYiDapS0fV+AX8aysd9AiHKf4t6ZDBlAmCKdPLs3exWOxmc/S1jECEH\r\nHE/JIFfSDyLrpvx/3RZC5SgcGG/z/qoGNZPym8LDwVZOG8yQoS3A8UfP8glT\r\nVVSklH9vn6wj7x3HFchgI6yJGbRNR8YTDvHZRIk1OVaYFXPXEPf+Jtj/dhE+\r\nJeKfWtrpBOEqp4OBJBMf/g0m/fKne2zUBfK78xZ2JQaOBdOIjuXkB0qqD2NV\r\nS40F6ac1t4B+jo1kX/R99GSLsbDk3GaTlBFc1fXIYbBu8wvIMnjXgm1vF72x\r\nkTFOGvUT9ZuDmKUOZERP+ZHGOLNNsCjqfHJkbyU2Y+s4E1fuOKm/r8CnhhaR\r\ngA+FStaIfxIt6axmYlWd/ldwHbjeOsLRONzUv3WG+O9bqhNcDXFv5POIulpT\r\nRE6BI+yFnXXbTtn3kHInYCwoJvCbHHWfhZg=\r\n=F3e+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.164_1655768243332_0.6817820539182327"},"_hasShrinkwrap":false},"0.7.3-nightly.165":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.165","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.165](https://img.shields.io/badge/version-v0.7.3--nightly.165-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"942e4b26198dd8253b2ece5ef3aad8332bc1caad","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.165","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-rzlrJGg8/LZUtcyHe7VFFxvLb0btpU0r5aKukEdNKnTyP9vItDH0Xe+hDtJvHrlu7n31U0GEo+Ke8L9V164r3A==","shasum":"b7876c9083a9dbde16f5b6a77bada7e5304815c2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.165.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD04ajKYKXMmJt/cjoelA1/rRxAmdiv80FM+SWjOc5PDgIgXUpKVSGdn7cla8H+ar4tsH9vxXZ+PzCmfEp3BFHZ+5I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJislX8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHbQ//SqQLVjJ33/nOjH+rYMd2IJpRauVLjNIEKOR8OGRfZ9OHfX29\r\nqry3C6STTUYD6LUZZID8Hx+UIW7SytWb3zsDNL012/pQfiqZ5QnX5St6mNyh\r\n+2UOSxQfHzVTwOVvaaRDiP/1FHel6U3DQcPgO2Go8HNp6DwqMKRkdpbYYhnv\r\nOmqpMosIUNOP2xHtBUBXwZWjG1sa/4uzW+GBNWvpCGo7cvCaXgWF8dMvcY8+\r\nk8RiSFi2D718A+feItiZfSyr1SHt+A3pkfMbkNe0tqaW13rwW2IwiCD/SVQR\r\naFtvVlDr9gTOn5j/as+nPd1Ue+JjoJk3ti9QtWl8aQQM0Z8lv6CmUhfTTIs5\r\naU4yxGHujTL3io1YoqQxU99gt1tXyhg0Ja62Pamaxjaix//toyQdIQyYQ4G7\r\nv8+NL1LPP1YE747fBFlSvKHcO8uJTjvosAVezyVf+1scaNvAsCOh2yCoPpXL\r\nHbcwS9EY1jIs3/1IpnzE6r9Wbexu0uB7/D9K9e5Dqu0MMbO40ahyfvFDu3zq\r\ndjMliqHefpq9bQJBwyOFI04auku2BrRMC11xWvHjrd0PTN0JadcrIUf+VSSR\r\nkVFP0I98rYBn4vXYUzdpBFnaOubBP/k8x8IDChSpw7PHUcr9NkLQTnksVm1m\r\nzpLcYyHejKD6SmyhUZ1582yHddCG+q25hnA=\r\n=AvF0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.165_1655854588214_0.7927023407699674"},"_hasShrinkwrap":false},"0.7.3-nightly.166":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.166","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.166](https://img.shields.io/badge/version-v0.7.3--nightly.166-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4203b70f4eb4261b4afebed35b0cf4f19a520e64","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.166","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-3SJQN7gopXyAah4WAq5tvM74CdY+t0OmMWolz5jI3s41y5VYSSOOoTSry8dpQt/KvlzSJn0h/WQrmOvQEkR+BQ==","shasum":"f507f97498cf37a39e2f59e77f3697e5a198d05e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.166.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3WC9pqSsE2WqrXJSXGi+np8p4EPThGYYZA3Iv5cczJAiADxRAlSITUZhGQZK+YZVHMhLWSXeCEjWxU1hmqxIVDQA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJis6eIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGkA//ay8gC1Mn8dzuikttZvcaOjJf/Y4TV8v1pM3MaJqXG4/7VI6d\r\n+FikqOrPWhZ5b2dhOnJRtyvn0wqAub8TI5hCj8DFVuY83t8tzshQ2zQyRzkB\r\nekqHbyaaibgXG8d/aqOCWktpfxovigPkiufvOVzUsy4mvWx2UWb6LyTEU/sb\r\nUDygspNQnz0BIqMUr65dcRI+R+rFYJQmG5kuzZFLiWdOI7+Dy0G4wREuM+PR\r\nlzri175xxe2q5JzO0qdL46u2LXJcd9JFLXOFDqApNszkmUAQpHW2oV1larpZ\r\nly1GaOAnEqqDzQ/eK4WmuNSbaBdIFAz7jLLOMMNIH/5JDxr9PWZy14az1k1c\r\nNghdQ4CrztXBLdXGmdbHyQxoGX5yPQx53f8J6UjK3S+mIaud3u2YA0Ppud7N\r\nFPwsB/gLZfBFBxZfv9fuGZaTzg7LbqNlpk8gxVlS94OFhYr7j12H9G7DeYQK\r\nHfDzFMbYgEXevjC6DJc0eXWcg2sQGpcEHGxHdIbGJTKiapnwD4INpZg0enzm\r\ny/4oGOO4IzB9yieu1mnJ2LI6QkT0TNDyvowmCwM23XhDpdhgKSoBwPdJx3NM\r\ncf0BUIMdvM2mnASfotX3UBeEWG31crjn/310aKDcIX0AOUsXtxImsgN948wS\r\nWbsn0oZC0q2gonGme9BD+nm3uFhdt9WeQbo=\r\n=/nIh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.166_1655941000498_0.4516763741795473"},"_hasShrinkwrap":false},"0.7.3-nightly.167":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.167","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.167](https://img.shields.io/badge/version-v0.7.3--nightly.167-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ace30dd5017bdbf364e8ea6667280dbb2696ebfe","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.167","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-M+VnbMviDKXMapaScLK99xc/4SpTHA1aVY3OxltpwYs3Us4joUwo95q/OZ8YIQp2iCn3+0E0aX+O7OsewhVsmg==","shasum":"260d1c3a7821a1ab0fec39898932e6c6281ed507","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.167.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfeb8AFgArnvX0TuJtwmMfC1mv2O1tDrR7eQIM6pkGiwIhAPhok3Nx2m4MXwzRpUMzoQ4upsEeRkIFIwSqHPEQEkvs"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitPjcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorpA//X2jq1IzpQqw9NJr6C4nqOWSciT3ZzYQWIYMIopHd/QSpXFCO\r\nNJByV4mRTJhhvLLWJdDwQEIy1dlZhmeWvDCxKQL486VWLlClJfaaF2TkzK1x\r\nrjc18TWFcyMVISKFglNz/GssnJXv3habynT3WiW4OoK/6jyMk3EBMI+ZS4cU\r\nhL48Ug33Sic4/9JmvpA75rf+jACiPYBL479Q1TA9Li9XKVwBP9GwImMfUfzm\r\npuNBQaX7rsT0wSxF93SNNExNRmwyiasDlkzdHyqRLHnrvgcY2yVp5KueZhXh\r\nQ0BoqCKbg58JuKpqYXqZG/J2wD52/awWJfHLNxpiyrDXqQ8njLWWNh/eigWU\r\nc0dpN7/mFfP3hdNbQismwrpconnqpej6i7aBTl+ovBMF7T4mr41yj0akN19X\r\ne6PhkDnJcLeRnW4Opt7qz7bbIQjDUIwfi+/TMsAIgwfDn6TOzFK47Vp1yvk1\r\n9NtS63QrO20hX9y/nvfxgAAzt0/kKheQyOYRbdCxtUEHZmOllv607j8wqGaK\r\nl04iOhrESHiFq5BG1srl0B1KP7dgcJvyH9gaZioyZXKoUE8vAOJf+A4A3YKs\r\nDl8odxEJJBCMzxBBLSk1yc+SEHulGwB3dvqtp0lOpc78n5s8wc8uMOzb28/F\r\nZqau2BEelGiPtBPbkKTAXDMZ3muAZA+PU1c=\r\n=10IH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.167_1656027356091_0.574447902468286"},"_hasShrinkwrap":false},"0.7.3-nightly.168":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.168","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.168](https://img.shields.io/badge/version-v0.7.3--nightly.168-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3b44c44a5717475f2062c1b2f132305af40baeaa","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.168","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-/dKSGj7wqfercv82KVWnwCP7lIlGlE6NgbMVK8R8I1sq5GgONUORinna6WTZ1PqazEWUGigNOYSWy4/Ys4ma8Q==","shasum":"97f8a613cad06ea2284f9dc8d2797fbbb3ece8ab","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.168.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZznV46ZwkpvaUQHqGhATW+meFPs+Mk9xFX4YUXoTeeAIgPvsd5MekNWe/8KCUsbNb6mvoG/9C0NQOzNOPuNiJATo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitkpaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQ/A//RydiaUZxeWpNfIjU4WPX+zNI+B5nMcq4haqsqjZk0vHm8tOq\r\n0xkWAOxb22w3RN4ppiPsxvxwnEhnOT4TWWQmawET1I+d5sNVHsgeeySLZqUy\r\n90GMQ/wApPNgaiLleALXLRqHbs4BVlMQvwy40Bu1dFe6pUkKqcG0uqO9/ayc\r\niR/8kXqkq4Mbc466fbvE32yKLbLjFYzecETUmpvMWGCZAuX3VVDnFw3E9WPs\r\npuiCb9LUOhiyiK6dnzMtbxij1pmd1kS0kByd/eK9ZLggcdbdlW3HlCCyEhrX\r\nKxTJt93L8Ck9qbYTl9XjhgzoWyB/II86jVD+DVnJo/QyF71soc/W49XSrx6t\r\nau8Q2j7bL6VQXXP98jCLnqyMpVO1FM9RdaYIL4JqlUR875EmorlUB2Jslvfg\r\nRpDITeE4R8iMp6apwOxGWiMJmOFWnuaS5k4weNIgPm4FAE82Sl1uPU/GZKyq\r\nGTb8GUW1whGdncGyp1Tje/WfURvFU6alVvP6uSPjYmxtWgtvpkgWT3UdliAt\r\n2nyAAVJMjp/CRvJQ1tJdtWB015fCkwfWvAhuFXXlXM/O19Q/Ex6DKjXNRIh9\r\njGc9lQ1/j2M/xRLR3bXqHzfq5Vnl32lnFjFEuYzVjvM+VeKPRquNe3d7hf7b\r\nDy6DPZsbEUJbpDxvcnNn4T6zpndDZUMX2YE=\r\n=+kY6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.168_1656113754555_0.6416605822317678"},"_hasShrinkwrap":false},"0.7.3-nightly.169":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.169","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.169](https://img.shields.io/badge/version-v0.7.3--nightly.169-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c460fd7df9abf1f14f84a3327030e6b76ed49ed7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.169","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-eICjuXUSOwM+j2mJFhmJgF3FU52YPCSGDlaN38zl02YhxWa/QwzWI7Huus8oyS3e+t9tmhNc5aV6kIMJ/8Pa7g==","shasum":"9a2964cd002bf09e2fddeb39f0fc77b0015fd9c1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.169.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICF0H79adX1UNZJaUI8APaIG54z9Ql02lN4Vxn16U9+/AiEAgAV4110d6lN6ZBxCNNKUHxSXE61+inyvkR48y3T/3kY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJit5vIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqg4A//aKee/xvItIPP4gcZSl8KbJslbjFvyL+3gQgqFsfOttXggPgA\r\nMcm/wUnhnOqkTRzzx325e+xsLRA5o50Ez9JNXchvYZeAK3L0ycInPSUGxW9w\r\n8mJzT/nRiazedJf5Y+U3T32JeG/HF4/zgFmGclNX8WOqByPlkvZGf+6h+OP0\r\n+e9T6JOtS0co1vVa2QCmxAISyY5JlnJQ5bMGmw98tHkeokFn5cipkIXGZfw8\r\noQfkSABHcFkAb2PiNlmfB2qqlD1Zv5ir/xblbg4tdb/Qk4wRzCCxFUakArXH\r\nTxsLZFG3NudhbotaZuLCpQzCbnJqPiejaLNkbtQfV06yXhAN23MIV12RcEab\r\n0LM6+GT8Hp1HyYkiqqimPtMrjlUEamx+k5dCFEuKJNTm1kPyQpP0TMg2aiB1\r\nR1iOhb87IGb1OPAmaNHSLvcedf508dNSG0i3dFY0groAfBzwpA3buhiufS9H\r\nBppuHp+uvqRpac4nkwcQWp4tjPT8D271o9U7mohTQ6Hd7p5T6g6I7A8qM8jh\r\nenSKeHRbEFPgRCnYP0W20bjRz19aPVru9ZKNiPRtWWTol8gzAt6SIZNX//T1\r\n5lclbgeDq/OXD4yNyg7zPEsQsu8TzEoSQugeYk4+KZ4UuAVeJaI5tjNqa/y6\r\ndVu45rk/ORdLj9wjb19jJVzTic2lNycgc0k=\r\n=BYiq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.169_1656200136664_0.5817563165308548"},"_hasShrinkwrap":false},"0.7.3-nightly.170":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.170","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.170](https://img.shields.io/badge/version-v0.7.3--nightly.170-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a7ee9041c68ae56759ba018bdb8d7ba85d07490a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.170","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-C2qpahpD8+RUTyz4edGP+ZVFRL20itUXuoJIgamPvMGoxZm1aMQLjBMhmAYAKf3QDZt2UNZKAM049mT8JNZQsQ==","shasum":"d9602f05a1fe8a1a8d7e3852421f8100a52bc72b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.170.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEl1VBAFjIzdic99LRWYzmiAAXS6/vFgphCODUuVyKk+AiBleH+Ebx6TPSjQ6/XZhSMjU3Fh80YObVRn0VIk4HNM5A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuO1IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmou0Q/9ETgjuYJ95GXVpES2fMHFVqiJxWRknq1c2Je1fV5BBwA1CfH/\r\nhtsiZg3gK+Ywp9DBBEY+GO2h2tlsU8/GE2rgqZPWbplVe2uI7Idmh7Jv9hxc\r\ny2J/GtKgsWNciZSNHHbpk52LGPKM90YNFp9M7wPL/ABjw5NWUBANZt0VHGvD\r\n1nM4j+CAV8JbBDKnQpdo8wij/3iDam1OT9+yCkd4dokXpknBCaQAdKpDVgrO\r\nzTcJgCarlbZbmBwhu9qLiYUrvcuxbIfTz7NZFpO3F7oFqh3NhCc7P6sbSO0n\r\nXeM3aeODw7QyIzYXAjxmc0PFOqdHXvbnd9SO2fpez1gbl7BwrRQonCeLjQ6r\r\nbBLOf6wJPmnATzOzAC8ynMMFdyv2O5QJstJFdcb0WUfqPLXZTQbmEAoD8sdH\r\nM1uedNfm+mu/9NkvecRqtOYBC3juMdzCWA50Zovztrisnbdt/dHobgMYyEQD\r\nVPSfoxQXUBPmq07afS5DF+3U3mV4vjB3ukfjBsOIZSbKQlrkQr6lBwbXvoUq\r\nCKnQp59h5I10lCiNeWhrt2K1O81urXgiBwBhsdE4yQCSO+bO60k/VEGm9lhN\r\npPVZrWWX/ELHvzzj31RQ56Mfsm5qxxTiqbvPb/RFx/jt37sPO9iouv3hLlwC\r\njH64ylbxkcLX0GoJqvIuG9sCyZy4mnpasO0=\r\n=QGgB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.170_1656286536424_0.24296787371491813"},"_hasShrinkwrap":false},"0.7.3-nightly.171":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.171","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.171](https://img.shields.io/badge/version-v0.7.3--nightly.171-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8dad282296108e5d49989f98f6765cdb67bfc7c0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.171","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-7LSLgjawTKnt0fljeyfWswQLRckWYYiU3hjDT2+jHOWpd0GvPRO9wb0pNjW/GDGlensMkKgbNZY7xyouxFsBUQ==","shasum":"558548d35728568cdb0d13094c202142d6314e6b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.171.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/hLtpl98Ab2EreXluL0CZTGEzDJ9SbTgputXa/8KipQIgV12ktq1KrrcH0kRJfcSsQotFWAGHml34KlcX//AQ2bc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuj7mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8Og//YBHfAKn4GAN9AAtvzNhZpV+RorrMS20CtGz7S1cBrjLNEGcN\r\n/u0tCLzy6SHErhvyGPz+v26HSaHi5fq4DhMFZq+O1dwZ2gMKAgG+TEjUuboq\r\nS27/3Atn1cBNaQUnZb+t8aenSssnQDNRVHfJ4FRSaGXSNgA7wR545rX4qLCN\r\nxjiKcc1+0j2ZJeWoIibqwxnrHI6WJS3jghp5V9n4dNmReXa4/TOft7pYQ0zJ\r\nwqy0h+Tqf4PdwEUMrvM8QVbQ0kITqD5GUgTN5fE7Ntpt8HEbWsz88BaV9TBz\r\nV8zhho/vK+g8dOucBaQKU1Ser6DgFOTMCt4bRZGPjmzx+SpIJ7zYGGJzJynF\r\ncg/CEdfh9bHaJzNn0acApMQXZkvjf4SyKYyf+5I/sd38JOc37WkX5yLkvhqW\r\noP3d/0fVfKA1wDAlfVNF7nf3j4HnAY1fNrjaVQaqKpxRvdKAUPqjHroCj2w8\r\nGbeHuDsn6JwHKCeNjPd2HDGlwyU3y/2NHkhHOZ1jNndV4kGxdTg6/HcgADX6\r\nMisQNmQ1Gyhtb9JWY4RjNcLSymprbzCXf/mJdSgqrySCATa7L7kT++b4IGtL\r\ndKDyW9ijmVfhus+Ov0p5LA2SEFuBbtD5giYjYnBg1QSKcASXP93R/+dMjAdL\r\nAPN5XIxW1hb0QazBEEiFxaoOsv3LNUzmvmg=\r\n=XVqi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.171_1656372966604_0.7470859826156551"},"_hasShrinkwrap":false},"0.7.3-nightly.172":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.172","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.172](https://img.shields.io/badge/version-v0.7.3--nightly.172-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6f0e8ade0ee850a96103db72219f971752620ff7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.172","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-MdlLEkVHE9J2NDksFQgQa9YwB5inQa9swTYRaxoG3nIfHC8vhL798N+J64aNOREiliDMSnU5m38M0gSYS2ePCQ==","shasum":"2a3120061f6b27bb07069c14a7e55c618a37c7e6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.172.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExeM6iBFP0fruX2yr/3UWMjsBV/oAqJjX35UsJ6EzKPAiEAr3XEyruua4tVgN5P7BgV9v00dFiiqo4BF9modlrakT0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiu5BZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsVA//bdV6SUdoT8YgV5PBMkQstYF7ttgD0IqfrCZcZGR29qHywKhh\r\nwGfziNpfVKE1Ys5rphuZnYNTIFqUIr3QSFT4qvYhNyGSG6PhDtcOZaIRlrhV\r\nldxgSJKZe5bI67ZQhu73gOL40tk4yAXzr8gf4LZK4M6k6lTWOgK9qFHuBIkR\r\npxHr3Xui9J43iHMlNgYZrmldZS7u0IhtLdTqM3qFaKNHhLbHKIm0SwEvrh0Q\r\nuFhUg24wkCukIqYiromldZoauJqPkm3W3CtpdoT1MsGC9Euz+GoAG3uR7JaQ\r\n84IYSdpX9PI1uAT/uClL9hncSHh5dS6jcW6I/J1i7Atp/99mr7FxJAKjNJzr\r\nLJdtS6ixuwE+G1RJGZNViZy+jPaxMWdiWwUP+goWgl5KI+FZ2mpoicSRB8Je\r\nj5CcI+xSwsat+Hh6o0pQ1gsXYSnF6vDgaFagcWWCJTb1G22xxQQKCZjuX+vx\r\n38UpMVuKDPGUMuIBG44P6R52WCY2adSk1wQGuZqtCoJT2lMHWzsDQ7UbQu4X\r\n/Zdmw31XTLrSTsxNdad4ZHAY+CnCAyt44Fg/5FlTtWPLfVrzLxen0oXBfzyb\r\nYZ2jEc/2TUiKK+BdlHyRA0yA6h6PIYA0NThu2Rnr0sbJ9LZD0R1a2B6yJ4Mm\r\nFzTI4LGZiqiwvc6X54bUI3Y6dpe+z0/x098=\r\n=QhBR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.172_1656459353653_0.9488747665610153"},"_hasShrinkwrap":false},"0.7.3-nightly.173":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.173","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.173](https://img.shields.io/badge/version-v0.7.3--nightly.173-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"88b59b55dacb157c45e84ab1bc77da4aadf03f6f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.173","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-U6+5w+tHNVOoxprmfInmlskLLesLhFUM1QfBlreEYUpQ6rqaPEoHzhO7S/l/Fn+m979O0svwlBQ519wt6uVtWQ==","shasum":"37d8a6c82ffbc6915c8a1433f4bfed872dbc0600","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.173.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDc0H6K3sgSrzzftzAGxSQmDhfY8J/nuHBIg3NkJ9FecAiAna5XWqDAiMqs824R076tOL9zMoHkpzhDAEbrhw0aq0w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivOHoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq76Q//QHhuaQ6EWXX3gJLOPKYHuuFV0LdR6NWulfPbSm5mVydPdRJr\r\nKJlxcd2hD+ukMW9mi6n5M2JqReLoOTFXXaR0ekbROMu9PE6LCkx6f7dVy1Ri\r\nu7DDY+nbaz9CXznCgxkk9YG75vCwxPKo4ELFm7m/8gAftyz0lTJ4NyyxShxG\r\n6BySeZpfwr2YkyJilnqL1ccGMKJ2h9pG9J/iB5xX6cTS27+xrWUBE2iHsGtf\r\ns6i7RLv50n4OCSWZXdrbZJZUv2ZF3lxuKW8CA3s8YGP237/9C/wWbOeqrEyd\r\nPpSfUR5mzTQYeI9S3TwuUX4pYORExdt2Vq6c0YRQQEku27muZFUgS+i1q4XB\r\nUTDvFISwxsMXTov5FeEBpn0qZgoMu1cst+i2y4wGRHcH9XJYVBvMUxApNnD0\r\n5oZgD7cfqj/R1h2R6XK2pU4m2W5VRI+1poG3XnMSfuOTA9AxzXfBTbDtCpsw\r\nwIsVZEgVf1F0kLOuJ8vs2AchAlnJEm4jzwgktcLKj/d56auvK9n5A04W8No1\r\nICmwzzqHpfioT7aU2FYaIsSOriUDw+eoJufpDeN6nTVpUPNn5yLzMFbwlW+B\r\npDuQRbNXOb7nX+j8uEuUvZ+2FHV8Z5Tudn51j2q1hjdPXBjxbMRL+Yk52smW\r\nAow2r6ertMtOeTVU4jgUyjDAJDI33a6F9fs=\r\n=WrKs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.173_1656545768668_0.7489778749559806"},"_hasShrinkwrap":false},"0.7.3-nightly.174":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.174","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.174](https://img.shields.io/badge/version-v0.7.3--nightly.174-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a7452abc30e4989ec103fd115dc93f706af0030c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.174","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-1vvjE3TxeU5bpccYiGqyxDt2rGSZJoSqmFSCFD4wnJyIh7I4fsWGsXMji5UlAgWZAY8M/jwbuHQ39Z0hdvOc4A==","shasum":"a3e66d2b47ac44316102a8b1e0b260fd1af16ad7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.174.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMKqlZpMuVT1Wz2hD+jtk3ky72cIxkTVkCMxlCE55W8AiEA1L4wACP7Vfp8nQpUIJAXqDjrzVN5jmVVOtmQKFmr3fw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivjNfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiqA/9HZwSEisjR5vViHXexA6JKv4GAfb4k88kKvDmmlkfv3wXZL+f\r\nViOdZb6yze/auqrJmIYZ3pK5QoHkya3ZocVh15vWFuEQ5KW+16nVVWWNS820\r\noUHLUy8DETOkfi/s7FlR4FNv3C8yFRoQ/UwYd+SRaC1gr0KO5+EJeJF4bMjP\r\nWUQI8svDYzbIQ8fTwcg3CmEZX0IgSDiocbchYe5A7OedZmhOLZ3eqk6AH8rZ\r\nF6hpyx5/6ACvWpLHfAMFclZjJz3mXUGYeV9pNubH+JsO5Kq2yMxOLpIBXCua\r\n/NVJjT/e5XL1Uf9BsPLgz3YaFdcX41hJRCESViw8xdo1YcdqKbPvfizznFD7\r\nGrCRfV0DSA9X8RDYEw8obOzuUSneISoyuchNw7qV83AHXT1N26x/nWJT9Nd0\r\nDSL2/ro/nRVxS0INcA7SJF13oBQLE0aDmPAF0jYOutRBy0kCPliB/8FnpcjG\r\nut5KQWZn9o6RTMYetVQZfyDY7lry/LArCgoz3PlYL9rLpiQAenwdWZziQzAF\r\nO/idImCUFbCcIKrmoV2Rbkp2bigSLznIWFY98qqJAfjGrmzynbmp1AoFvAeT\r\nT2uvmvcHRNcOWckKV4/09jVhBqE/WFqqp+LuqZKQFk9A/HmWDYQuhQMpA9Eu\r\noqS1aVY24fa10a1y8k+bYEu7cU7wL2W4P9E=\r\n=yKwr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.174_1656632159366_0.5784749224889385"},"_hasShrinkwrap":false},"0.7.3-nightly.175":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.175","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.175](https://img.shields.io/badge/version-v0.7.3--nightly.175-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"887c49a9994d708d891b8c72a504128500cced56","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.175","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-9oyb9sLQS6d2mOs+FxCWbD+viMrzlBDeGAG+uljFMR8buftwucIX6goRv5XFDWSmZyMdw6J/vfMIUsn0WIBsug==","shasum":"ea9340e468c9303aeedf9f24fc251044a9be8c86","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.175.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD37IW71NvPsDDQ5zIQxd1c4rgdKfL6e9QHUp1AP0VSdgIgLaFYu4EdMwZj2vDqYjRiX8oczJT0QNopz0r+9wNzlCI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiv4TcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyaxAAnxVrMUiHXWk80VRr3bPP04tGFm0t1HnMbWrelYJ0sTuPLJfF\r\ndgy3Kx3H98jFPVFfEPNM6pF4OTFb7J63mSctgEK8gjrAPi6ZVxHY1z6lxzM5\r\nt/newMhn6zlu7TCU0AI9CXgCKDGHVsqbQDdTe5EEyRNn5xcSyGVjbDM3iGPI\r\nnFJYLCuO1mnycagEHofcTL2QbiRci5Fp8ckwYWkhN0nEvcvozRi82XibwFPq\r\nTIFJg+d8JqPjv7EgVnn6YOZ5MuOlREZSgTQsjKLxqVE/FIQxpl/EX3jrs14y\r\nDqMRwaPpYOrQPBwX6j8mrciktcR8dAvyhYvHtLDqakskL3tXHujBA83oHUHK\r\nE40PK60nT7Fo9In29ildRr60N93snoLM0XH/rI1y2/izUmTYoGPKktu4sOgp\r\nhQIpACskYwAu/YY6IRXxL50wtZIaTJ+pLVrMNTN0y7WPOxlShXTRBhEdBFbN\r\nMg0bom2paMuJBUOVg3uCsu49FBfKMON0XgIp/cG2T8zwaBa0n1lbF+HQaKri\r\nqyASyC3ymP1+AWj4c0u+LvBz4I6v74KBIvz5I3wQ+bPSL/vr6mbnYg9oho3z\r\n79yJ+MsaQgVrF9QYTdNhb1MXWX5olsKdveEsoGW2mcKdRKTD2d7qzKj1pIR3\r\nqte3w0xbfnpq3dZqk/QdY7mgPEfESfTStMM=\r\n=eYxE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.175_1656718556137_0.9222769112652844"},"_hasShrinkwrap":false},"0.7.3-nightly.176":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.176","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.176](https://img.shields.io/badge/version-v0.7.3--nightly.176-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"324e52860229348df5094c6e88268a680099eb79","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.176","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-sh27sY3SMPsd5OtIO8TUiYM0xT/+emH/Kn7M5vkm8VTRM4ezVIEcb0Glog13FYMmOaSB3T3tjV8CtQqGBFiOAA==","shasum":"1056b90ee585fdfef1a3b7b3dbd517f758ab0221","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.176.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6h5tXV6CZLgTAL1upg0pOvvYmH2FpUYe34QWfDZp8VAIhAOgPcC5MPzyX+GUhriyTtG16LDMBCc4PkgcT77OCmZbx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwNZGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpfsQ//d1bwW14X9mkGg5WlKU1PDSXgWf74y+fdF0437hN5sn/BaePW\r\nsTWE36UCrO3M2CGYin8mUk7rwJtIupRPx8EJCwwymbcWowOqKjYWGxQWdIJK\r\neyUkP2cFsu/Tg3ooFqjomYBKcutEs5mGCZSnC7RqhXrot/Xk/95bgQu4k07b\r\nZukHynKOsyawK7OSrIxBSQ4iCQE++eN0857KPiYBiVQVJx33bvEUgrCY6CIM\r\nzpsBraphMc7omrql6gIez189ipM6DdUkCt6C0l+/12Zx3iIeLM0aZoDh9bhH\r\nXA7vLuHZGGQXH57hi78uB9ZwhXDAXV6B4ICDsa0DTZnqgFRHuOs/alMS4z4l\r\nKReQdT9XrHmEX4U+ggAp+HNEKJo+Rp8vfujb7iKKSbim46kidpR1lfK8n0gJ\r\nKlvW/6gCdT9kk6JxrlC9y1AvYzI8wyvQAqWMYCMCUXN8B5LaQFeln1JjNZkj\r\nxvdeFQgzwPWGSjuhB/uHmyQkxLuHhtmJfvBwHXS0CyydZsnqnMY3FEHevGDc\r\nsFr0KiA38aczDmaDu2x2g4dbcw3/iJ1QXQBB8/+NF+YNuvtdrXhgXMYWsQuh\r\nDEvbcFhIl6MV5R7PThO+i92SJ4qEb79lO2n4gQj7KE8NRTaZmrrjRyiLMlpe\r\n//fHGDAXzEY2SQUjX+BuW9iUzZ7I2Ox97Pk=\r\n=bDVf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.176_1656804934614_0.4457144240976558"},"_hasShrinkwrap":false},"0.7.3-nightly.177":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.177","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.177](https://img.shields.io/badge/version-v0.7.3--nightly.177-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0179d5ed58f9cdd579746c77ba5a8f67e87bb968","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.177","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-JMVGLOsDTxgFDuhJ4Mqd9TM4/LLt9bS18MaPvdOPn0YMBQHqwJT5lq9na+gD6tuIz6gEPRYpjg62oy6WnMVeNg==","shasum":"5544e85a851b5b4e742f2ab857e73c66126950b2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.177.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8xGxdzUORg91EMPA0EkXuk+3Vu94+vZYVdGXWpK7oBAIhAOzTB3/6rVzlX1IdS7FdTIBvnlTWA58Y7f9PuPTtLHAE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwifRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZTBAAnW7o8oi6p4Q72URzE2wpCdsRTD/p2bRWh7MujGhdqTIEOULh\r\ndqHYdTR6iKL0FIrkiYG8+FBqEYbM3ae6R0CRkkwBOd1trpKFgoGb9XJWjW1f\r\n3l20PG8drP/dRNv8aUVUZyL6rCdE6Ylq7/bfubX1ZgFi493CB2AZfALgGiQA\r\nfjUyUUdvxJv1OrzTFZBDdYxNrlCXvTHzQuf3HkqBmiCYBQYld1z88ZDWNjNf\r\nQqY5RnrWw956KIcCBLEGAD00c0eASxCrc7K6BCt26Ck0GsYKkYremrfYCQ78\r\nSB4/77jYHnvha/vXMO3wUx2Jv7y3AZumHxrWcHW9icDUyu2RdjP2Gif5Ub5l\r\n5AIqkX7iS0nabWwyuqCHTTR/j6bpS6ke/Xj6XTZTOa5uC5Ox0+Yov6oyRKfF\r\nDmJYO1XSDHzKeGo2hpt1vg1AyziIp/dEblC4dt4SUbJoaA9cbmRj/jSuzWvH\r\nNYtjR9SnQf0f60hp5eccODc6Yvq8P6B+X2Dm3AlngYGxejc3kg7b6nQqgJ9z\r\nKAR508Ouoc5CpBtpqZSGavUxcERWxQxaOeAVHZe9JHRrxfxS7NdZM9AJ2jZ7\r\nfD3iXxDueIgk1skv9c2LKH/LfASBKIB0/mpFAMapwzf/8i+eemhv3BDVSF8o\r\nPcyS8du3ARn9Zqvk+twycxWbFxPwWpP6gR8=\r\n=lq7U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.177_1656891345218_0.653621621441183"},"_hasShrinkwrap":false},"0.7.3-nightly.178":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.178","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.178](https://img.shields.io/badge/version-v0.7.3--nightly.178-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"729fc77de6474807370cd67bea4583fc08289c26","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.178","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-mmOUQ7qPOxQQhpBW5cs7H3MeBLOdkwnn4lhfQU++w8lyscJFl6rrv+WTRTnQ47XJ2Ma8I2WeVQOjnxSu//DM3Q==","shasum":"4758e3f648cb98ba60557a5be7d03b9d52b6805f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.178.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDDJfO1RwGojrHPAYDpDMVi04s6k/jxAx9+pGBlQDHFQIhAJQX5U0QZpLbqIj88y1vLReANDmFAQQJwNnPJfnEM64S"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw3l5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohBw//dhr+l4gdUuyqejmDgLUOwD062houEpQaA8v/kAz34/cCBviB\r\nGvJ0GJDcpBIW0I74TGkVFlMNrDukSk6JfxxFmMhxwKzuZI5Kkba5LuhwEEY6\r\n2fjVXh4p6spw70tKEtO9cZt2jo6tImjWKGCWMq31+HXYuhk1BqOLiy/3+sC2\r\nYW40keZnNh/S8Hgd8o5FNdJoWXo8Isi0hlazY5GBF2ijOC3FvgvJ9B4l1A8I\r\nLgkNn9nRs135G6aRYf4GCfOf/afzEpexZreaS3u1W1dqwBKQBSMHhI2coeNy\r\nzn9NYPmWw2dGMYI60Ll/yqv9vW3qKFmMyD7rzdOtTlRjpdKfTlae25zT670m\r\nnP+pkiox1GuXJ2MPF9ciRdGIf3Q3DFXJL6/Oo0RdMXGyFPrkOIACpb9RJ6+R\r\nZHKZcML6AW4LJY/rxkMFnQj5gt0s8WLYOtHY9la6Xs4dVp9PLIbxyfmuVEWv\r\ncQZ1rVWfSie5nrht70Mje0lKyPHztWi/gM8AZziSl1snS22LiAkqTEdM22/r\r\ngq2ig+udjYXF/qaSDP9tgwfRYTf4LiIygvPFu52zHFp3cy+ukqptTRr3/Ag7\r\nEy+1fC14t3VU4d8EQqz9QGBZI9NAPdHA8P+6dbVIhTHd76fZSd31fv9ipGJx\r\nv4L+ncuOqY5cXieobtsLrkYeGPkc2+WBhdA=\r\n=MUvY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.178_1656977785643_0.007550901730770443"},"_hasShrinkwrap":false},"0.7.3-nightly.179":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.179","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.179](https://img.shields.io/badge/version-v0.7.3--nightly.179-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8bec25c07054fcb8151788e91e28b3773dd14afc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.179","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-qkoMkKCMkodXExLa49kMX6/Wy5dOeBlWmYSiQ6qP1mMAwZjsBdkvPIVpapvqFdxxfRGTgj/p5yyOsuYiwK8ixw==","shasum":"4250e894e0c0b04aa01f33f142a11e7689384706","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.179.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHbCGT7GgE7oY1NHh8kagXe7XMR4u7kTRaI1zW0s/EDAiB7DWqGtZ4CyqmqAqtTTLDxSNGTUPXmUHJoQU7HD6Za9w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixMr/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmomqg/9HxRiDKt++pCCfxr0dFJFdDuy7NT41Qs3F/4Yr9FkTcFZS9mD\r\nBaFN43w2uNty7ds/NlZNew0Xxz9rr6aCV69UaQE3IOMiDVfJoDkIbucQ7KFK\r\nG1Edc/76++RgsMcQu4UzZUNRzzdqzHIoQKYT7R/uQwp2keZTrWAaY8zhZjbm\r\njXq20vO7TeGygU/hA9WmqHG37OB9zN6ZzPcdbdmxPz6RvIhhEFwF77n1o22x\r\nblXaC7kk0nBFyjNB7GpbxABYawqdJ5eyN40tUOq8yXYQ9MN6H0lsZStDaPOq\r\njRVxpXdgQqJF1FTDvJbJGIKPcLSDgVAAILZ73lTWhI1ufKy8UoQ4M5VaT0Jv\r\nYuYm0UILwhdihtgnhyq/24FtuKHVq37K3xUhJWjXZhD5BxznjIZ/pf4IHnQq\r\nzMk3ufqhkdVEkcdhb3hTffY2zEA/qF+iXaBHzChoArNpE386A4ScbD/F7+pn\r\n7uqVm9MJdXZUsBYioMi8MGIoSfkqKWBQk4ya6J0/xJaL6pSBO9PS3V3+qCDq\r\nvVZhOcwmo/kXmjs88OpY187J2pp0A2LYL32NizWl7uSRMoLlIgWKe5ak7H8B\r\nE7j3TWkBoFBV290TirViG3HL3yi9Ty5qMyVNnw05wqQFAF4hMaNUlJUONL82\r\n48YnzbpUCnKtIqbfAB01CjTyyJmzbSOJDMk=\r\n=i12A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.179_1657064191778_0.11821990194873955"},"_hasShrinkwrap":false},"0.7.3-nightly.180":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.180","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.180](https://img.shields.io/badge/version-v0.7.3--nightly.180-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"78350a137fd493309d0e0731051307d30d0180b8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.180","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ciqFyo69S1DbPoIo32j2cTYBZyNKA0Zrl/MzcAjLLto0y7OVDyeO3rdDjvGvMOeyVNJgUSpp2C88qAnyyi6EvA==","shasum":"75071a9964ca32911def267a663006ac0ab20085","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.180.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2ABeArECCXSTnUPSYJkow+5Zz/qgw8arD0AMeQ0adAAiAB6vU5ijjdkMSSicenvBqdM5xRtUnWZn89lCVpi0xebg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixhxWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovTBAAkTeD0VzBtDLqgd7vtTd7nWCpjRc11nvLooSwtJ4ojaYdqv5S\r\n3dm4rC6YRjOD768fDEnDGdd2jBvUIkierJsQZuvTzpAI2cH8I59LSVvn5PtD\r\nIGBKXstaopU9UOiFzJsm6WXtJkaHkqHaTSleDGund66NrrsGyDjRQBq8O9+9\r\n0UkHRqC0tOCOAZig7lgDBF4EjRWQrZntpc1q/7QnNSmmcOEkw6n3zdLcdOwv\r\nrerIo6wDlwd9F2VFUbVXKr6udhpJ4zO3wQlW0eT6Jh2TVSYGlxjawzIM6u0O\r\nQdO8aaaVEx+FZS1LFtNTaRabQPSKmwXsk2GT84lE9fD/8N8I/FL1hTimn3aY\r\ndJWdnXn50LcVoq5k4QY56qLsnkNxvHdmEmBqi3tLAGe9BNoCoCmywTKyL0c5\r\nobByOwBHYxR9sWvksMow7UfYd+D2zJZWvKCkvAeLiA9vYXz0oit9yQg9iHxt\r\na0ykyetD3UUtAvabwtJBtmOSjuTAJRinIktYY4sPUVG5dOHi6DUZasY2IUWd\r\nHvq17H2LvGUPy7q6EQaoOfF/cpfgK7Gz8OcweWlbDE8rX22Jhy+wMNYy8rIk\r\nltRLrmnYvrgjjrTbzAJvnWeo1soiZ7UXtIFz5YEqEU9xpiU71hBYfMHkCXzP\r\nPx+0wYOvqEpNrSl9PQMN05EOUF4fMBvyjS8=\r\n=G5O4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.180_1657150549986_0.8966890066167192"},"_hasShrinkwrap":false},"0.7.3-nightly.181":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.181","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.181](https://img.shields.io/badge/version-v0.7.3--nightly.181-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9457d0ca5895bc05f5c8ae85e7e4fd8024f8ecd3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.181","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-sY87S3aXRKeWXVJpPQl/mZSg7+pHScZmxIS79RvuX1c6x/gIwLhs6K95x6EgaSyp57OSxD63B8lZs6z5yyLq2A==","shasum":"734494035913501891cbf92bdf52706a3e0cdf7e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.181.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOsPh2s2Ui/TcTPh7LQFYwk8CuXxJSyOEumByWFNJuRwIgC9uyC5b6UPe/GUY4Il5MrG/ZF+h/cmY9+ZMG3VPgetQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix24KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVFRAAhT7bEb3vnOmOPsthubuCW8nSsDpckZrMF3/R7CXHKru3FDVC\r\nFq0ckp2fEEZ2r399S/SpVAn5MbVQy28cd6WKAZb726NekpvTgH3CATf3ujq1\r\nRehg7lSw1zIPyu8wSwARcR86vOqDTJSEyzj3/8MiYfvgQc1q3lTZNuF3eT2Y\r\nIOWxsuQVqZ6LlK6MnvBNK8ogKg1IxGNrN+ot4sb8bUCE/xIs4p3+OGLIw/l4\r\nzIeleh++76eQrv7H48i5skrtwuj8OuVimkEgsYDedFCHJfBTRPOcNi2D2wmQ\r\nEDtE3sgpszv/be9rLSCLFChGQKBvlUCtDsXrRKhjaD3DeGE/avZRKOIMFK3M\r\nbfvRDoMt65ucq3hOYLXnWcTtdt7tV4AWEtWQmzjPZyRM5JM4QWpdXIIle8tP\r\nN0x5qiyYEYJu4TnO/T3J4zQCKqc4RATVaOoIidNVJVMubAfiKtASKggWGzWj\r\nPPC+YCcHv89Ozx4Xa1hBlZ9+7iVqj1O3n3wdd5judylrXO+fInwkrInrAiGB\r\ni5StodLg4h08D2XkspW5dt8GU+dtxs258/mKyGyihSRVlLwf7bld+MhPN1OA\r\nN8l3mJqqugejNoIjXdq9Df/FttOoJbMIFv/zN1D/pn5232KqMMvXmnPGrnjW\r\nFMaqbIaOQpqNJVbhhqirVAbPnzK25Pw+ihU=\r\n=m5Vd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.181_1657237002501_0.7860835546234335"},"_hasShrinkwrap":false},"0.7.3-nightly.182":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.182","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.182](https://img.shields.io/badge/version-v0.7.3--nightly.182-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"32ba4bb0e1c4c759c30678d1e53cf047c8ec14d5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.182","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-G3wgJQD8j49GF8HHUS6fVLrqyTssGelTFYnv2YWNIAf/mIJ+DghwtnlN7W9CZkLGlPw+AOGVdUV8maFXUkoT/Q==","shasum":"0fbd556b459c6defa09a34b1a9483fdbdbf9334a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.182.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxDH+qdAQtcdcwUc/FJ2qGeGk9hwyNgGg+OUmyxYBIcgIhAOWF6oPXiDobaSaYAr1aLUu0+Dsy82wEKlIWebxFoqTR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyL9nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTQA//ZgBOPvAHvc9ibCCDnWiRrH2vWpA5orCf+RL3YT58Soy1ZONd\r\nScSGlZFMFt1sROVENmlXD+OV53pvtoYcWWz/8Jt2PbOc9ZA5Zk5Ew38SbSHq\r\n91C6f7gV61ayuNBM9LwA/vTZDQX6c/1bCijDRCICTXpB3ovBHy4A9u7XTxPT\r\nxa3l7T/nje9t3n0NAB3AMSsdJ0wDQb30iYtXAu5Wt8Yk4MHlvAV4K+/HXUXn\r\n/6gr1UZqJtpCcfyqH4un2FSjxIy49vonTQvBM7ZcvtWHLcgO+m9j2VOxFb5B\r\noe8qBzGPFfnR+VuxPmu6FvtksysB0e/QPNkv3sGwQ5TQhdqkYtEa35ovy0bt\r\nyCGU49DdpiLCQ2YVuTElxAjWY/NyNpcGgk3SLFD+nTKu02jNA9R0NpTpU2g4\r\nhPEd2J3hXBLA8+jx9X9kGlc/8A0Q1k5FuRzi3TNLdXylC83kTmz1/FLmitvb\r\nxwg5Mzubce3K0AIOgtB87Nt2aiT1SDcg2q+nowbIhME66fXZsMncsopLoAZC\r\nCD52bk3rJvruBBgTgvbjNzWcjymRkkPgXTEInO73o2WIUpkkgZU7LMa6gS/c\r\ne/w1atmkXEF3dEyleC2VsfgFd27wDMlSEqJ5z3ANP8zLhz99Zzr/F542b4km\r\n8M7yW2E+pk0omn9N+AGB6HNyU2sBHqWNEEM=\r\n=zreC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.182_1657323366793_0.786974004537516"},"_hasShrinkwrap":false},"0.7.3-nightly.183":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.183","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.183](https://img.shields.io/badge/version-v0.7.3--nightly.183-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0722fd90f009224742b034cb9e7f093c678e332b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.183","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-XZzED1rAsHL6rr34oGmlp0bKHiTibt6AgjRvKloCh+sKhlGI/8hgXzqaD7xRFn1cvY2fWQxHWKQghiPM7ujsyA==","shasum":"4ffd711b9e7d03859bbb3d8536ed3a9f94a66c0b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.183.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbkRD1Sz+o/FFxqFb0O7oXS7BkUsX/vbxgDlf0stiRugIgSHUT+0oNa22SdwZ4GHkh/mXCFi4QYIxvcHrLktkSFiU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyhDeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbfQ/+PGAwYeUbECXqI1ne2EV5rYDZZZEzlFBeQL/VB7TmwrdKCJLt\r\n/7SWDDHGIeiPB/Drd7DqE6C399kbqrD9W1d2fctWQ5TSJqHXbUC9geYw9Vul\r\nTVcz56OyptaCgL4TSlemcAzVDlTZO2Jz+REcclUu9upWkG8fpGTNGS9EFYLH\r\nzGNx3t/s64hEd8sk2XOsfTCnyRC3H6IQOfzgxompeLCdQBT2v3H74HUW8sil\r\ncxdq/QGhNiMVpAUhl6oeEBTwBof7ydR0EOR8M27gdzhHG+hKR5zUIF1/7K3h\r\nlFfVh9kRnwR2DfqqXW4NH5KTBpFMc9h++Bcth62nSTh8njvhz8zJvSy9vMjA\r\nktmGKbYvuLpNlOQdR7y/QqAsoj+Q49i497r/jOPxD3nrLpdX+W5Byh08U9ux\r\nZx9ZoI9gc1LlqRzpjN5so8IVSD63VNoeWXzKls1gjtpBcNe5vdMewObkqT5K\r\nwRs5FDbaBGtvphcLN+GjJdoPcTMFLB3bGBMSTiYwlX7t6mlwnZrtw8BxzFlE\r\n3m/Z9eIpUAIUkjRQSEXqFTxHd1f5Ef5ZbYO2btCtwc2kGdV2daf2n6XqPKx2\r\n5bwhzbnsG5nZtMNziQ5t0C3sLc9ht1bWrQuzVNmtALhB1g4g0Mg/AZtBVQ1F\r\nPCmX76wxSyRuW0bMCZrft6yF97PhBwH4mso=\r\n=JqxC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.183_1657409758436_0.03885751826053996"},"_hasShrinkwrap":false},"0.7.3-nightly.184":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.184","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.184](https://img.shields.io/badge/version-v0.7.3--nightly.184-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b6c601dd564dd3e5513cafdfb9008c9ad47bfe88","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.184","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5Z5aNEdkLY4mCd7UhOhGp+rr797DkscioJvwTcMokanuz/ZTIW2aF73Ny9chfUTt+OS40c2I8wY1E26MDhPsBQ==","shasum":"bfc261b877e0ac374577f8d392565eb9b744d41f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.184.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxYZO6rQHgRL+9E4IQyjDZzc/6F2dv+SebPlpwuHKoGgIgJwNZeU8LBFM0iXS6WpR//Cp+Vp+AIbdtb+PCv4YFE8E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy2JZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrtgg/+Kp77Fn/DN+V3lugm6BcuyjIwwEXe3dfJ9eYsBB4REJMMv8J/\r\ne52JZx5IWrIbqV1n6Q3sZy9LZpiCbBLEXyI52IkLBKm4mU3w1Jq1uEji55ij\r\nJUnRMKbafZhG0apht6L4IHmzYV+PKJ+5XijXxGtyoku5lrFgFZytkIgGjKwV\r\nZFrGr3anCJ5CVFtwFjh6idX6lUo5x4pmMrT4AjraA1QjiK9uo284/+Bg7YEs\r\nKpeH5uDQVoY9B0fBnUpJUVjjPAPL3oBkG1BvkjDru6SdYjOnucceJa/WLB5X\r\n6A7RYO+eOO5Qn+CbCuflGLYLlnQBuu8rQr/RIoDrmfWDmFzNri7bpfjeLRsd\r\nExldYjwtxj9WazNw4WqWHey//P/a3GBfa6R4EIT6kztD92Hasz8JfqyTntQY\r\nkS0lJHSx/RHS1qUbApTwrb8uV8Ryq+5ZEovVm7WdL9Bo6LGj505ZuCBFmhQk\r\nWfEiF48HZUY9v1ce6WUatKyPRYgHqm2vlsdWmH98KR1+EQTObNZUgNvqJAqD\r\nKMbiZWoqfokOdaO4kcH2blcB12nOuTnkyJ1a8/uB/fFt76wpyPdOMLtoh6ml\r\ntZrjoGmbm6mMgGf2dIEi9AUz68fP7+r5Z4dgTd8sq1FZfHn5gUqdSWCV79Qk\r\nxNNacxGzjzs228dLJv7i41GbPSAGXeQF2BI=\r\n=vqRh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.184_1657496152910_0.1805083457415626"},"_hasShrinkwrap":false},"0.7.3-nightly.185":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.185","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.185](https://img.shields.io/badge/version-v0.7.3--nightly.185-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"147fa7bf48ecd071a088a2411690a43b21bb9041","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.185","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-NywZw2eT3NtOLX9Sl5eVcIdSnewOmBFrcWo9PlrfTEBBmLBa0Tnii70IlAzZf6uO5FKazkY2jOXKDoWdIX9bqg==","shasum":"2219da399cf886057b507362635fcd1185721c28","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.185.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZdQ+4/tedRTRbqmR3eyPN5KEh5gbpDr9IAhoTInIJKgIgHnf+KkR38obUPSV9VlAPvKScdRt0QJu3wW2QXO3+Z8s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizLPeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjYQ//eZHAiLfZTrcl0E8587yzQCfFBs8uFZb8HZF5R967Rv/e5P33\r\nRl4j8t1BIMg2lLU4n/g4NfYXxpWNnQtd4vShUGTqwlxsJ1ajCzUAn6Sc1Wwe\r\nsZB6J8sFGHycoNJYoCjSzB45uVon+TCu1EsYDzyfJrk+PJWMykAef50i3157\r\nNAikBCQy6lIJsHUSp9S7N0+hwPRpwbxDBp9xYhuzdw8qXD10NLAh6CqfYK9Q\r\nnZ6MRO6qDOjsdVShRz0S1F0myDNpgDh67wHeGw3M3vQxGfjw1QrRRzvtldFN\r\noR4SrZKwn1ZxnoPWJd5+C8ke5QYzdhkVGVLm10UbJuTUkiv1hURszq5uG34/\r\ntP7GGzbXOE7B7iXVuF2bEoY4R41iYUNpv58eaO3Fsu02cG7kFQiOt9DvOR2b\r\ncoUOo0xF7OCNVG/V6qE9+JmEy/F78rWsrVYqdN0hggTsO6ZRy81tM+5rwqmK\r\nHU7K2Ohvq5r/HB83NXu6kBbcnXGfOetgTwsRuVk3fq6zsbUSmSEwgEkV9h9c\r\nJV9Y9KSxkm4DEQ9aqAf+01zdJhvT2bv0kpT1QKpbr6qdCn90+H23mF2dW0lo\r\nwCfjym8xy5znSn/6LFx25xzw8ALNsiCCVpc8GNKGeHc8KJRjJNgGkap2POxx\r\nVoSh3/9ZwVZ7FoFMLyvZ6V2qUO0iSu05S24=\r\n=sM99\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.185_1657582557818_0.7282976397955094"},"_hasShrinkwrap":false},"0.7.3-nightly.186":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.186","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.186](https://img.shields.io/badge/version-v0.7.3--nightly.186-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"625d27f0479ba50725aeb011748a247ee033d2be","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.186","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ivvgQAtb72CrGl04a+Jjtl9W49kph2UyeoqUmw3rzq7i/MxMqZy6NsVN1ns6AflRHKmeL3VIdkxt57hri6QhbQ==","shasum":"a105e6978945e7ff1efd07cd4225a28e0d722204","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.186.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxCcLwUhqDu8ohj7WM7okF0/nNsplvcXs0UBIR63Bs1QIhAMhgNphM3VuvyI/1EY8JsmxNBvcoVdeCuWzhaQuu5BLY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizgVhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrX0g//WT0WhpCQ5k9EKR4K6jB54xTqGtxOmq+LwjCAOAFo29iDvEyG\r\n7YSchEabIyUkyhKd6QFel3j5F8oVk/Kxny9PKQYVfVMoRVDp7k8Yql6mHNnl\r\nKdnwShgPW25Cmx9fKVkncIfDy8woqW66yCiB7M02FZkr4MWDp0USB0yxGkvg\r\n4Nri/+LhxqE69zfhfSoqMNcmwierUGfFHR3MvM7BwnmPP9I09zbuOJ9DSQVx\r\ntsdFoAPFoEOfQ07ekIdw/VezG2Pfo5z7E7mykYD/ZJ0GV4Y59Kc6qcJA4ahu\r\nhn8YnnSKC73rr9qc0qlcAf8YWjtDJr9dDviCvy4e1xXpCCiKkfVEVJ/OPrBW\r\nvzfXDRa9wZU0sM2U3Wf3AHzhtngC2LgRRRp2z3ybTV4rZWk0KNZ7+9dUkCKo\r\nMfGURG6Wm6/12wrd4pm674itiKagkqH/f+b3gPyUbHRA3RKHo0ZS5BeaH/jf\r\nisBZehwGKcj5PNUnozjYGj4oqrv6dfos9kgiixyNpHVtV++/jz3+V3G679Jt\r\n3RgAbZmeVLh5F83+Vuv8Igg/RkSK9FF6uF1HjrO1f6mUQ7r/WW/rcGkrL2pc\r\nlMPMUj3MPt0iaUJGI00IY2QVEEOW7YtBicWB6NIKvEO9x3GrCXnmCVQor6s7\r\n8CLqyzWD78rWX7gLRG9cvEY/D8/nhhkUJhc=\r\n=Zby1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.186_1657668961159_0.110615360977105"},"_hasShrinkwrap":false},"0.7.3-nightly.187":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.187","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.187](https://img.shields.io/badge/version-v0.7.3--nightly.187-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0b8e0b790ffcc3cc14594c669f8c207ebaf48b6f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.187","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-lvZH/Z3vqgp9U0Zcj4K3YbrvjPIFOjOGgMVaeBh6KXLDJfvPCBuQKWOHN6OHTtluaP4ycqY1qBroGFpgOv7J8Q==","shasum":"e6572547349862e62852c05ab404ed1eea795115","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.187.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiRNG2QqD8GAxJpyXIPHSmWj+PtUyUGig5G+VYpcp6FgIhAJyW++k+i9srf8iqJ9DYYLgjMM6jeUo2+eczFe0/qye/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiz1bzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEYg//UE+ENflyFwFlKp5jcYtkVXVNkF3mterWVj9NmovQvTmdCJl+\r\n9gwk0yygQup/PSRyUaLh/J+Oj+/KJM8ch66rhzhN1YRxkw4H/WtnfxQ6BMmW\r\n50kreJh7O/pZy0nUMqG2F+ESAQNDGmtWHizbgkKsM9SHoiv5VBSs2fL072Zl\r\nrC7gd7hv8k03nXI5WkBXD777Q3HZhNpHOriixfgJyzdHFhsVs6Vfa5239CRv\r\nJso02VOxTJRHaEaG5fXtoXOxFcuDIE8rqAnUzyKlRejVmIQOT/K1B7Lj9uSI\r\njM6dFzJIZH6fcKXmu8WokSGQtIzA5277Yy+IBU4VQR7O6CUsgRyWA9did/XS\r\n67iWQbaZM5oXOzniWDEEIGCRlzREBgmAeEeiMph9bdD1KWhJvAxg3ZtDKW/1\r\nX+Jdlwyo0aU725OEeuoU6Lh7xdWzBDrhLCu2Y1TFEHwgt1AoAZIeycQYi5VF\r\nFiFRJ0cHzMksV8E9+y0EOCcQmqYzTkwtrhHwL6fbuWUdVyi3ft9Qj6mhwmP+\r\nodb9lQ+Q4hioaWDr6fRQpuZgrceekaPjalsh+QVpLaHNvl3THPYlSj53ze9+\r\n+ekxYtrcRHlIBWoYK8/12u15NZCa5yanLA+L2G76fSAj4XDjPtFjyHPUKRyX\r\nutJwuzqSk080w+BypZ3G30+RDGFLHrPmNY0=\r\n=Yho6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.187_1657755378924_0.04680047637409679"},"_hasShrinkwrap":false},"0.7.3-nightly.188":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.188","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.188](https://img.shields.io/badge/version-v0.7.3--nightly.188-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"476962150dc3f9aeb404dad7357d741f2f2203e3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.188","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-bcor5P3KFyX/51EZlJcNUtJL0DEmPPWViymy2nB8Q5SY3NImYxoDHNm/BivhgLfWZSokclieDIAm3NNxCRiVSw==","shasum":"f3aee38e0c3c5cdf2e728d4ecac5830fe9ec7152","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.188.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoPIWLD2bAjbZ7uMfDjG71NOnmoKQ7zW41ltJwisbUWwIgM5jlEgpwAOcUAC5L73DPtvFGcyaYYyNd1qBTuKGqmao="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0KieACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9eA/5AcGMsZwcJxAOHmZa+pGQAeniUWo2T4kimWU6lGHb8y8hrjY3\r\nmB+HtdRbTwsDNU58ASMj58hpz+mKVJZKkneOG+TF42XrYR5Ga2plVWFW78+B\r\nYTgC8OWg8HAtXjC1FCplWDYydpR7KGuw48qq9qnUjADsNuNq+7mdqKmIotTP\r\nHqsbSJxTkEkyuTRbfz1dnEv9xPT46xpqD0ny53vrBQotH9RwyiVKhAF2xEFf\r\ngZsGkYYYQ/j2LiZxztlQzQYmnpGHdNuAkaPUC/iYI11La2V62kjsex/c3IZq\r\nqqRHXBWMMxC80ab9aLgjOtLS+7q1x/tKAM9UmXKlbnbHdl6TJ764AQPPdtxB\r\n/3WyVMDVp462NIniKTjHpPlZBsVfSCUPuRwrLnz/8L+qu5/ZGvfW/JwRBmzZ\r\nzTkWgPbshfDfCeiNhYZacoNwHN752x873jPXteGfpgTnnP2a+x3LUeLSD2nl\r\nq8amTLZJosFDG2O9nWx/GIf8n5OvFAFU//z8MAFrbz976ZeDBgb2/rr/EQ+t\r\nOv4edF+q1FbKTujdcPtVcwtzW5B9eanyanI4N3ZXqYz/CgI8h2KjYtj8xo7Y\r\noEgV7Anm3yPfUtSG/3pj9ATy9GJlhNMOvbhj8HuyBJf92kgKTdimBaPcxlEV\r\nsgz+LnG21jpK7C7e4xB489HUjiTHkYmQE3w=\r\n=6qB2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.188_1657841822588_0.8986208571076426"},"_hasShrinkwrap":false},"0.7.3-nightly.189":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.189","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.189](https://img.shields.io/badge/version-v0.7.3--nightly.189-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f95f43ec116d571ca84cc64a4f2dc8cdc13f49b1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.189","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5pKaRvUbRkVeC2V3AXiN5gSMdP8OA4yuGJ2SyMRvwwtI5owWc3WQ9yod6CxyBGrBT02Qwy/9gmY5SBbXlfx4Jg==","shasum":"52aee1e07ea72679f4c49be9f70442daa8081f71","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.189.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtAI2PTIjgESgYfiYRaEbg26QQrLhl9L3yoT2IQXCp2wIhAO9VWWbI/woMCOKWF2g6spqKf0mtpjPv3khbndvg2ISu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0fn0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBdhAAnlX8x6nxqaCBb3tfsfFOb+zboP6QHXRw6E0V/wZA6ENgVni3\r\ny1PppkOZ5rJg8rjNtjKNnAoL0HUtjsa/fTMW/EoaITvEQFEDTXZhR2m1Fes/\r\nzYf/b2bKykHLYmOVidRV5FLUs8CNPrgtCPGTXWsnlHOa1pQrE9fYpvJOXwvM\r\niL50c5+FvcsYT4oA7udqfvsIlBi6FDRM6DJa2YjoRtKaNeEMgSdoa4o0NU8+\r\nyzQ8DInInurS0nFisqe4SPErZQY0oh0bUYC0A+N610E0cX6/m2jFS58v9HkJ\r\nUZS0OaKIDY69MBgB613iAONjEbA98/wlzsKolmtCUCMCiS09U3wIgZ6wSIQK\r\n6BPqkmGEvE5NMRE7M51eJyMyQuUkGnmIZ8y7RMLt4too5bZ1sbHG2qqnr/6D\r\nkmVCxcUcl6LeNG5cynzOrCg1PdblVdTZWbbJhG0r4Szg6X4avjGPRBleZ7WO\r\nTEtPumrJLoRx9Ua4DK7l/AwdlNvaOmcvZTv2U+L/NvOeN5KiOQS5rbZ2oYNn\r\nd+6yfKgu2sP7RmEDoau7k+2u2NLl1sy9WJCtYdi3ALdxzb8670VPgzq3amkL\r\nwCjbLos3cF59FssKb0zkO5rJm596E1oQRLPCKAO7s3H6Tg0tMP67MV+xlQmk\r\n6jNRpxN8F6PKZbIdZ31rz1ahUAFwbKiOOBE=\r\n=eR+A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.189_1657928180387_0.0396043994100983"},"_hasShrinkwrap":false},"0.7.3-nightly.190":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.190","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.190](https://img.shields.io/badge/version-v0.7.3--nightly.190-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0e1e3279360e2bd1cdf14c2e5e864875b6d21543","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.190","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ji9tW/rBkyS1n64IkXgff9Ty9lzVVEPTNf6AiieM3MA4F3zrsU2PvrbVOTrvxQs/N586fFA14YK+wr1eJCN+lw==","shasum":"10cfb4ea26f67a4bb9ce11bfe1f737084ee7b856","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.190.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA70C13ZeZHId+OefGNNwDENinPqcLWpXm8l58vwyL+pAiEAgpSthyVgOXlxRbIcL8/0Bgn2qWohPJoqueKCmobHclA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi00tHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpysxAAhLIkZ2BbJ32qi6Y0RGI2kwc6YKrW+ekmxikn2uWJ8MZgUsfC\r\n7IDnmFwUJ1VTJdTbC9HJ46MLgXEenSynSj1EAaGLRts1tZS/g1rx2tbcM3sz\r\nSHauYBynp4WTb0+umLXjUFubdzl5in9jqRgSOb6vPr9eSh53LG6+xrJUzIWc\r\nYCABqYlAGOlQzcU+pXTrEeKRfTL3pEMUxk+BA7q1/nuBHyrQVNLVrj6vYpDG\r\n0YWWEtMrJN5AQx02yn0dHqfHtndQC5BgyxL6hv/GGUW3293VyuUXayVqpOFJ\r\nWobUsvrdPIiRUw64+2GBZE8F9I4CJ1KjD+JCJAahd3qwgbwCEuNKZ3We+dL2\r\nTH7S1hzmXW6oX/8OrmSAQmsCfmUsIOc9lj5YsE9cAT1oG8hXPnIsDemP4qaI\r\n0pCsMxEJbsgCjg5lpiEmX8URFSbYSuIFAoJX1OdvCyusjlt9p3kC5lN1Rwuq\r\nbY7RgxPdPESof+9wuCJG+4yRTkhsfF8fq+VJVypdRVoY2rbIVoZVUeRutQzE\r\nLmyGhhOzA/7fk1VXPwnGafAEf2Zsx4d1JZHLmTT29it9M/wI2AWangU7dsMU\r\ntC/wiCn/DWPY36csF6SoUY/PbBOjBkWyRZfxi0LZhEivmZvFpDuE41QKkbov\r\nWa2Mz32Q8ovz7IZJMueYtUK6EC4Owh3SZlo=\r\n=fTsz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.190_1658014535146_0.8593394026775945"},"_hasShrinkwrap":false},"0.7.3-nightly.191":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.191","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.191](https://img.shields.io/badge/version-v0.7.3--nightly.191-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cd0040019d3083c5593d1320aafae49ec341c3f9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.191","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-yqIrYht20zexWPMgQaztwY12hmXagq8KHzwF/OAk3idld+M5jGy70KB798PHS34Un4YJXHFD7mDKa3qjYk3Urg==","shasum":"3019d835373ce5fb66bbbf06b8ee03aca0110156","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.191.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5CUYzDC9HeaVRdNK0qSHwfEwAuucL/EojsVtG382gyAiEA9n82wbwSUjCM1YP56xEcDy3WuBinYARwrkBLflpTbaU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1JzeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqf0w/9GnxKBdFuuBeka6/I6UlR8ChcfkGj1WQao+XhS819BVIUfUaL\r\nucEHEzenp6/h70sudenGJlH/+xOUusq0V9DqgWYvtGOLx/m9k770/H5FcB6X\r\n62YdHa/gQZQzxLf8/1T1k94qMhRh647YZ9gxFs+lw7tquMDOk8gTgxMedlN7\r\nvkqyBIQh5oBdg+INszeTf6CYZLaqW0N2okqY3VFDxhz59l64B8QgR2ituebH\r\n5QqC1i1n10G5+AmbY7mYt9QBteZ4d3femK1JK0FujaiWs6We1YOfXH0MUmtZ\r\nB9dSDE9DLN7jQcYvEHO3iyoMYcG8EO4YM+OsqozoPFIjwDmnzZhsH+qNd3d/\r\n920MJCjT0hiDhAb818crAihl5IIAc/+JE+butEO8/Xnd9uBcVaSRDWiWJfsx\r\nkySyq4pZRbPkwHQtnsuK+OLp0DCDWHWpRlxXfuCID+9y+4ZsHiRtICdnjcWV\r\nXJBDDuhbVvhiYimhQnqn97qERH4dv8W8TvIYvyBVxsKQ+KO2NwYkTHyLmn6d\r\n2L8laMDyCCZNPPtjeY8u+1TTpUq/RXbkqMd11lPJj4tQJx/82LsC1aQLpxKd\r\nyhJevd5h93w6OdzXuD2WQpsY027438tSb+5sCAw4gwSoTVOUvkwCAH21OwMg\r\nnp2y4mG4hNgaBjAIHL4WqeoD7dt9sjzH7hs=\r\n=EpgV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.191_1658100957913_0.04141506081709134"},"_hasShrinkwrap":false},"0.7.3-nightly.192":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.192","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.192](https://img.shields.io/badge/version-v0.7.3--nightly.192-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1132b9d28ed0c2224c5b8fc41bbc139567078d76","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.192","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-A4O9UqBObBCw+ykO4sPs7hkdFLC8ewbLgtUZ4AliU9HXNEGRTf0HqfMVGKrtQ7VzXN6zFFvis7yO0oaxuViX3w==","shasum":"bb71458f14bb3d9da71f6f2be0675379c67f72a4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.192.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoZZsb5px5owYa+f2VwFzttQYvK5wuS8ld7zG1VMfOUwIhAPUm2HolKKBRgwAW0NWsBL10gm9cTf0ejXcyfJKj2Zf2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1e5jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmogow/8C4MyP3tSwiV71cYC3dNcCvYa2+NvANqQZii4Jt1/Kd0S7sRL\r\nkupaCeQDMcEHmW+2Ytlxoun9J+l1Dp8gPYuvYzfWdZph36NOyKL9CVo6PhyT\r\nNlxmj3dIFoydcze/H5er773G/+cKRNSAKVewXIxYzneEVakvKK2pO1V+1jIy\r\nLiH3vUXCfEIf+p0BpxIKAojrgHA6ZUOItq3LKxjOpSoXyYEf6FJMT+DwQEKy\r\njvR51N7pIcnGBFm8U5cbiMR3fk/JgkrAGvNBdmS0Me4LqIt7z4YY0cYOwPSy\r\nnIK6Wn+pJp4wphuvf0aAXNke11x6z0yG2CUTzWTV5b4QpskPIEuMjpM5rb9E\r\nfwOcm8jYOBgNK3eoupsaWeohyq7XfUBfuOf/Nu7nfOqBPhi54DRMr/9ojtfV\r\nkFJimJsnrmBygOz1qEXAPVJalhrgoLxZl1cujbQ7MGOaVtLF0705/ibwA8U2\r\nsRMnycoOyHCSg1Es/viinatKZHk8oJdQ/mZrm2kSkcJtY+r0SfZsgUtxt782\r\nSztEg4c9c+3Cq+gfO8fBWacOaTjXRN80WiEGOD2KKHLhjS0JyRw2RXcrzctC\r\n/dRDrYiVlgR31D3s4AFVZB9CWMzA8ezIgokIuIT+gH93P+lii+xi5MYJt15j\r\nitkSFNo/FhzNcHofvb2PfZmAmrkLQ/nCohk=\r\n=Jocs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.192_1658187363567_0.523537603174377"},"_hasShrinkwrap":false},"0.7.3-nightly.193":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.193","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.193](https://img.shields.io/badge/version-v0.7.3--nightly.193-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"709715a6dc4da18b9ab5e243dde3acac64e1ad08","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.193","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-xe8V2gLzl6Bw7JS/lg8w2WgO+zv0K2W4tLe0eSYHw61/jmcGEESdguaP56IOLN75y0gSeGKlasBoQ7pMaKL82w==","shasum":"5c56f6774fbe6ad215a267a19932766662bd4ad6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.193.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmz2p9kvaqlAwFaZ8Pf2iJ7L/H/MjyWFcpdaM+Y5KXXAiB/veH1h/kkwPbKCGUyyvN3kifSEu6sCTenoru7WTeUZQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1z/6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqu5A//RXz7O/Y2Kt/5b7FC6DoK7Yq8qwUyVzjz2N6PsCuPnOSYkoMK\r\ndFSnaGgzHu1fFOn9+N4hyJTe7CM6/JuCTF41wvzdK5UQpljVtJnLZXWz/395\r\nrQXLEeqX5S+K7rECuo4fsx1DV1ohR6YFp4eKMv9CSkE5HocVfvfjcRngEw9u\r\nTniu2UmqDp1CCxfiMY5nOj8R2QI1TTB/jxZp7TkJ9TwikDcUb8k1by/W7vFf\r\nRvYisXgFKDtTm5tNDlYmxNVXiDhPxJzidLtgPAm7omMJPAuecYBfDCx+k26A\r\nWv7gFTXjhT4fOtSSIyuqAZufnKAAZ1hmHwy1H6LZ+ugn66FydvICoKWQBK/u\r\nBMiEDMuKrTwSCapqQuKMGrM42rxTeFDS8LvrZIqm+Wz3TFit8MdISj4oyLha\r\ng5ylWPi2ZN5mJMT1bWuP6mYjG4mcubYSKdayH+darU0i6hF5xo9VK2EsjENO\r\ncNCXTTNhyBK8ZkrpOBZAtE8BemFYHBFpBtpemH4Ff+32sB2P0idVSjGMyDSL\r\nxjpLXTUzO1w6OwIVXdtja1U0ifu45KkxfMCI5i+UzRiwdiCk/t1oJL97FqOJ\r\nRj6/tDSYDdkm51e0b57TeFEYIXJisX3JlunVxyB18KLBfUN0zOvJt1wBQ7To\r\nipk4jHsxEY2DTVGJ6mNhUcM4IEzbbNdkqf4=\r\n=PL1q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.193_1658273786153_0.12296830503678824"},"_hasShrinkwrap":false},"0.7.3-nightly.194":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.194","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.194](https://img.shields.io/badge/version-v0.7.3--nightly.194-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0dc0d6a4dfe1f78dce8c0d542dac0b400659da8d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.194","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-nlhjq90IlzXAh6qle3HPoirfyyNpUZugrmMj6HtBiWzyZNOzmg0Vp6W4CloFREjAmPRDqDumw60/fnMVHE1AdA==","shasum":"f896a1a94bca8576a53dbfa95ce2f391c6898a42","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.194.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqtumO/1KVX9PFhL4U8eOubPHOEODriHGzr5xSFE8JKwIga1fdrsle1svME2wGVW9kfhPc/1FG/5w9P00h6cY6EWU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2JGTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowKxAAn0ty/SHt0FfHIK4ca27OTkDaJifDRImdIRnJaqG8ke924ytl\r\nchUxrL1WSJPfvkC42nhtQL+xWzxiTySquX8AuXiDk3ZPHKKtHWlkfpNRaSjx\r\n7mcdSwWg2K2PBxDocURmEMs1F9T3mLgIVIb19qZPTehHJaFn3Y6FbOFKmWfT\r\nuhGzbZYqVVDpNK8lTOoD+kklxmYCKOzQOGLa1UwpnMpjpT8kJ3MEUbLj4yOK\r\nIuPTvdaD+x3TnroAh8uxZ4L6bccY473w2qT4ROCukvAMdgG5eUVQoWYJ+rI/\r\n2rbzDOmMGrr/v8JIlHIvPoABiqOcgJtlnm/umX8XaieE1tJTZmb6kB/kib/6\r\nGZZBfbhKaKf+DDTh0xsoCP1hGxgIhml12mmj6VpA/sjadTfj3dBikF2BDnyC\r\nOyn6wqw3x0aXtQX+u1ZuY0JkdyjGM5BgUgO/hCBz7BNdWYF3p7MXFc0QjDVV\r\nE40ACwuHyq3I9/StyvfmmO/cZxhLzwDgrTjjXDB73QbqvRm9x2rPCG7x7puQ\r\nEoIROXrg2dOs/HqqmXyFhwjlJ3h4kPEj56PCB8LM4lUY+6oVmJ8pdYQq01F4\r\n/z/ssuWOM34QXovXrKyQriMTTFWPSuK1nGV0EdRc9RmR9BUpWwTYpLLTvNDG\r\nq8IdWKwc2QMnJozfG4sIrBsMZhCQSBwumC0=\r\n=pjQ8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.194_1658360210808_0.04562082768569953"},"_hasShrinkwrap":false},"0.7.3-nightly.195":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.195","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.195](https://img.shields.io/badge/version-v0.7.3--nightly.195-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f12808c79f3b9dc5b1ce34655d7082296b667362","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.195","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-PzzWqZj4HT0HrbgfGhq5qm5zA3ajURpHb/6eC4FWrY0a07w/L68kQA3UfxwrBh8bp1YvYjy1o7QJDyOB2ZJZaA==","shasum":"8b8dd11b7da339781968adc034e9b1938f224c4e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.195.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5X6fvX41j2FWFPZnLoGjM62JBcP8x8wXTShwrzyTviAiA2gTqdLBfI2imI7gQtA0VH0EXo7lRZKI3vyPIrs4OjFw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2eNIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHdQ//YGYiuLVco10c+l2VlIGDSGBWXpeUvp2lOoST0Y4MIa7ukVyC\r\nYX0fT9gJbPkNl0Zdh4AT+FEU/E2GNfneM9A9G5aETInFFKXM3uu1AnN6OhbN\r\n3UTjNcUwODZV1DtHTx0+/2uwe+iqUkdi4cKqWLSt7qfnied/9Bf4wtKI36HS\r\nNelV2zZwV9i4RWDQjzoIgcJUDiP7YDJ8eqHEzpqAJ1po4c6R9gHLXpSu9/Qs\r\nZEO2hTHPulNdns5wj1w4OiY68xlTc8a/GqpYLWXTSJUjLFAF9HcRGuun2POa\r\nxLIIhM+AwnNnz3xT5/2RB6DJ0hsUMdbk0ICbX+ZLi+lsmO0s05DxRnCFkv3T\r\nQ2Od5DiXuBIhcXvGj/xQK8oawRSlm54vgHD7p6PHUj1gZ5YR3JzSj6WoS0Ly\r\nGH8jfFXSjFgfT8dNBUVOQhIXqkR1WPGeM0cgS4pOr36ANl1ABBTXJEU1xat3\r\nNLbQzPJhpQ00mYGOLzdB5f8bBE5AlnCJttiKSgL8QNYs3F4uiHcXGqYnjnit\r\ndW7iw26mtdRh6Rc2ZxEo6KnuBPJ0NjWgTV7rQh9z4aRguQbDyDsR3NgH7/3E\r\ndpLRLFX6BRSTJGuqsYYGm37FMNdwTJ6KL19r62iGdu744lDfckYr9rQp7cNe\r\nfp887X+TXrYdUyFbu+aN11AWvwmPQHUCKZ4=\r\n=hw4/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.195_1658446664759_0.10598005750795436"},"_hasShrinkwrap":false},"0.7.3-nightly.196":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.196","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.196](https://img.shields.io/badge/version-v0.7.3--nightly.196-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"59ab2f36a8c1b5133b39f1a30222603424e7bd0c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.196","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-LbLi9X2ymrq7SIwQKwzckyGgcPT26DFvOgY+OycdGqG6UTk16/D8Wig/eGyhhkxAg73hS/8uVASucy4wuAU1iQ==","shasum":"06e73d44846b83e705b5a0ed46cc62c116334d3a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.196.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/uXCNny4OA7ENNkQkJWw08XkGjDjna22+jF0qOMg+3gIgcorF+GDZuk97T2kqwKSFeLvgte1Gjzn2jQWUes+Y0js="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2zSIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpv5A/+MUWvdQsX+SRiggZ//wMMJkjKEnhDrW8jkPcDcL5xr7gC+eof\r\nnzl1jWI6UpwAlUvabkITGaPOkBc1IGv3JMdqs28yzFmnsVDmIHxacciDKhl+\r\nNhABcf+1FzEGXuMCll//Jc1sAZ+t3sr9Tb1yysia7qFK/ck/M6H6idUR9Aar\r\ntlCXaZqYxf8JjixVqjtR+0tqX0qY9f4/RTdkvUudEF5YTl+EDNbCuqqxWwN4\r\nGkJaBMWs17SQ0IlYNdt9uOffR4JxqXHTPlruYRpooIOopdG2u2nn9m9joitW\r\npbPhkCY3AFFMGJC63oK7Y1UqAJmLLKuwHlKiAhM6HrCm2XS05Kkax3Rmzl5Q\r\nFCCY2nsYm4ifu0ny9KjRFf6CFqxVvmFmVUHfSexDXy9mEfxcjnwi50TVQbfV\r\nsAZPgZYVdobukD7QdvgYwxMEMlOD+FwgV9SIjlAjnkqUYcpAIzeKcyDpDZAG\r\nhgQ5LmR2tmL0slON8Cene3V4FLqGI4Bhx6Rk/KA1nNm+odZWqGCp9+VeDyqy\r\nDkXC7KtGzf86c7Po4XLpgMZ+z0El7/BxYTE+NOjCLE/vrA2Rbc+mk/4u10n8\r\nZF9B+z71kcOzUu0TWBhcbRv625P9O2/cZqnsedo80fjm9ElOI5GVTwcW9ae6\r\njrZVGUd4Se/qKcnn8g3Q8QVHRUUMk8vxyhQ=\r\n=NKox\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.196_1658533000353_0.17765420264339227"},"_hasShrinkwrap":false},"0.7.3-nightly.197":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.197","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.197](https://img.shields.io/badge/version-v0.7.3--nightly.197-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"57444943f0c839d2a3932185ef2a1853006d2933","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.197","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-2xcjExNwre5xOrxsKUwzpXdwp6IbI0XOc5fWAi5BMCleByaww4mFZbKED8hXNi4ODV/M62gfs+ktn5roMR6Z5A==","shasum":"52ee65a17102a226d16a42160a43d90fc8404633","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.197.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfmHhXkgiWN2BV0t6M/iU3Z/kR8TdzRQDZun+Jirzy8AIgE3fQ/tK6mLRchHuJM02+jZNKG9reQFxQSmB80oIXl/4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3IX4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokUw//b0GuerQgA2JjnrmFTp9fM3Ya99KL2CTFa8hz7l008l28PWvF\r\ne9wHwuy0fxYPd697Ej/Z6KhCm8DbClnsOF3ICE92sAKNqrj30PEx7je9l7Oa\r\nMX4T3MljsW9QN4CH6zdnf6qmCfc0en2W0N/0JWzzm8peGewW+HmtM22TyqMq\r\nbbJ2C1nNx3Lp9NeHliYM28Gb2rbU6bZhuJJwxZQRe7u4qPi5lcRtVD5alXZ+\r\n/neKjQ0atj4we/KZnhoS8Z7QSvXlo4/2MJSwkS0WHqOnQS0J0u4ckWeYphQP\r\npHWTpmYM4xpqtlhi+9MI9uHvwLbAP4hwN6vDfpAad6dfeM/DxCc+BD3RFTc2\r\nChSLLMWtXR7d0uuoq71YjfU77R1VCUYNIuZ4NE+5lUCw+NhvKu8XkKeD08Jf\r\nn4i1jW8FtmGDAxoucP9jl/qz7u50Iw0vW9BgSZ+yR32G2zjflu734Ho3U1xk\r\nRQE0xx5q0ukMR+82c8XoGAthANXcWShaa2iTYMfH26CeIJJwHRQczUeLC4iz\r\n1kxIEfMU+GTy2o7PTCPVqGCcQEKNtDvS9xy9Zo4fEMt66Au00BSW96Eg6apq\r\nUgb9URxQkZT4ctnHWbAFFIgR6epZhyzhlzhtB1Lnnqy9/9NpfG/TpQD+ZBJ2\r\nuofxtOW7sK473fmt/uniFjD8ySmp61OEuBg=\r\n=KLvj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.197_1658619384830_0.9537296878029891"},"_hasShrinkwrap":false},"0.7.3-nightly.198":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.198","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.198](https://img.shields.io/badge/version-v0.7.3--nightly.198-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b9b898394721d1cb78eab0d8e39cf4e3b1905209","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.198","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Wfnsd/TMSNvCiSR0HNRiNJ2NSo/PdIwb9vCjfhECqLtKh6b7DIbS9B2BVaI3Yf3opi2xSKm4HCLODuGk1UwuCg==","shasum":"3d358e9496325fd98b76b2cef0c6e6a275000436","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.198.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBi/evof5M7K479W+EdpmCEB0LfBKKrvCcZZxuOwZXMcAiAD2cX3gdreSbZFSdkfMamz0qnDoc6VvgRZcFc7Ux6LKw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ddxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHiw//db1sqypFc0/F18DJc5TuNXkfK1ZKYk8x1cl69MQI1xSuxcSv\r\nNGkczzRLJ4EEvCufy7Wt8DHraH9dHnOEs/9hoVf3YHAx9FScUg7QzA3PVZb3\r\ng2dbgob2EPQ2kkaSYwKZNfqJBqJGErp54GwToWYdSOdOOKoLH9U4Kh6GrEGS\r\nYpUbTSYUo0g3nGGeWT9sIBqtSj3E0p5hWi/rz9k2DpIykF4eTd4YAUC4c69n\r\nn2K8gD8Oc0YMKf4oAZ293z2MPXbAeVtDoDGBOaE0LqjBs5IXNHnORDD4bZPg\r\nC/WY114jb/5XNQUiBhKSDvy9+4otpDX6cBbfaKkJTdcLV1iL5/4yinSNTIAG\r\nHgaZc1QY7WQAnurKa5WlgOUhIkC8jMgkvAFB10kFWBZcF85xNoBOOJ+4DC6u\r\n+k1fjAGf92Ld+qyg8aakzI/Q7kU4XwzPir4cQCxBPuLVVnmOR50woznzox8c\r\nejZUD69tn9DobPpw/D0YDoRNqsB4xQ1J/iLPLqqYx8IhYWxOfyhh8AKvAuNp\r\nmLG+z3FoVxAFP/d9Og/HNIUjTl6KoXMlhDm68MqqcvQ70t0maOAh5sqa9sKU\r\nn6xpTFAayrvJMU75SMNJhKkf4W90CWsInPkUbgeKCJ8ZIpHVJNsxhNsEEu5y\r\nN2sF4N7yP9cTdNWbMjQ/okBBo3r1sEN9Rn4=\r\n=469K\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.198_1658705777079_0.24262886605485012"},"_hasShrinkwrap":false},"0.7.3-nightly.199":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.199","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.199](https://img.shields.io/badge/version-v0.7.3--nightly.199-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6efcc9a8751d6acd05255fb1fd09fb94bcdc1e61","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.199","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-oAYDRgGMwnjOMUWCjHCgfgj63r2kQ4b4b/hr4H+8IB1Xg5DqWdZSHUxyuVMxKp2ihuaA6sdPdwDkTDXPH+ADZw==","shasum":"f051c76c2c44c56d720389a8a2665ed54b5669bc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.199.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZUBYhDqCZ7xkn2eH2Rb+lm7MvltIbZIQYSk5HRQNLpQIhAIKeWV4KXOli1xfeRQCbA/totuB071etuXZGjMiuhO1s"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ykFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8fA//bwjzvkStnSKnvGLVjEOkUn9Fo5A8SuvkMweo/LjtL/oAOHoA\r\nrIyckynH3DGGpZie1RkTgwxmz/LiSP4pqvRiMAFW9ecpLo8Y8EPFlXIjGkq3\r\n7JmwuKokfG/ViVW8PLYeeVXaQNbKhqqPm/iX6Db0gVSZ/50Mdzb3CfFgvxgN\r\nO5BA48nRUoBi8DS9DkWRkzLmvqrD7nmrfnw1XVwkd41Y2DPaoHlad+9LPGz+\r\nlcK6Eoc/I4ykuYLScJivDF7s1WHbtIXnAl8M/VDgAZd/OUFc6yF8SwMptRSW\r\niALiwkMspqK9PYQkhNRRyS+Z5rh5UcqIN9thgdfDlhsB1x+wS8bRrNZZgr9S\r\nEYYvmZuEZbSgF8Cf76vIvt5+sSwqeKbqGadGhp6b61agCYzGooSRgnGuwtYc\r\n4x0DX9ZXUfu3j7wBTb0nhBTyo+ugyIY9LvQbbp62UVW9VUBW9MuyMeJyXffA\r\nntyASHwfwUxP9kERe0cpOYrQOIt/mzJJqpkd1KJw7YTlQWNJxUk2y/h9cEyz\r\niS9a6NlAiWiyk9FJMfaLDOr23prMqMPgPEm541pZvqLlCRl1Uze7+GVC9sO4\r\nbPVsUF1DbuLmx2R4nYzGPQ+GHvYsbEREP4iaz9NyQIYHcCcDEkMAzvOKCal3\r\n8N1iyRCgDlgtEX0PYF2mb8g4Q6gtR+mBxgw=\r\n=1Olu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.199_1658792197534_0.38526399901424235"},"_hasShrinkwrap":false},"0.7.3-nightly.200":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.200","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.200](https://img.shields.io/badge/version-v0.7.3--nightly.200-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6c0f1ae5d76af94d550211b6f94d09bb4c7c4f21","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.200","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-pYadlZ6iaBPhNZUe93epba6/EGcvc4PwLlTPSYj7tIPP+JPTpezMCHz4EVzHI1iG/zFAAqhEeUST8b6Fc8uFdA==","shasum":"7a1552b869c2dd32677205f9a8ade1349d6932e4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.200.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqiXjhQ2BRb3P/P0sUGMacyG8sL42enfvUF2CkcE54hAiEArsl+rRfE7AEieyjvlIGrKCgmGlYsYKGrlhaIInQJJvI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4HphACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqT0g//TheCYa53SSqzUXgAUhKR8eajQ46x3+E/In/scxLo5HnS2I9o\r\nYwPgdtOVHY3a4N0ddkjKAGsFq/ge+cURT6AZPFwuIWXAxz7okOxA/NfZFx4j\r\n/4CLTLXiTclvCqfP2JVOKsSc7jtOu76O1QbMzU32LnNA3Hu/nsm5PTcEs8PK\r\no2WHGFXwVL7DpO3KTzjW7poPvSkoCg55W8Ho62IDtHgq4w8tugwBYUG3xg3P\r\n+j1RzI1wptW0uQK2NqYvtw0DVAIKQiECebcUocEPyNxTN2f98MUcJWhU9St9\r\nFgzFZ8Zy/Aom0PKoDonciaGMYwyv7olNnAu6lZYCaGTKPiHxRiAtbxMxljL6\r\ndtNFb7D/bNiOgHcfBqMSJyL+7Z9fryo5sajJFTq13+sT7JRkS2URVTRLzeKQ\r\npVAErDDFNbJs7abUr+eYJtJPlKOGcXmpEwsHfoAQb6rnyu+DWXjjuZN8wPUu\r\nFzXBhI+dMRsoAHvyCc+llUo0W32fkrh7q47r0VZnwIHJsP51lJp2q1P5LsV2\r\nLi0+7C9MAdBVvGV29gVCCqteU6ku2fKfLhF6F+zRhYufAtuJsfdzqU9x0c8U\r\n3+mEX+v6eEj0t3BrnFMhcQUgmth5i4SDFBsOeBws2kR7tzgFJMzPJ9JWX9jY\r\nnjepJRO66qft3DZdWmr/aqOrpM937kCf8gQ=\r\n=Q8lN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.200_1658878561561_0.005578997387478246"},"_hasShrinkwrap":false},"0.7.3-nightly.201":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.201","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.201](https://img.shields.io/badge/version-v0.7.3--nightly.201-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fa1fded55ff697254b262f8ffd9c4c90a796f7d6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.201","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Ib0EsceLL8OJarXGHT1zWFQiMP0Kzr13po2Jql02o8FAXTBeTIGXeqjnHWuaT5En7UjVd8jbMMaMT//JJmR8uA==","shasum":"9bf0e562f730deafa8e8854cdd3a267f88d99fba","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.201.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUByDK5JRpMib1TUmT17gLJs9eoh4HncLt5siWgXyfIQIhAIJiwTE+GcRr3I0I53AlvqLeo9qqkXn70O+56DUYeJtE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4cvhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjyRAAhFsKY8XFJqFiD4qeTlCsAte2fMuq2E5xwFY4QbAqt6ucipai\r\nAQ4iIvqmD6vz8QKO3GwNrkR6hb37R4aFZZ3tUurkeRo1jGz8R0CH903xSF3z\r\nHm0r2V2Ubn6+qyRbGSFfrv5iQS6YuJvmX6DdRQG9u436qzyk0yKUOf/nok9/\r\nANkrsDpn8I2SNvhzuST7Nl3f53bgjRoZXJWvDKCvt2sPWrqMHZZwbBE8O0dE\r\nRl/Vtq5QmQayIQYsY78aCSV3sPlcr+hlTFOwfz8I05xS0HluW08JnrsR1+e/\r\nn+ImEWyCedTSXsIqFvwdSs8H0KSB95iIVZkGORMALSkCkjcx5Ppexeat2jzZ\r\ncZM0cFvFJYVISSlOOYfDvgtjlVbXpITjIg6t9A68gVwVo8Ec8lScuYvSsPL0\r\n5CTrfapnhLMTINRgCGHJWr9tE4DLbcg9z3HTJtjk4NGJz4OCwc+TBy4q3a0d\r\nxFdze9Twow+RIWHl5nFy0zapqEx3KQtrvQO3QWhhJ7S/GPk3sXR9EuSpQaNQ\r\nIkl1ZRJc06Dgl5GiAfvzKao0ZSaZzoVTv8ujSKJyI5Zasr2EG39lECan8r5B\r\n3JIYaGBSPkjvt+gOxj/ZNW3yA/xaGeypAm1yNMe+WdOIsT1k6GdaGeO1eYpw\r\npiROeNUO8Qh2LU9Lja5BLZCKwo5VE9erBWM=\r\n=84lb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.201_1658964960915_0.5432435730552858"},"_hasShrinkwrap":false},"0.7.3-nightly.202":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.202","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.202](https://img.shields.io/badge/version-v0.7.3--nightly.202-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"abf2a85797f65bb8a68a2599bc7f25c1641f12d7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.202","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-f4Kz+wNt4DVGgJS918n1Yah/tM7BVa8wMdb/aIMAU2t4bV2sRqsbzosYZdnsdq3sVFCcB211PvLD5dCKvW2yzA==","shasum":"e6637432c5ae888c3686a4d006431264780953e8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.202.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJr8vzePOFZg2MciikQYBIO11PL/YHWPSdEdyThMl9/AiBk0P0dpqnt02PKBYJ1KZYZZeOncdvCjLUWChp6NsCjcg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4x2hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqF/w//Wt4KkxGLbh1RK5svemtJ266CaTlAhUrVpIaq4mCSMRRvK3vn\r\nfKq+WoD35Tk9U6ZE/++0UlbRILbqcjSRA+MxzPGJwP7ZhOzJ4G8pqFKG3MbS\r\nOdIKhmWa7DbHWkHDG0LuKVEYWjJEfMR0ljAgxsdbj9+ieQ/1NnB90ORRp4ev\r\nh7OfFgTEiZMldpSR17nV2NmXdYYFQdxed0Uh4N7wrtu3HP/MfTX2m6Cd9z6B\r\nz2HiilPQT11QbE5RaFe9yL2YhxO2IFf8mIq3W6x+ttmiSowLnEcPihJ13iH3\r\nZqnwFINn+xkOMzIE9nkVk4z9ArCifTVCkWDqpFbapDRyRRsy1gQkHvuaGCrw\r\n3ayQOy0MEHiE5n1OInjc3Rqajue3wE/p8o/Uh73Ry8eofixOLGRJhEcDw68t\r\nd5dHWaFgNH88TYWExq9WNGZtwRzhmRerT8qTDvX2WHA31oBsxfi0/zrfmJNW\r\nI+sz7J/MBKTYrKv9K0VTDgBILjH6sE+kcv5Sz1NsHf7XXvQ+qOqnqNeuqxbB\r\nxN3TXJjDfEXU1ZDljkzXxH/Ln/p/mYjlz2IyyIh/+1Kpc10uKkZ5YRp8mLaY\r\n/S7ClMNdHM5vWEIDsdW6xM72rhkde86GfE0Os9YZCRohlJObn3fTSB9bzwso\r\nZ+3h2o/dTer3f8hwkk6Pmd40l746ktJ6BAM=\r\n=wRVC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.202_1659051425741_0.7310971274995708"},"_hasShrinkwrap":false},"0.7.3-nightly.203":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.203","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.203](https://img.shields.io/badge/version-v0.7.3--nightly.203-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1d9ee260d0d71c824bb6eecf615e3056ca44e6a9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.203","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Gm08ow6kCeG0FiD18B/GopLcYz0gu57kjxsjF+GZ+2hBfrD34d39d7a1MxMsqIUtogBEZA/ntADmiKHXMJb8jw==","shasum":"320461736b9b2e978baaa062bca07ab2f655f392","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.203.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6em5eSdyvSIpuXYMBKhE2RZVl6Gm/MChEtKkgKoc0bQIgUMdPeTkEYu84HBqTw3V8pr7nd4CtB9bFkeEwH6on+H8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5G8fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmraww//a83HHuMwGziMwCKH/GlyghEoY3fmaMZGKbmqZowNBGsGJDU/\r\ndc22SpifHBmn1lihAlT+0hSSG25Sc5g6e2eYeObeg02+4FtX8CsMw5dQBwp6\r\n+C7t+BJZla9/8NY3DHLnw2SGqmFgLfjCG2rtmr4AiiGFOeFHlyJLlluz48Cz\r\nf43BkvAvkmAPjozxEbKBPPV81ytWcDim798h1M1T54hmZ2OeKsGl/aqeNmGa\r\noh20pSdyxbb9MaPRqpX47oE4l0yGDmPrHBibI/AgsOH7Ywm6uyxZz4m2cEKQ\r\niDFsMHSbrMhQ7Z275OdE87HM2MrNaKKW34ohBYuePDX47zry7pTX+YZdQpZl\r\nWA6bPXXZeuFKnFkmyyUC8CRbvXU+wdpNfEEnmUXh9wJbGtYIfqTrVKzRsnaq\r\n43JBK+44mooWqyF9W6GXUhbSBv0emD5U+R3pPZchoPFWQOyzrz0Y0mxxzTgy\r\ndsJ6tN5TmO/UkIRtQcgFBCxaxeWUn+uu/9UpewGKZ/JNLBQeHrML4CkVySr8\r\nSq7Hk2UC95yunZG2WJixAIyBxTowS94H/jfKGdS2U1tBiS8LwcaxPK5orFRX\r\nn46QLk/n4qNxwAmgWI3MmnFLYjoJvHRQ/HYWIGABhtVcWMKXI8l3oTR5A8H6\r\nfaKGOr8roy22M2q1Ivcevko02vk106M05Iw=\r\n=LIjC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.203_1659137823696_0.008206127121385132"},"_hasShrinkwrap":false},"0.7.3-nightly.204":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.204","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.204](https://img.shields.io/badge/version-v0.7.3--nightly.204-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e867ce96a15a6e19ea2c5d1845e99b8e8ae26d67","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.204","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-fvVW0MelWL+iRA+qNHkCG8xvYxFbnKIUqj63WJm4uv9OnbNzly1q70qmr55IehKkXe2p8ZJiIUa8ykVT3ChT6w==","shasum":"05d44db68fa6ad2af8fb7a0f26d1a8edcd46a5e9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.204.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHd44T1eO44tMhHuB+ZAVyUV9nyzuwrgAEU2bQB7WnxZAiEAiERNWhYdOZ1sr6tsA8YpqmsxEe9AbgCUG/XTKuUVwEY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5cBZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTTA//UuEQRBu/+yNulqGj7dzgV02efgFxugQZiiXKwQZvYso/h8vV\r\nfR3DMxnTzmd/CXpPCfpvZfYMhaU+xVcT5oRdRtYyq8AQ9s1iQWbGkCTiIyyd\r\nGKI/zfrAaIzfdaNkURKokX8uK8GJB18X5I91N4fMsqojd5gKZKDfV2xmHfSf\r\nH5srq4kXWncmTEkbldwTLqnDmg8+iv1rdvWWw5D8na0LBajEDLLKdim3Ppea\r\nbItw3rC126PVXi9sF1WmLhcusu7IL4uPrKFKlPD229pbL+BoiZoDLycMZdkt\r\nOOahjutnnddDHB7697d3GGmjsK0TaRjRKI36vM05ye0gMwggIEWKC4lQonZ1\r\n/2yLD9LhMQI01ysOBlNZDbAupedIwtBp7YEwO/7sLVhmVYaQCqVYgAfdT5mP\r\nSmuIXhffjV6S397tD4G7+6qYvqcAiPrwVYI3XbSlTc2xRHD+SllCuyv5AAbJ\r\n7PM4w/fYuHKrmij/+q0FGTNwLZeMG/PANCsLuV+QqAxNv1KTs9Q3CJ0kppJT\r\n2ePQwkJkYX5WCy/d0rEGQBnfrsKUW3QJVEqxauZF3yy/9IUHUIUinu62136a\r\n3gXsEofjjys3F971rys/SYKUYrC33I7PGGrSpPhWvS4jFlZtqJcqLwR+Au3b\r\nLHk8AlNvCEgF9vsKbEaaEa0S8sJV5l0mJA8=\r\n=aH4z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.204_1659224153167_0.2685848912575073"},"_hasShrinkwrap":false},"0.7.3-nightly.205":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.205","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.205](https://img.shields.io/badge/version-v0.7.3--nightly.205-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dd49b40f4c4410d2db5a9633814a2f7055d2f1bc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.205","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Ectl4fJGyFNhu1vU7Xxh0/foeYrFk4ounOl1KtYZHAdfpMHUxoutlszTqPeIVg3EN5BinvyF3BGYfTf6IP5xFg==","shasum":"de8fe5cf7e5e0d74ccf4a995f4f22f9d0ad8f977","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.205.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTySqDuVlXIpZ9FN44Eno+iMkJ+wrIQw45j9YelYBOaAIgdU/WQ3xNPiGLDA+BG9rTR/LOWop6rfAuHgWcTmU36mI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5xHxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojCg//b0EM0YhIjmCCKsx1nA5InpRcnJjQ5dr52x1sXhbFDTnfikkB\r\neZmfQshBgQ3Bs3lBVJOR6ev5ZSEGyIfkULXNYriNRJcxYbzr2dzQJk8/3Na+\r\n0ApcLs4XlZ6LfcogRwZFUo0u5kAqHCAs7b+KaRxFx3CLf+jnPIEqnNmLk1uv\r\nVsHUY35rNDhNyv6A9DoFjYagu5NY/WY4lgUY71xdkV/Ue2m8mhD4eYdSlv+z\r\nPBIQ10ZFHi8PVCw/xQ1KrJQUGMzxc6jgEQXAMZSOweJ4X0TnWiAteoXpNeSZ\r\ntpG8tQf/x3EPS1PiVO1+MnXBZwGexOe+4sf5MdXhMwRjeVr+tlvxrkEMp/6B\r\n9ANYc0Tiz4/Cz58qVnFkXw/jpy7SD0PQm/QHACcsr+Yw8Vjq5KSdzdZGKJKC\r\nvqua5FnMhOXsm4ycRsAv+4snrZVO5YufIQ+EFBk+D3ODE0ia0YGM+o/cCzQ5\r\nkxOcMAjvei+qD86g8y6ejmY+lNEk7gDk/sHnM6J35LX/VSOpdqvXQ2nTTAka\r\nIkRi0PeLnVExw9YKiBvvrnvp/aAshM9jDFd/zJ+PfN5pOWZknucEjr0sKgFQ\r\nHergc6aId0CDH3zA0nJ1rX3YWiAFUZs94z6PKzrAQ1DiU8GRJo76KTFGXymP\r\nir+6YrkBgMwKsZ+ev099AxlCHIKALWdYRZU=\r\n=VCi6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.205_1659310577480_0.9554606484417778"},"_hasShrinkwrap":false},"0.7.3-nightly.206":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.206","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.206](https://img.shields.io/badge/version-v0.7.3--nightly.206-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b7ee7f445fc090c1fc8756b5138ba6825cf40661","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.206","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-AiC2psWni9H7SGvSTyMdQsGwyk1753m1MoUogeUHoKZpYZ9IO0p91tFl57dgfRqSB4pYO3/xug59vha7wpVDvg==","shasum":"d79b36d792a70930687f8adbec44643742447d7c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.206.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwi4TxiQ/oPHN7WetBBB6D68M/dgPJv4oIwx219eSqnAiAWmbffm1E6SuSPZpaY2NHh2wE8kupkv5rS6dh/Eocvpg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6GPoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDiBAAkT40xdLV+eBLBvTnrGQqIiME3AxQWcQ74zq8Tztf5cA9tWPZ\r\nVA85TB4iuPJrLhMnfz4cwVLh3meyn3j4oH8t94urlQL0REcne4cJfaDGqCnb\r\nDJK2JUSIFMANTdUqYeeDVGIzi8YFyX1HmpTCyjfdDcb0Eka8oK3MtccF2OPd\r\ncZhbfBYrAaU60+xIed0BzXJO0GYgGCNUBz9mpR05OJXKnHWcccLxLyJkMXCM\r\n7knbE1uNCfHy7+aqfRl0H2mCLfvj81mGi2DJQ1LRt9xLfeA6wbWHQC1tXI7I\r\nwbRvhAZa+/vGqHm0pQafpEQBLcqcdEBZKeTOqMbT7UChmpor1eK6F+vyd1zI\r\nq0w6V/6AL3o70R9ktENzhpcZOLTQyd7bzRYrMm6p/RJTnGOeAb6momVn4zfm\r\nm44iLt2lMjKp9mPzu1gzymEIIxdh/NRvpGl+5Xjh1NlNMfsnlBNm2aR8tYNN\r\n7dYuxiZWVUxMtilk0qAx5BOclOS+tD2vchTTme5R7Sgl9hlsEw449wLPN8ER\r\n8m8XiCgmfaYrsptCdfm/wqvAxR0uzbUaMEFU7UDiLRBJKidQVdu6XMQBZw+A\r\nHR/clpLWPXeOYOmxUtEjQ59v1N2nNmV89gAzhyh2MPtKKWE2qSjRKW6Okjpi\r\nIvB1zSxOMHVOD/AzG+/r68MPBaaFEUs7A6g=\r\n=/rj4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.206_1659397095787_0.49261038732398266"},"_hasShrinkwrap":false},"0.7.3-nightly.207":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.207","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.207](https://img.shields.io/badge/version-v0.7.3--nightly.207-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9ffb86f5b5ef7d37c22d0a2e293c5cede7a26c49","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.207","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-TBbNkoIziSkhUwPhIUX3vu1jnHEuvKLOSY9G28iHd2ALMtnBc9U7z1kO5lYw+P04TIlfYDrqo8TXgqqSi0m5RQ==","shasum":"61c0e3ce6b510bfc83e414b962d6b887a455283e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.207.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfwpLUDQssI8hJAIeNCTxrARog3J8+9sC18N33QBmM8AiEAy1eImF0acsc0Knp2vZo5kWcPYhljlp+flP1l8MC14zI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6bUIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqAw/+LzYfV2eRXVLxDsYPuz7IR9bdqbnfpQ/wNTF/zdg3nS+nvicB\r\nHzU+/kCwzdEP68Il6DP7KDD9vyHirv5If82O9GK9I1RqDP/jJcTX18zhztgf\r\n3mIdFwJdZgATKNaHP4su7PPq9e1pehYOGWgCXcxAU13xzMaEV5A5OkrBw3ZM\r\nF423+wFBAObAVBlwmpKuW7KCxpJ263/2O7Rkq5Kg6eKXeRhddvIlNQeUiYkT\r\nRHiOgeQjZcZhnwZ+GnccPFDOxmeg7GsF2p7KEzJXZl3sdJsmNuDFmpvvgfNH\r\n7cxXnJ4iQ1/I4ZVPE0eSLg76OsG/ehxcR/emlhCzHyoSBawO7g7cR6a4Zpkg\r\n1A2leeVKNrOdx7tFHNHgkqzcREzTDPmpDTHgP/54sa94/mTTpau/F4LJEh1z\r\nKpqseHBWbmbOa5ePn4kQD0Vj0UbWyMQ/3bog8tYnUrmyGusgdT8xyqcEwXuS\r\n9vbSBk33uPw6A6YMtLsm2DA0Idc8ErgBt19gAX1wlZ1X5IodB6re+QH2REkt\r\nM4NboXiesj6FOXBdqjjncLr8NSOtAZYr7hE6o3A/VxNOSSKGOuBdWT9n7IQI\r\nTW+X4bsTH0+FZ7wHinJSAYAbObrV1IQ91kIkSsYrbAxXLH2Ku0hsZUQiaJwb\r\nlLM13IptISs5svl1t6gxdT6kqhLArdjHdlA=\r\n=vgVi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.207_1659483400735_0.44704219339502416"},"_hasShrinkwrap":false},"0.7.3-nightly.208":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.208","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.208](https://img.shields.io/badge/version-v0.7.3--nightly.208-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"068a6c12fb6c3b85b08352da32569b5fc767ebfe","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.208","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-56Xhm4D3f9iJztU8U8GJRsb6PNBiUeFe28NTchB/4hEJVgTXnd3LR086cnT6FUXKB+Cv3VtbK1bTLBzXUjn/dA==","shasum":"5c472a113f9deef16417cc55e2b2af45bcd377e4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.208.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaVR75khJlsb5yj3QJzLDxyU5yD4Xr9OEVA2ayVKV3XQIgcYcumWq47WqymBbaTY/tX9u0jgpHvtPqd1EHJRr2kGc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6waCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopGhAAlu55XLJpPYcT6hMoDZuH+cqdie16PLDDqLOdPOl/c111Djqi\r\nPFHJBn27C3ZsDN82WAhC4h+jHhjfPyJZbnft9BPGXbo7gBuMOBc2frm9OfFl\r\ntU9kEabawNG1M0UWDPPuulNw2jDJtxBEFH8v5FFYEOyxOfBaF04N7PgYcBtM\r\njTgvMy+gafb/iHSM37TSPRFjOkN4m4Nw0SQaW/32E+HpTr0mvDsYa5TQUhsp\r\nFbyWhf5eZBNrm7IHSo74awiF+T+9CAPFPpwpAYoJvrrBJlnowkaNxCbrc1MX\r\nwsv830zcdwQnCOZTvdw+kx19uRtnibfNzIrJCmyyPu3XptsKn7o0hUzzuBwb\r\n2/rDul/1ahgnepW+nJWalUqMqAm1x4N37sKQMaqmW0kLuJdXudUtTeXLif7T\r\n+PJ2mzC55qaYzRVscpCzzme8gBDjfXwbVHl6+qrYZnQgt7Md4ckbCpUAtZRj\r\nsNSMPJpJywi/rfaAigJq3+3lXxI6CB/0dC572YN+dA99caSDwS2Yn0uf/0hg\r\n6rATPBKIgMms0JKsieQ6LNgu0oin5SwVbU0HVSdERU9R0HOaRnOGfbMq4hqJ\r\nlkHt/Osk6QHcgi44m+AnqDHTfoUa0Mhczair0wC0+4pg51YdL6cbu+abOpfh\r\noPREMlJ1sDIwsXEMn/BtF8vBzApfdmEY9+E=\r\n=2pfw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.208_1659569794371_0.2575446503092014"},"_hasShrinkwrap":false},"0.7.3-nightly.209":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.209","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.209](https://img.shields.io/badge/version-v0.7.3--nightly.209-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e0c28a821abf559c4320b847bf0a7a8cf5580079","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.209","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Olmyv+YCt30WFRuQkZ3SAdxwOhTVO0yI2rcRB50aF1XRs96HXbLHgapnnT1uohMkAN03trDFvWamUujC5UdQNg==","shasum":"b9c932bcb02a250706d8b6b01a96e899111bcc94","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.209.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8G2Y2/n3w8FrMqsI2bRu/jlJuRNzdZstEm9jEUe7PzAiEAits3n1BgL+vrOZ8nSlXNAgO7lEQKvec9KrygyjOX6i8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7FfmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmob7Q//ZELrCUqai7Ja5BoaURgPBVfAobujj814g5cETO11Jx1MyXlG\r\nkeQqteMAem67SUfFloZ8Y5mT7KyA3oLtsqp/9xNxTNdOAxCu1zjbhWuhUeSZ\r\nnsplKHRiNyOW037qDZqInxdstzb5U9wKAnb+ehTlWY6GUFdp+luh7K1NA3lF\r\nuvp48oQOzmKhiYyffbEx8vRZ4NdxJsoZDteVpGLGwvEfk1yBBCO+e1Zor2lB\r\nyZyUv03Y7lv74kZquzivXKlJZAhfE7rBujjUguZDoB/JQQYzCpWx4lmQP3qF\r\nz5+zqbYOZuN/hKVLQes+mVSa80Qox6YGx9Yop1kRgFCtbKgFO5ZtkgiRb2kW\r\n4UfgL5SU6vn71yiavcadRtWAS2+vY7ov7olFOTv4J0P5Fkcj/J0CSk3S/6x4\r\njHCsKYKf/X59t6+IIniCJW7WZWSOJEeG0kqwAXSmXyX/5sHwtcRumCZqox0u\r\naMXzTXFQ5scKFAcu5hJwIJglEag8XG44Ku+fzq0hLnCXjFNDFgDHk08Ty51x\r\nfGdc8AwiXY0+ZslHbuZktiOfb92jDL/c4YqSTJvHv7WCoj+pfesF6sxCtWTZ\r\nHjErhhpig40XyvVfbkZn56VqcEvUvZrnrvttIzGtNHmz+rLjsHmS6DG5BYhb\r\nwIiXENgi3Pxuzu3yHEW00rMyZOLRnNkJqKQ=\r\n=B6mv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.209_1659656165875_0.19985536557912842"},"_hasShrinkwrap":false},"0.7.3-nightly.210":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.210","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.210](https://img.shields.io/badge/version-v0.7.3--nightly.210-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e096e10fd2024b1613cade6de3b5608d89d9dc0e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.210","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-7lx/ijFmQ6w5N+U/aY1E+heNR5BkP3b2iOtKAkRLf1BOxJr5TVa23sLvKansg7e/czvxPAtwzmjg5+Wfvn4t9g==","shasum":"a2f60e2b617ab8b6fb46ffb379c25e2d0abd13ac","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.210.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/bbwkwm8UtSwvIBhTXzNWrbrE/G2Lh/c6ItsF591fvQIhAPizZ2goyTSXH01U2k3EiMUVAY297JTXknLCr4uNxU3w"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7alsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6whAAnFMqBBXhDKRrfCZeqO2AEJ1G0koSsO4SJkoAtN9n7mG1N35i\r\nyEDS2QnAruLhbXG5wK83sDeP2Klz2LLwENAW5bw9n/7ifjtXlVO4dIy2GNGD\r\na8IQVE+ZqTEtmZrfJabUdcQJw3ZJA9FRwbjc19t3FoV7Vety5r6pLdXjDLo0\r\n+bw5MhZ1ALINx/rh2igdih/Lg/Ut+5Nl7s99p/ngqo3r1YxrS4n2YTszizay\r\nRG+CAlq1sI9ODe/UaQBL5jH6eEty7f8LKBrdhrtgDdt1T/1431zp2UX14XNg\r\nlrb4PeDCvuFasZH5whhHsZThurwSitRiARtBlc/pQ14a+4oOkDIV/r0xS1xz\r\n29aZQJ0H9sg8eGpMCkJaV6B36HJY/LneLgojhivEagJq0RC53OPGW9ywHemv\r\nT9H11oJvid8Tw/QNaGwyeksEFESR+01GvmMAMxRo3j7Ps9azuLaPCYjYCP6R\r\ngbuuP9jNGOpNvXWznsVzqu/OSMsYmU7s02oKQGVTwm1JD+WewfYEv99RAHbX\r\nktq87fRPjBoygVoJ3+CagjBSZgncAc3TCfOF2ySAjWd7KMDTAFdpbrDEnTHc\r\njqr/tlEF4P+Ilndo8fF5uKXIlxmLaAHaa8/CmRhpPHhcFOrKcmj4dSaQ6cef\r\ni+jY7FqiGzWMEoim5/rQSNKZnRWA2s8f7pE=\r\n=Dgun\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.210_1659742572474_0.38585245743579755"},"_hasShrinkwrap":false},"0.7.3-nightly.211":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.211","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.211](https://img.shields.io/badge/version-v0.7.3--nightly.211-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f1b6921d3eddda29692d6f75dc728074a3b5dfd1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.211","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-nrs9LKEFCvWP8UTFUtY3Dgmpx+L0H9KBAbNwcrarJIqwOQutEQIkGdWdYBv8h/bdcbLUcmH3afufsYye3+bXRQ==","shasum":"42b9aaa67a880e2335ad4ea93c760cfdbc3a83f3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.211.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDggq9nmfTmupa+c/4SYnAfXf5LY4ZGaF4TwFYBIA0IjgIgCMk5BwdHF/E3DHPVPkWhyTfb2gC/1htG04/YyYI6HzA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7vrdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrkkw//e6/FQd2ZzmLymdH7MG3+aK6TKi6DPxV8OQROhjDLtlkZBA5D\r\nU8MjTAhun/WJQuMh/Z4tdP+2rbE9ZBC41ECqZNSydgFL8kfLo7BHGzvjTVwQ\r\nU0p8Fo1BuQ7mXWeqkkrEVj56eN+vgTiP4uOUGJA8flIyg6xYJcjBwwYXbCOy\r\nzaYX6WLaaiUU6JHtHzY+X9X+ftiSz0UOQJ400kh8MxoZFvKotSEr4+jg/Fc7\r\nMWwCmJDdhmsR0app58GF/WL1S1OvbvUdW6zIZsvoBnFgJ2EkfvNljtL/mwQJ\r\nnZGjwgRqJ8zauUp3RoppG7O0kzmTCTGG1TyGc0no5CfbyQ4k1mdPy6D1zH8v\r\nGlSQiiCdfPg5jXLqZQVHHJzoQod6P9Y1oqQM8XMfvbbpgNGBQQNV7AHA5WEG\r\nXAiIU9Q0eMQDvv+MB+5E4Yz/cQvEkYdHkce/Ca7ogbfQa8f8qq8cn0zMkiz7\r\nyJpN92JQY/QYywZXbBNg0S7G/IqfPWGhb+M9fjps7KTPYDF5gbiGfPf0A1Rm\r\nQfpKzC0mip9lWV4mmzWbxGZYMewZpdzCGShlEKqPMDGI9vzgB11NYIKXNJff\r\n/tQ+3i9YZN9ywx1e302onA0AiV+/H2NOyLO6zY8pv9rfmd0iVj0/0Fl3dStV\r\n+cm09b1hIEFPJNelFDJfICiPBHpJbsDR/hM=\r\n=O8xj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.211_1659828957400_0.3943981461532098"},"_hasShrinkwrap":false},"0.7.3-nightly.212":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.212","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.212](https://img.shields.io/badge/version-v0.7.3--nightly.212-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ae3ec1a034fd7f77d2e3ee17a5b8d28061bb5f30","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.212","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-VmS5FYwMPuNSxk6rge6eTQojY5YXBffXoPH88dihEfJ24vllHtwEGwji3uCq3H7V4ATwEFaN6WNWQt0IrlvOKQ==","shasum":"4bc0ae318ba97713146b9771694480fbb8e255d5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.212.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJIXUUxwOvPfZtsf22MGo30yesI4+ZIVXXVl7eZAG+MAiEApPM2VjagEd7UTnUIeT+vIA9GTp5Pv6nmp0O4JGId6F8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8ExhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMaQ//fiBc4VY8TLobXF3tpLPwFaBlFE8mxnXR3s+qnhx4uH00qm7o\r\n7K38QirDpI08THZ2KtB72+7L0oD/vS6h1XXBynEybPJoZQ+/jWlMmIK3EctP\r\nCut8WYM8LiF7q5q/DRYiJFiJ6s+Evg5NEyGlq4iROfYXYTJhskdHJfioFCDy\r\nt5HusURJcz43/93AGUCeDx4oauaomn915kc/fiVhQWzRD+cQriX0Hxtskddi\r\n7p3lK1dtxH5/gqVkfVAcvjetFOmj0ORz3vzHMjpG1E2PCauKtqL0OnKXxdV3\r\nN84L/sePFdQFrcXRGkm8FBV1Qlk0g7mT/145O4CIirJQwjddrii3GqUX/iex\r\nvkoCMQP1xVgl3pFIn18l3pIXa5Cr1lrSjHTGfdEqD9oSCihwaWjvjn7GMx/c\r\nUzfN0PbHo8R1eCeToxVmfK47vlkNASyKQpeO4A3IZ3F/4XFykHzQt2dW//bd\r\nckvDzeJ1yvdKPyhNVBxOG7fF9u83SgLyo4r2uGoQt6IYa1fbEJhbY8rJX2+J\r\nEexneSdOvjj96AM+jfRYRz/Rs1TgCSUNBdGYQQ2iCrPZuPfqSeb2CNCWu3kH\r\nEA2e/gOg9mRSL1DO0xXCZXXjhCivzj4q3qwPpmzSkCDCrJFVDd2dx+O8Ndj2\r\nUfLbdIsaD/A5oQ/WdOm/vFIKeBLA427n3WY=\r\n=1nry\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.212_1659915361561_0.2953012956859977"},"_hasShrinkwrap":false},"0.7.3-nightly.213":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.213","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.213](https://img.shields.io/badge/version-v0.7.3--nightly.213-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d1c1560b8ab09f3a90ac7344c2b0df66820e28dd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.213","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-kvJon4EH8FwpV++iftmjT6nu6MG2WLigDrxDN775Lumr17NuRPkRAugke0EG12ZpfDq9uXp84X+A/Pwl163L9Q==","shasum":"198b37412ef1e68e06233eb91d0a81140a22fca5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.213.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7d4eKz6PpWykCXK5MZiIyFhiK8aTqVKwCfBEznG43NAIhAMHb1Y+04bkXWCqWybtoe8niMeroljDOApzV8oHGX5r2"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8Z4cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp61A//SJzKNV8avSgnPlxEKO5HcuWouuyZyGBT+cSnDog8nnGwYPpl\r\nfdoGFPFgomD/nC7WOAxs+eu1iszofLUdix5D0ZEcgQBNLqhtFiesBwk1FGAZ\r\neaWaf8xL50Smez5s/d/v2Qvx0GZh6wb5Cza/DHwb1C0NKYPtbaOxBSIbn2ta\r\nESu4HEKRtjA4BdbUPq0IYxokg7HziZ7iiey10/MCkZVGBDm6/vMzWIVJnrQ3\r\no3LHrXAudTxaKUcwdzoPzVBbp2viMkTp676QmZsuA3PP/bRXFMH9/PlOuCSd\r\ngKhEucgL6cumOG0vYGtocx/pRG6xLFJh6DaMAiNARwa6mlpGXL0u3pdTY13X\r\nXSl8WzEBEAXFz4z37Cq1myFP7y5OBVTLGbFE0G0JZ4Bvp2Okc5rLmHJ/FXMc\r\nITcHibyDJjMOPVJ2bXKOyICJ90XWEzICWdcJwYBiijbMvmCd03o4op8hzwZp\r\nVcvul9ySk4CduQbz7zZmEn81cLUijBpnp957E9xjIUBUdJUUdtflEwBfmyzZ\r\n+u+HAzTCesx8Q3N8fBEEeFHNGW3YaTB4nIxtMakuaJ3uhb7AgbC2kY0hZmJV\r\nr/hAELFAwJ6glVyh+zFE/u20kSuCUWlm1Sqz40D3OeQWPQ25Pnes2knr2sxA\r\naG+ZQAFVlOVQlFz/Z3BxN0aMEc6g4FI+CbM=\r\n=rimb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.213_1660001819977_0.6666428617663491"},"_hasShrinkwrap":false},"0.7.3-nightly.214":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.214","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.214](https://img.shields.io/badge/version-v0.7.3--nightly.214-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"11c7e42d235838be3c555890685104d99fe3e42b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.214","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-sDBgpAcMeHBEvfU8IvUMBc6wXQI0pYpKif7ZneQUfUQ3tQkzGWAnRv3Y6A9rFJd0zOchUSeYczC6O5JsQLSdDQ==","shasum":"cee780db3c6c23d5cde356e095f86f35d5a66502","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.214.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGxZ+nuQxEWeaTtmU5Hxlg5MpHtkY+75AdrqXQrTuLFAiEAgHhh/M+G3AqTUD7oSPN6BfJg2gClnlGWigYZE5PC0AA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8u+MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvJw/9EPCVPTTt7LJq4DAhV+cDL5cJ3riTk7oDdyC8iZ4SPhUPGlvg\r\npUsuaek/3WFVvj+zpAl/krMwNCqYzyEGb2hY/bU+/EznZuzNtB1U5a785KUA\r\nGIlojKHuxM7EAzjnYtbMaNs2qy8XCV2rQv4LsBos+hgqywqz7pURO6BPjjCK\r\n8nw7eF/xIa8IsLlVnbl1fBw4dpssQhDK02FH+NwfipOtDZ/8+S4ChOpyFgKL\r\nImsNvRJs7hG7pjN1xhcWYadwSfDZpcTiiEnLkhz+c1sMK2QXTYeKqSJ+25BE\r\ncq8je0UCeSJX1LEcX5xzg9gBddSxgj1slOSLOLb82gfarL/JHlFBO2jGQg6D\r\n69JHDMUcJyN3bf0Etn3V5KfehrUeVd7KfMp+r0HVZwJTy9EPSdAg4Q9iK7nM\r\ntUFcZ/pPpdjqCBfdD3gR3hjClKJn0FO8imk3Gre2/qCZKgnEda8wci9QEeBr\r\nSWIJUdOPb6kmYM/K79O4d7UO9VJCdcn1CMjH4MFzl4bSCNoHncMQtOE3zX90\r\nqRwZRpVZEN1yAeYCn1J3x/odpsB6mWezo+QqrvaXd60JtZY93p949YiV/ZaS\r\nm5OikVSxNvZ+He6IYq05TjgmPJmYIwNAUG1PZB+CPGuwacuJKE6LZ7eusVLB\r\nvnF9wawiUZ8DLxmG0AjFcw70XxxiSRyX01I=\r\n=OLGD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.214_1660088204125_0.08650608821668992"},"_hasShrinkwrap":false},"0.7.3-nightly.215":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.215","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.215](https://img.shields.io/badge/version-v0.7.3--nightly.215-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b47d45725d09e225fe0de9645c0f047802ab6883","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.215","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-A/Iax4H+dTrWPPmzmk79n1q2KILZMqjCySE/Q3ht2ulOAnWUgcv064rn01GTs2iY6+FTFbgFYXvEDdrt0j2J2Q==","shasum":"5d60bbaee62842b5a12512a3140cbc812274b2c7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.215.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCASx3M63CvExJqCDzVHgV2Km0MqXUS2ccbwl+pA77FnwIhAO7hoVZuZVCaPGNm5ZZlR27V9eOJk/tYWtU6krlxuuRI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9EDpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYRxAAikAUO71mKWodbGkI9kOMshU1y2VGGbXPADAqg9HzXFlm8cIO\r\nQ0O4/JeR40zCqQrq2xT7DimoAfYsQksl8NX1f7BmOED72vp5WNDv0Jx/cTQw\r\n3OExlCLu94Npi9aZK8hVX+y8dEEVNUUtUsNtEv2LkOsnV8nOHdvxcGSpMSwV\r\nC6tScMal2ZrH9LZrEHwwRX4Dwi13+++MQNQplKCpn8P7cq4WgWgPiwLiAku5\r\nOjS9e+WAOwpxfAIiltzKDnVuvpRtlBTe7QE2UmfXLlHq/+AgEp9nudlB7Nu4\r\nngHKEqchJwrVXTih5FqG6j90lh+fPgho/CzkEMcRtxpX2OX52EJLhYtbKpP+\r\noXyjPz9XeSPiPOrkNIHvaIjHJqK9Bb/8yirHgU631AtjnXdP5UwWCVn/16QF\r\n8J5TBf00a8PDkPVHMCunuVevTr5Uf9PCi0aHkJUXoi8o1Wz0SvA+pYpbCLba\r\n/GNyK16kSgo6Aa2qjhfAIf0ve8vf80TEFxBeoesedmgLsZgRIb4DNdK1cxg8\r\n3VF08FRAY4UOWhC5P80CEbGUQtEw+BWJ86+/xtyj5ggWDrNVViGs5pUDgDVS\r\n4RTdT6oDjatFne4TiDejKbkAXPDdp2jGZcA+VokEFfiK3sW7+WO17K+YcWqN\r\nrrQVmSlCXb2K4bDa1eRWaYrZMXYTJs0gF3g=\r\n=RJa4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.215_1660174568859_0.4743204733330608"},"_hasShrinkwrap":false},"0.7.3-nightly.216":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.216","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.216](https://img.shields.io/badge/version-v0.7.3--nightly.216-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eb473980b64f315cf9b90acca634a171eeaa7740","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.216","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-QYj7fENi0BiVyFSpHGeZvRjnrYcxNkYUSrIHldJhd1BjrW7B0TbRAqVjUj1EDMih3gZyLlYR3eBTUgiT9Jf8cw==","shasum":"3a8827bf40ae539dd37342e7756d39de5d8276d4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.216.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTIUhut8B8k9wuTX087z8NSHCeO1MqoKOflCuxhQGMXwIhANAgQHKnv8PQh4KWFKEYWTuySkSclThDOpA8RYU5T/jb"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9ZJ3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeBg//bPMuJF1W3XhtiAG0XZlpFAH1usO41UThGwT6JsmLAPlhNRly\r\nU1zb+vx5sI7QsTpKoR9wNOTqYw+WIE81Xl4yi2+CBpl9PcXbXcOOXPxgt1Ck\r\nXeDlSvwe6a8Sv+5HL0rtLpfE5nAmyti2qU5G/pj8hDCXtnjKly5lqRFKPUE2\r\n9zFLseb+Ks0S9FCoajvP/NYjGCR9evOnuSrDFX02EYqXCx78yCcpgv5GcV/9\r\na6sOwS0xwCCgVlajs52+Y+0Uuud28fTl/ldvwEA0KWVLhiaX0f/skZRa0MqW\r\njfjt4zEcBgyZgjpx58c5EdW+nKaqnNFDfn+zOaBV7SB+KnwX1hxUwCPaZpkb\r\nCAZpxEPMwLtVgJlkzKVYfDQc5bYwMazJGT+4RxeQwVM0NWbnbcqql2oWpbsV\r\n5ZgPgZeT9zx9Dn8tc6bMZ/pPMds8LRDKsRRyku1kV10wFl7AUcVShtMS05GP\r\nw8P7GSRue4r86T+eGivrcU5dMu6Dx9VcEC6UV1rF/gsXEGc3616fNfnocbIy\r\n3ucGcTIxCTUnzkOAgD/jMwI7E82Y3iNvTHv96G6qwhBZs8jnXSIZCifN9bQB\r\n195uOSzOYZy3SDTuePbGN/jeDVtw3gHHEe7C9bsETATdHZUDyyMBYLXOEprN\r\n6HNSRRLEqQ+oaPDv/NradI5vgc0JvS3FWug=\r\n=RDNU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.216_1660260982737_0.0962199429300008"},"_hasShrinkwrap":false},"0.7.3-nightly.217":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.217","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.217](https://img.shields.io/badge/version-v0.7.3--nightly.217-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7d1a91051d4d8936e6b09aa76472a6e8b90c5345","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.217","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-8TPqF2lam0/g4JU2Z8t2YJ3qC4wpXvhc0z59XKt9lfcUl+Jc7xhg4+mteokAKM8q2HpEbqACCgKiVqb4EclAyA==","shasum":"47048a3120d5a535d553aa0a8acce0c765fb4673","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.217.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA75XE12emFxaW6yhJeJcmcOGU0TjH0pmfCj/09AF1fgAiAM1DJulH8W9esgRY3g5AsmccaEUB227dnNggojTLH3XQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9uPjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvjQ//UZN3C9FdMVyIZbsjzcYJBypYzt3YfiUuM06kbuTD/KerwEpy\r\nN5QhezZQH4QeP1T+mKc2Dg+CyCSL36fkakPgzaOpDQQbA4k5DtQUOjYftTxX\r\nqUNsS7nePLnOtQ1HRrWPlQRrPvqXPhDzA/5VknYJ0pPCV55Nc5smw08Uar4/\r\n+hvlm4Ul3BKzWzSd53D605qBij73dO/yWByK0LPlTbKCAdMHefNxALVDNHkR\r\nRbVfU3B0HVVmorjDui+M7bO4tIrL1As9dco13zmtMswyNUikM47fal6TCCka\r\naT7uaZ+0eu2XOUKlI6q1by1qgP4jcbLsHSr3DxzHLkF3pnXPY3LhlcSjb8PK\r\n1qyzHmivsG+3tRTSj+9XmGnq2+eqncuBfP3aqJnrcaBKAPlVx/739r9ZYj7s\r\nDBWXvdSKhlgjO/tnoe3gjYI8jCUlh9079tuCdlRIZHHlDONme5TJBmtIZD3x\r\nalV+5s0sAIuXnMjzqCzQO+amMdyH5cotOAowx5LXQcfskq5uqUHPXgjUMKWp\r\nG2jrbZjNYN4pIQEdCb2b6k/RKXL8xAJbx2DYqUnhCV8CnXoxI7EvPAJBTokZ\r\nFoOf3xATEoOF/MqRqhZnGJ7JQXkXmfPbgXSImAN+bVgWQmWChEP9GCknqZNU\r\n7nUNyXPinGGGQl24DAJ73OwLoRCKdmeaBWU=\r\n=xPxS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.217_1660347363246_0.49929349052102334"},"_hasShrinkwrap":false},"0.7.3-nightly.218":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.218","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.218](https://img.shields.io/badge/version-v0.7.3--nightly.218-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"940a6441aba99fba10d1f0a5aca4d278b076a7cd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.218","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-KaIIPk0BjoZSSUOvEHgaRqHZUvQ+fovW7tAtWcAu8iL8xWCZttuoTDV7dh0QqZaE7P0NU8f6s9AV6GsUGDf84w==","shasum":"5b7fcf4d6de69e948e753503aebf5faf766b9c4c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.218.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHOvZXnulLI3/vqqlIoLUJm/NOW+ggBJc2Wu6L5ckBRQIgGnAI6+lH5e7RNFa6BsZeCBzKgDeWGBieFSeUKSk5eEY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+DVdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Xw//VgF1U3K6iJYsPDhRHzC41RB5P83hbdWlYXZVxk4Bp8F85nsp\r\nfMKzfWi4ah51kzSGRQBFoV/3S/p9ocHAb/RSZj1mHatyAgakUVGhty1b3Ez5\r\nxfXOa77Zjv37zXMC5XckSKAKjQrw5Sm3Duq+ZH4L4FF2h7Q33aMPEncRTiq1\r\nZ8dwxiv4ETOsGZeosQ5vGQeWlTzlcFUrYcqYMpCc66UxulSvK93VA/AznY+Q\r\nbmBZML9qD2QWKfgxWVQ2V1dmswaaAVDJ+H1uivb6rJ3mXmAylWAVkL0Ukfc7\r\nF5bHxVsv5YKaigDt1Kt4MBQ4MDryhR8ZEiRF7M1V9yBVt9YX81bpjwCuNHQt\r\nVcfVW9VEv7eIXBrFsUAm2QFO3svEFhmSATO/lIpKYyvVJBzM2kgSAVAZCxei\r\nfxXBazG6qxNYwCQrMD6G85ICQiILC3SUJMb9+o/4i5rYaLg9xjIUec2I+/1x\r\nsJi8peuuFtWF/ewh8yRBdAjGGPL2GEDiXxrD68jBygWX8LogOcz4M0we7YZ8\r\nC3MYN5MPNxCFZb60ySWCFE0sm24vhTqFYy04N297UhcztsFR47KRdPoCGf1Z\r\nFMubiv1F7C1eyliaNxiZI7qwf0Yb37kLQSZ2L7Z7E9vfVjRvxz4n4681AvF7\r\n/d9x/rCkbmq+4BKQTE840Lpu/q/mwb+uCrc=\r\n=KTpp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.218_1660433756942_0.43222544250314665"},"_hasShrinkwrap":false},"0.7.3-nightly.219":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.219","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.219](https://img.shields.io/badge/version-v0.7.3--nightly.219-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"96ac7690b804b6f6a064170dd68ff2983e92c935","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.219","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-VUc+U7O+KCh75fTwsxPtDJXEG/9Rjw26I4GEiUHggEIqGzsYKpu2e+ot53MUexkcmRn5qM8Ji39D0bBhk89VUg==","shasum":"049f9f15e6dadf10e36d78a51a6e43a156ec2cff","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.219.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvZ6+hsb38LGBCkBXuysCayE8TjrGKCmzaoJJrL+j8gwIgBqefHwmGz77UJX+LBk2fjukyR365jY2PE76XlelUcrg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+YbhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8Ww//Zc11rZkWRDsnQqaXoqS7pz2uDIfgLVf86P7ELfWo+PNzyXOB\r\nTENsZFzFE5deVpzxS6Ce68KQalpu6ZOCEE5oQwbckKQbgEBG2IAQOYjFOKod\r\nnK/4QT113BqMLnpSCDMYlhtWfARWBY0azTPM09tUR3ApDu8Tc2dSg4ELmoFs\r\nR/ygQGrS9uy6ia/stwGvzDIlZod5TOPzkkHfrBiwHfplodiLllIIvnm6mhRY\r\nVpPGilKv51ybV/YqphJver5qYvaQGH4UowtVvqsmqhu7YfYC0/4biK+Tmkiq\r\nmqwls4hzLylSP7ZNhyWhcFMgwildpyWPsoRDHESxMcHva0Q5EyGUkiHxca/X\r\nNZm94zQYr48gueByGiLw+2MOQR5aev+yTWx5SsHKNp189ZFnZv4h3Z3JXli+\r\nO1vEKPPXZ3CHMj9oeerLKErd3ZftbMNk5B68D0zn7CXZ1K8/V2D8RskY/DOj\r\nCRR0lWlVrz5lcA0dcUPF0mFWfcbdpJcKq6oW/hzh+N+wjuAWLTkYDpJKrpvA\r\nDGsl7WUOQdhRHV17eChaO9XELJTgc6be2EBuC2L1RdsG0uN0y3xliUpry5q7\r\nEMRkszx0zguapqv7roX0hzRQQ4TW7XVGly/cvL0iH3mzAK/cjU3lY1Ou8C2J\r\nKxA1RSV2N2g1vFoh6fCkiznbD50r9FSFByk=\r\n=YWlL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.219_1660520160862_0.6031138710735438"},"_hasShrinkwrap":false},"0.7.3-nightly.220":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.220","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.220](https://img.shields.io/badge/version-v0.7.3--nightly.220-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c1e8c1e4d88f2562bd2709ce9a11493793711cad","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.220","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-xG9AORIzg2JqDkux3Ok4n3HwcHgMdBr/Ipu2WkzizVfR1mQR13J3mxSPaJfGALo/STA//ZpW8/Ehay3VNl8DlA==","shasum":"a1ee856f59539612b561e91941f5316e95ccfcbd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.220.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgVJg6h7kQXecgfn5eqYReTeXe5Jhlwdic6rARTO/ejAiEAt+F0jNKsmoWKwuip0veamF5ewpYkTjTF0z1z7FPhttE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+th7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8ORAAlOIEx0AxGBgiO7BXmrBgb/2C4LvqiFhqUnEiIIcP10IzHCZu\r\n2uLHDOAlLitxmP0Jliiz0REwV2/H0NPu5fA1y/PJgb0rMb20HkA/9+N85ann\r\nKuXWrSUdoFnOd+KDkcwF3JG49ydfZ8MEPeOUnngvZhya0/LhAzeGYd/EGaGK\r\n2bMubGIMPPcwKFI1uLHw7IjxsIXbwHwMw1lDoNUb43WPogxsdHmqP/LeprnI\r\nnXwICsl5We0wi0oKDqfomZJ1499XSwOT75i2U1RBB6yb3oBgx4FYwUn/b+pE\r\nW2glQAXoCX4oWhfMY7c9fYiRn16dANOOb103x7t5PlaCKp4DRmpppfqfUWtN\r\nygUzMBLDiPc7bDTPGKdp9JpUbw7gIi4yHETdu4u6/CANhCBmXn8BwMBRKlrx\r\nRDivWFYlGdX6PB5Lc9vkEW6WAQWJQZto6bjuyuLTywwI+hAceJEffOg+Yx35\r\nwvD9tvfVslrxkamFmUyJVMh6DwbQCN2By4Gmz76raRmQ7Xm5yji2SKcDHGRc\r\nlly/tEy5gIH8DxjG1Al4HEE5qni/Mf/oIA0SVo1kGz/6ozrjY7//e186mUrh\r\nIwzr4tgdQ859tv/nu2y4DziQj4smZDCuk7ft6LZoYuc8C02reo4nkXtsgK+P\r\ncxBjYujrToQi+2sadPO6OZubTb4pLKVwTHU=\r\n=GkoR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.220_1660606587434_0.498788594812168"},"_hasShrinkwrap":false},"0.7.3-nightly.221":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.221","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.221](https://img.shields.io/badge/version-v0.7.3--nightly.221-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"171cedd63867935d8de904a5e346800680b712e3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.221","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-QvVDpAaFQpJ5oB17Ii2Smaba/GJP9K5njB9l0gheNg8I0RgkHIl4eKWrM9OR3XcTRT2VZM7CQ+lxMNUIhvhUDg==","shasum":"babf8f50bea48b8816b42745cdc961fce08c1110","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.221.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDK2NvVC9Oc12xAWHXiqHyuMKanbAgy1xSTirhgwFF/0gIgRbuqvKIgGMzjuvZAgpV2zuOtUP6C4uQwm4MoI0zPzn4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/CnoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM+A//UISx+uNPdMbqYmmAnOozQ+Lcu98JSfm7+/Qchz7IE0Di7Hfu\r\ndvaEJxdMxqPcf1wl8EotVZKaukTrpLW50kY4mbCVskhtj4qSTceZ8acPKhgh\r\nILJshncdKR/p4vYN352QkFKk4IT08Mb38b6CG0xl70ZAKPeogX8w4HrJuWiN\r\nFZIdSz0Shy3IckddkuJyVEmTpy9d6Ts8vV8aifDD13VByhgkPtur1vkZUbdN\r\nkln/68/xdUAKcSI4IAvuqxdfW5ushHzEDgb2D7zyz3iH+iV8GslCqlgH4sLT\r\nIXAuZ2I1VTj1WULA/CjR3E1RwzK4L1SR06PEFiJyjSXlMYgmjCTwscairqH+\r\nraft8JAFHgb6lMJZXfnCHXMuU9QIRMyXdoEODNAjtiToTrEVRkvtmStE1x2H\r\nZ58XSdU0AbWLMAZ29yjfvHpfcdYVyUeSkN168S7V9/rMJfLJkC1ELEki/ysH\r\n4iH8Pl7fPe3yeyAvghgNehBFLHBQs5qQ29BE386DCLMoLY/pcw0sbnOBSMMe\r\nDbJmOFBd9wQxmgh0swlPK1aMbazbs+xISG7tC0ePy/M+V56E6K7xBujF0az6\r\nibTskqFyc9ouz42RVt3R3EBE4lhBFNyOmtLRiYzfTTm5VGfmcHSLcQ9QTX9j\r\nLRpQj6i6Jk895KhCbhi2BJYjsi3lUmT8fRg=\r\n=XP/c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.221_1660692968142_0.49332371342359727"},"_hasShrinkwrap":false},"0.7.3-nightly.222":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.222","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.222](https://img.shields.io/badge/version-v0.7.3--nightly.222-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"38130edfbb51f2f00b73634872c47ed3bbd46b12","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.222","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-AZPJhKpOlVA3P14PPFlMVnEQDyEN2KE4exMcEvJ332HvykOUdEvrb4L7qbzprki7FanN9jkscY4jEgxYa3Jf9Q==","shasum":"17fe5fc2553e45f00642f45c4e0e7d8ef13c8a34","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.222.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIK42eno6P4rsfOg+kVOmBOTpUdn9Pyk7Bu3i49whHIAiBjwSG0b5F3b2pOaJZ8yUN3ILwJRHOODyEV45Bj/C4Whg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/Xt8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0WhAAjBOs1PIcRZ91VeJ/YB9A1zQqIhBNZDijRDRLK4jjAQkhjMYz\r\nuqSLf7ChvysvzRCryMRC8BYjtWYzlvZHipm8iELwSum7aYxP3133GGg0bmLM\r\nHzAbCED0e/600uAA701gcsSjfsBpG7xw43MpuZL+Jv5WGLDoOJ7xcK4bmA2H\r\nr17dtCNZvz5HnSxvx6kbDNZ61DDZX9bSWw55Vq8UMrcLEZgaMEWgZf9R4MVa\r\n88NArpig4F34sHrfKkQUa1Etf5Lt5GpqP093BWKCqKyXc8tkx+bmduuAoSgS\r\nIm8T7poCuRkVpy61Pe77CsSxdHFj8Fe7QN0jdIFZI/jC973oqShjTqyE75R0\r\nE/6AHc+UuT453pexzSOD5VLB4U0gAIHUw75b6ZQunduI6lOK78AjGA8OVMdg\r\ngoEir9ny+/QwgR/6Cywl6gpYaZuM5YbW7GsbRo8tfYHrH4TAEIhOV204auIM\r\neoN5pC7msXi6uBvs6k1nlk80B9uaIzMG93VH3ityOEXmGJu0zB0jIMiEG1b1\r\nfhb91h7h+HMspc1d9/LYpdWUks02fdzWDRslDU3o6+1UktfRPed+wCQf06x0\r\nAVRPaJOi1x8rkDJ3Kmx4umVrsLmYhJMQFvezaPD5eveiVbO5kUFkxkct3oyo\r\nt0ZtvSliVsFptnVkwj1SDodLWcDYsddOkmc=\r\n=+Uo4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.222_1660779388678_0.7608908128030341"},"_hasShrinkwrap":false},"0.7.3-nightly.223":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.223","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.223](https://img.shields.io/badge/version-v0.7.3--nightly.223-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c5473d89c2f1da3f40b144aab52d9b98a68598e9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.223","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-TKjkIvBthuQepT/JoxAx6cPPj2NqesrGCMdTXSMrL+NQQq3xRhMcZgCVUdhJdo3ku3+eOKecjoDOd90K93UN3Q==","shasum":"06f87b6af0df8731783287c714b5173b317d70b1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.223.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0r4Hce/EzpTy4gmSDazDMrlO4sVCEOkObT+tDNyYC6AiEA0pwkMiQYwdabDsPsdN46QbEYOC4LriFd5PIxmLXxOec="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/szxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8OA/+JtSh6lxBeRnLWXlqkMKppu3KHYfrHNWNNW0UHkr3RV6KIWb6\r\n8xFWrjmqzB9KRtSVh4YXrsQ2kCOV4d5Tei8Mc73LB95V9FMaWTKJK8ivkGA1\r\nibHxm+qP9LkaFKtuD6CaMY3sHDFIWyyOhasy+7wQMqm0IToFiMYIiw8amJTy\r\ny/is4YnVdtgwdv7z17Y9fZja9E1MS5rG/o0XAOYxVSahqiYVRMY+2aXxtPDU\r\nj8XQ11FyJa52qxeIu4JzYh0O7QSuWNhBjytqNqUmTgCd9Q4afsA5pLfEofg1\r\nXcDT7Q2o23SVbbU2Fca0a17msZOMGLm4vkHC+vkEABA/hfaV7Vcz8wdCzYu4\r\nrz1S7Do02Cog1OkUdBHpi2M4x7C8YTIBUFtJkxi7rIaVz/6adUZk+EpNUkIM\r\nJGJbG2Zd//XNMKZLiusLyXAC8H32Cs04KqyMic6X3yqkU8bJlP27cSZvyell\r\n7kkyM2HDk8nBPrBrXVd8m8DbLzkHdxgGGe7GNFNvcwTZA6A1VA/BiVnqvHdH\r\nLM+bV4RSv268HAaDTswGOAZ79XscuxPyvkgVwwlfF5tr0BGX35AjL8s8pL/d\r\nLUVwtZAC6VuJmflzKcPSQZNMth/V60CJFZ/thi+ai81NH/f6Hq0EZYcwwT2X\r\nApSmO1g7d6z++1jh5hmqpDzUlFh+4i0Ow2I=\r\n=zSDd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.223_1660865777290_0.9520534410723549"},"_hasShrinkwrap":false},"0.7.3-nightly.224":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.224","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.224](https://img.shields.io/badge/version-v0.7.3--nightly.224-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4f7b931f84e0c4532fc54b4239b3a1ef54b45df1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.224","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-BTOP2dGIOrZDM9GcWSQQg1RXaqGFPXXPKBcuIyFrbzdSVQccM5eb3JG2PSzri5kXoWH+WYAyWXriA6b9mJVmaQ==","shasum":"1c881c571118665b2c8c20174e0f547244a66bed","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.224.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdoN9BUns8/K6LzBIVakhdyzt7OLTR6PZI+OZ/mm0NlgIgYp9Eydr0WG1L4yTf+cuwQ+SEJz7dXMo2ilMSvB9WR60="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAB55ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfrQ//Q2fcTu9xjQRc7E/8+QrGPyU3PiU8Noza+s8MwIu3VnRbm4Ph\r\ntEk6//aZLkE7rOYXBpJRwmFsZhGXQwk8g82ZQ1wYmAJEeR1MZQYUukcicTu0\r\nHD6EKipobWDi/0g88CwTgAQv4+k8a/dR7q/2pJdqd27BYUtq2Kg4xqDSnKN8\r\nAiSYAHjlPtlHc/ksHNnvlSqOoBjS9K1Dj/dW5qDKEM+026YH5WzTrhUReJi0\r\nx7NklbKs8G8han8jPQmfW6Cw+ju4E9YBeGErmFlLseIqruv4xzPpXOu+QS/s\r\n0Zu8vZJqvb+5nKfLE2PDXGNMkgFN4XmoEdRU9bOIGnGGnrmT9ebEpMcjrcrS\r\nj/vP9g/1VkVr7oia8pyghI/8Ccxx+nqJCSIkoOFXGv5cCKk2gB/whOlwJqAU\r\nBpltUjIleTw9hmQBNBxgPGkG/CIZmNU9/z1AVHULUi1qQtPbHDNz/RwkuFBn\r\npg+xNdkaaI5PXSApj5qBJi5kLI2RgdrWxqglEudvgzh3q+Zliohj0IsuzjBo\r\nfNzgz9Lf1kvRqokbTnUIwKp7MPRkpHyUECuANnrrbXImJtzsEpRnUTlCsRmk\r\nNrnOdoBD4cUp88m5dG+LDx/FX6On73ab6whazm67anGTsfPc4IBA0xjynaD7\r\njyQO9XCx29SgarU8ZnIrWtNNDhgjrE2fhVA=\r\n=bMjQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.224_1660952185398_0.9804791247318405"},"_hasShrinkwrap":false},"0.7.3-nightly.225":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.225","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.225](https://img.shields.io/badge/version-v0.7.3--nightly.225-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"87e167a1c4c2ebb33a5b7b0de283b75dd12e580f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.225","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-x9abBtXOpyU5YK0b40eWQ+8vzMyhXqjWf13CzlekkCG4Nd63LhbpOLdagV2tQNKLUfa0aROrVws+s3v+dLD5Vg==","shasum":"ac9e850621071bbfa0f31fd838c89354b0172830","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.225.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaT3eoKtX8kHoXxGCkjTeRPLUUO+62fLurus0SdWt/vAIgIu8f+f7cvXoWjaljbkljQRjq9mxaCfqAulZqTU5rNnA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAW/ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogjQ/+Pf94pkqWBjXSOHwaMcHdJJlixdVwvaiBqi/3pv2ztuSME23O\r\nXUN5gtZhMi8HjkPJ0LVWLqT+MqCsi546nwGSnUny6HZzdio8dS7/8onoMwFu\r\nZhlPEMc3+OT8bpLiN8OnNsQeqro75TLOhjqx13SrKts76yV72+LvYCFeyLaw\r\nOnRTLuuCv5ndZO4SM/qetWdKO/3tSTVt9wgCbjhDqxufcpzvkwk8aUsNLXwe\r\nHn2xyjVM2+Zz+SbG1IprAJn92ZDNKCbqUZQjKwxWmYdLi/0GhSsFLG6ELOzu\r\nQwAT3LSl+8Ovtk+oqPHJ5v1Tv8lpyu/2MlN2MdeB+nzOUh6tBmFt+1pPhAw3\r\nBGdIghaSwHwFheQZmC6Q3AngySAJN+Tqu76FGlFPzg+bP53bQ/1MiGp7Lvkr\r\nntp7W/nz72q0+zVVcTCQFV3w8a9wavvQRUeqvUtZ5VATTCCVgOCJSJGitlRS\r\nXeQFlvBk2ZBU/uGfxJhIERFmeh8YWKlVN+15c5gw8Zdh3WbRQAHS4gx5cvhM\r\nNMD8D5P5gooPaCNBuRN+k990i39GlITU1cy2Ccsn8eBJ64Lzqbun4/sxxYKQ\r\nYZeU41o+jNN+AINaP1rtHt6v0slka/pBiEmpNYIK6fWi9Ktld/24M2MgqLQa\r\nB4e3mcmknoEKbzksYH5ftANBeTMIjMcsEiU=\r\n=FspI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.225_1661038553156_0.6458909675088234"},"_hasShrinkwrap":false},"0.7.3-nightly.226":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.226","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.226](https://img.shields.io/badge/version-v0.7.3--nightly.226-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"28c358b545e330c91b60ee931bf06f9737e8475f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.226","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-LyBsx2DyaRIDjQc5Sc/zorvcHJkVMC6+7lP+XRE0Ir319Z00yT2XGWCq4PbsdpCx21F/waxSv3X7Oj7S9ZVNPA==","shasum":"764c2dbdf2df7674ea92165712ff02a32493b698","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.226.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwHrZSI5mOO1uz7KDrwR82Qzrt8CZaadZu7PczBEuXPgIgOIZWydHuYLULnmmYLCLNJHfUguXE1LVW1sNgNhGETkg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAsFtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoaqw//cQiCyUKrXeA3+F3rhj1qWUx9ebVjdLevuYtPFE7ypiec/0+B\r\nYGPVPAx/Ut84X6M7CHiwnO6oaOAZy54MfOXF3aL9IedSTZEGaFT1sw1CPdVo\r\nlnNpZicMwNPMb6ekhjoA4wEtkMO9qw/zYEY7kcPs2JjBPIo4UAxobCXG6EJM\r\nXhC/EDNVNCp1VHyKSM1Gykx9twqzE55LK+UolkDERv6GGXeoqJIqjhXCSJ8z\r\nIpResSbXmGL1CRKjB+ITBEb+Zn0UCE93xk/o9GKcuf04Fqn233hG55FF+c0B\r\nAr7yBCe8z9dP3+JY2TdJQrH+Hnm6AtbxbzDd6Xzva516D5x/9BvSaziWc5KP\r\nrWA0HeUiORXp5OTHE//kC95OcchePSqJE6mADGS4GQnxQ1+QQ4Y7wAY6bHAJ\r\n94vBV/Ww22X2b59w55ydC2TNPVeqhCYQeQYwIYxlLvwVWnAGbNw1IjxJFiS/\r\nlMMa/bBZkbSFgjKOzlPYVXrovIYQaEQ2Tp4lDZJYkf3BE9x/jgyOoyieCL8e\r\nChwB+ZZgYcLUAnAXocMQPmGiZn+jRhi4advW3pshTgrEE9nW6dLLJ7J3AClW\r\nv/2Szxp6ppJqJnSLHFhMgI8tgKKhryHJ+ZvQR+W1KKxFkJCUOf8AxBQUAwhI\r\n2l5FBoaHvdHUmwmpxRBD7Ww+yWC73+khBgM=\r\n=zP/s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.226_1661124973036_0.3788721450313186"},"_hasShrinkwrap":false},"0.7.3-nightly.227":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.227","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.227](https://img.shields.io/badge/version-v0.7.3--nightly.227-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"150af4799a1b59e94efae16e78ac426eeb308bcb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.227","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-8JVpnal6cZhld5fpVMuzpMLt54TZrTMxpps2F3lgm7MuNPmrtVy8rONMrQDSFs4dRoBGJPJgV7zk1BGhirsBcQ==","shasum":"57ed2764068f5827874e2250fb28e3ef9abdf4ee","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.227.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqbxqJCQjVPZxrH6QYB+eLbcCq0ozeDuxKDoi+xziLFAiBhBwl7jnAAqzN7gfoVJoBqWxCJGUC+VZVMF33d0nE07g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBBMVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1wg//ZVaMeYf/gk0uDuCoj9+jHL9G0haSozXozuwgIRhuf1xquZZr\r\nBOjV2Mp8NFViBhJSk1U0yV1WZPs97GV250Udp15P03fmkhKRbG++yiW88KEY\r\nnkDxoGHZeEhmVptqbf5xrVR21BwZoJ289M3GYOa0aAfVO168DFPBwyCeXEqP\r\nuFltHurCgQeE9V1A/BukzJpH4hrx4PaTs1O81X3bvxsO8FOdu3JLPZJjYU5q\r\nIHwnzG1rTPkG9/KKxALbJWkqtPD654CftmZWEJUKmTybBjQrbHHqmXBJkSyC\r\nj6yuqEGauhFIOhYSJUfP70zEh3itbUQRJk6EfDX975Xmo8uH4z7GM07FgKZG\r\nlzqmoAi7WrFkad0SD614dMCKRUvtoRyQkk6EMe1wG+AbEvlhnmsw6OCuEr04\r\ngDuRARSBl0//0bSBovmTtfEMmElCVO2Il4cQFqqwiX02bjK/wXw3FeTr04Lo\r\naeTYrfDYid1XLKsKCulyNeMWANS1yBh+oDxP0wOWdDbt5hOK/G3Fga/XnbFR\r\nOWNOWUbXn6uKr1//6udSXRKkhZony6lIZpJKxNU5QroT+kGpbNd47NHiaCee\r\ndbzXw/iWElYh9nCjgwYN1Ix1yBxk16jUBhWDNzKyciN5NPZ45pdqnCON7V/h\r\n3lwDqI+R4CPTEVJ8/9031tIL6rmVy12RaIw=\r\n=pY80\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.227_1661211413006_0.7622373678459817"},"_hasShrinkwrap":false},"0.7.3-nightly.228":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.228","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.228](https://img.shields.io/badge/version-v0.7.3--nightly.228-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5451e18f178f1216ac8d35197a11f32b81a54f0e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.228","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-l3oXEe+djX1oJ8BItr5v2lgQwgdXlh0IwjAEN5P0C94Voa2Yv9rCXjNUcSVvtPGIHVIsmiatAgLLYsTmFq6hew==","shasum":"7a7046b0f7d4fa9860525f48205c7908b8b3f7e5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.228.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTY8FlBs6V1xjtW71lQeH6Ju5bc5kAtaAhx92pmGO0MAiEAus0BDECMhdAtwnh6HCwyYyqPW85hx+N+FN7ivZZxZTA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBWSDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpF/w/9E/c8HzEKt37FPRcurDJKXVyXbz81cB9vQvKDVqefkYrF50Xw\r\nW8PpQshSjXVGTOE++55dnqrn+am0WibbTpLHPHckngKAvR2vBqldzgE0Ml1t\r\n0BFYH22686oPqkxKtfzX/q3ndMGMG+RbcsZpRYPQsNMwViT7veAvKH1b6XFB\r\nTbj6FV37LymXalnAA886pchL1pYBKlWOV4iG6bf6kRa96D4DRc0zpLs8if9S\r\nhoOwACovx72cx88zwH50myAJ6dfWK0xFOsgG+1os5QCvGdDTp0ur2qNFEPna\r\ntEhNWDNJU98I7m6a0wIZIgS8hdA7o2B7lW8Umsbg7OuDS/T4o9NYfdObpcsR\r\nOpnCgq27h4FMDujPYOrksn2+vHNwh7QUQU9L+rAe4CqJXx4+BZiGkat1hPJv\r\nrbQtTjYuJPpjJphT/lw2e6bhT0fWNUqekm7MsxLNNOmasq9avh6lMdT45rUZ\r\n5Tm5EKzGHkjgzMD9MtsOyEyTtdzIlxvYfArbxRCjE2FVf5dEvgWCaVdoq26/\r\nLNWfeK7ReCI48IphyAtMLo7iUh3p6zl/Bb/jtq/PrfPb/ZW1QQTpgpqRvbyP\r\nbM0v1ef+TVoTExvgk5tvDG9S8FtODPmXsyIVkHV//IMdUlBQmWPxvYsRE9IJ\r\n9mYwQJOo8TtngP1KwGD/NIC6sGo9qhHW81k=\r\n=yqfF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.228_1661297794990_0.540859671593577"},"_hasShrinkwrap":false},"0.7.3-nightly.229":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.229","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.229](https://img.shields.io/badge/version-v0.7.3--nightly.229-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"93cef6e416ab2b268fda7692fa66e555fa2f6d6c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.229","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-ezXRNxrFTs+htz6K0qe2ewCb1zandV+CBy6/MDlq/K8Dv9V1ir9Yt/AqWddzWePBmY08sjQMl79PuoakJTEaZg==","shasum":"558406ec02eb0a51b3d9a273f60ccee174745a98","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.229.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC8GET1RDglOG+CeJU3/pGxnA5UMWeNnL2oGuBhXTeWcAiAYLCElpeWLBArQQhcffMb10yq+lzlnkAcScgsLHvR+5Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBrY9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA1g//TgjlMb3RXIvmBU4BwSile4nM+N53/70j7gZKuCVLB/EEzY9+\r\npG0M0LElvtbfTWjv1v7oRHI7PjE+joDl1iy+Up7WkJ/EbmoqUrSo4zS75M6I\r\nXW/Xry1i7qJ0rm0WVLmYXrgqw6fqisudDRT0deCSXgh1tbuzuf/eV0cnK5FO\r\n+pcm5EAKULEdyKbfyA8SFJk7jSxwHs3iS59hGWSLTH5lUpv26nzr5kBeWG/G\r\npwjkuJ4NkFw7okymogiSbW9pAWHEUkJWlMCauj4ami1X5rU04ODj77pMvi1L\r\nF+7Q9cWTYau1jpl+O2vopB5XEBNKwaU1Dfo+GbztBSQdo6XssdTUB2iRZpI0\r\ng4u2WT9t5Fw5/lKbrFfSpva2/r6nghsEakflaomL1vlmjcSPVnOLYwkCMtTt\r\njK2b1utel/LBj1K6n0yMpGm/jTv0THVgcDneKWZtJjkKSh07jBFONBhBaqQD\r\naA74l5pXs21g1zFpRW04O+hbS7ypiiU8RGYTmFb4yLxdh4/pF3i39xnrYd5B\r\n+CXV4SEbL4aWrqqCUzZBMI8Ly5TcCZSXf0Q/wz4wK7NE0Dh3evt+TO+M8DJE\r\nlAeaTDMeHLEh88M+pBN9oavSGrA0Jn62qYSXmzXTfeVdVNqD5lZ8CMGxu3yU\r\n7frDsyMmcb/wO9FPiDupdyKiM3FTXF0/xAg=\r\n=JwPN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.229_1661384252936_0.06145625591770365"},"_hasShrinkwrap":false},"0.7.3-nightly.230":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.230","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.230](https://img.shields.io/badge/version-v0.7.3--nightly.230-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"39c1c7d5f5aff43a1977fe1f697ee7905ebcd330","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.230","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-2Sp5jjorVsxrIpJwmqdLMbaQ/+8qZLSwb5UxqjoKdcdYVKc5sVHSJVc30HjRixGDqum9aZYk/NNBG3lPbQubgQ==","shasum":"e640454573b1d569aaadb70ef59f8cf657a03de1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.230.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3TXjZc68FBZo8UqQOvk0uV3/K6Pr9kd0YvypxMqgUmAiAHc0ntB20Nsv/zPlX0N0oCGCpDZdr/L7cdG8FqXfUiuA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCAh6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqh5w/+JSpMdpyY24UBuLgDIJX9kyxMDg603Y7+7uS9Ec+QtDsQ9ts7\r\n2P1rt+CKt6O4pxZrTSUaGFUX9rLAyuX4YbcSqwmQ26QWSnyM+d1t/3YHZk5T\r\n9Oqau1i9rWrzVninFKprSrymcVOn04+5mF0RlF4sqMTFXE0+leR+O6f+7ldZ\r\nqXsJpsODid6vlux9TwSWp4dLXg2NkJLLlxO0MYDzUIO8RV8mxgWaGn3kZ/lP\r\nUC+QqBHWxvx9LlCEL/f1h/sA+/CarbQigiLkdiaEhci2e3SfC4EwrjKhIK3T\r\nZNzrS69ynOB7iYAlk0S7rDBFYyC+zds4BwiB2eoRNImR6nlmPeyuEPxmLC5f\r\ns9RpxFfn2E+eMeq8p7hr5l3WYHkvtEjFkTwJRnX/1Bka/4lJ93BlR+ivOpxL\r\nM0Hrdn2gal8fJjdWbHU14Lb+y+JIjFVe5zArC20PvWwmqQw63X8JyjH9p05V\r\nGmqcC2cvpR+RvwGlm7CuODsYbEaBQy9IIYvJrflMGNNKuUhYQzqL9FvmGOFl\r\n0RcJN0cYpQRXbksPq5vUbh4sLIQFblSzXc0exdnOmIX8aLnJZeKvbYrFXUFl\r\njCFaYzVp8ZWtPCbuFstsrcsQFfLic69R67AMuC4wGY0EVj7OgNpMbSKvMoAg\r\n3BXVfiaECA9yQF+KcJmYqV3EQ8ZMhNt1+pA=\r\n=Fy2/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.230_1661470842536_0.44315257647878314"},"_hasShrinkwrap":false},"0.7.3-nightly.231":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.231","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.231](https://img.shields.io/badge/version-v0.7.3--nightly.231-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f362a23932c0ad23754be8b344a948e848f029cb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.231","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-V3k+QWlEmyLCUM+XJnzJhyMvtJKJP9qq4sIfhPq5PcbfCJmKFG1KXXI18hA8hGL2KNIv0nV6VBidB3JsH1GwPQ==","shasum":"4d5dcc83bf4650e0a5eabfbab1de2298d2473039","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.231.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX8hulfjrai5HNQgXXlTapbYJ6olTiYZJ49XMYNPgqyAIgVAjx0lgoscfxkxWYnyVLmS80tHd9Ur3hqjun+9l74a8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCVkpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFZQ/+IvKVwCjO7VTCyEECtqTPYS/xpRgjIq+JGfUqavkYMbcJtHw4\r\nNMGG3jNrehOY11ewRMI1d8OVlnj9huge/EGq5Cqp73HurhNlKvCIchKRWRky\r\nqB61E6gJ0t5pvkKXXvKJIGyzyx5aqYheeNu0FzTB3g+IF+IOkgTTZxklfGRk\r\n/9UBQzzQ+fdo4dq0lUCa6f6r3tFrLsswLo6bJxeCc6N5FsnJTCSI36KqecKL\r\nVe75FqxmjkiB+wLVgJpT2nU1Vb5AKe92duLROmUNJcHFiyGSoJHQRetGCUtV\r\nCqZTwk2mKDe9wzGNPOymUDQjFZcpWJYnkP4wkwEDbQkzcPFMndHDkdbvbIlW\r\nnz6A7C15racHmx2V5EnIKOx7EnGqs2EXDF0vz+cNfzl6KBCa6SLFR+n6OvRn\r\ny47l0QyKLm6bnwjoFXqjN8PcYaClyX6v3LwHNta45ahYMbkS9fproO8tkTCo\r\nrkUjVAoKyILW7Jk8b53JPRSzr7AlgiiVN3ggwKKtxSNXtyakEnK1zd/s/Q4U\r\nEatV8Yw2D8P06GapJ5iOKf1PoGn2LzXaFeEsWgWbPgKlm8oJbY6htei/onvc\r\nftQqHHBfDYeiOpIWIPHDHSk+d8Wen3NpLCf6dtf14fYUUT0YC+Je3gbD99ff\r\nTy1oYAyAMEAXa69BxYz6HU1daAIWlcatA5I=\r\n=aOwS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.231_1661557033121_0.8144459373885224"},"_hasShrinkwrap":false},"0.7.3-nightly.232":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.232","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.232](https://img.shields.io/badge/version-v0.7.3--nightly.232-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"920270dc6dad92a04466ea41376349124086ab0e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.232","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-WdSqfPEqLvnp8rXNrxIP2WuuYsYIdjtb1Ik+7DxUUuNdD5UO4DxNp2tk15LzJwSKF8adYXBg3llu9znx6VDvkg==","shasum":"8e7976c3a0b0256eeb42d199095f161453eaa6f8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.232.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxuRogf+uTbD1eGoXXj4WJ1aEoNb22HVK9NxaI53SD1AiEA/1u9S4pp/RE1XaA55e39SpFXPdaDMwi47hWh/TnMO28="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCqqbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUzBAAnqIeaAs/CNSUUc3c93mLNIB8XPnZrk/dKVKSYJoAAyhn84ZI\r\nbCAEJlTgCAiuvIAA0o5mjfV2LTgYNS3FW/rkaF9GJRtpoqjwJGcU3ZAxiRqh\r\ngG7D+9l3sMJ/9wWhcdWyjZfrMSA58Fr3BOoPlNBejZWGvEpIVeiE3F/rnX6a\r\nMRxKy/jtLW17SwxTxKw0zCkz5V57cP+iNHI7KaHv80vc2lSfTyaKAgYlUQg9\r\nXc7HSPYZaSwl6p94f3meBlkvrL+cDvs00BXokUvZHwthKn6/Wyh3KKTxlkPH\r\nO24+yOuMvt6NtfWZ8Y0yVvVSqt9ByFCxC1xe+7at9InP5AnK5IooHipYnWdR\r\n8LB4/2eUjHHHmw2LInEiFQue/VsR8eXwOl/aU86AVMegWGHJQqFbnEP7SBfz\r\n2e0+j3dSA1KKL5JLEmP9jPF+5brwr82gbwvFi82DVrCSJ3Y6FEAgkaTBcjuE\r\nsmG2AdTPFOde2McQIWI0ukOKaYthv41hH8ZmbMixCbxTPBwPqfOs/PXF8k4a\r\n2UplG8Z1e0PjMmtjgduoP8MHXuPF5B5do8xJO4EKxFkdW6A3xFeVmDO3xiIv\r\nfdek7VhmlzOSh04uEfgP3Lxvq9k31CHdHglA0+4uQfYoTQR3eg3DvAWdMnQS\r\nTZZ9cAHTYt+/+em73IrVYIuigQmf+05efwo=\r\n=/ghG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.232_1661643419583_0.06699902409421199"},"_hasShrinkwrap":false},"0.7.3-nightly.233":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.233","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.233](https://img.shields.io/badge/version-v0.7.3--nightly.233-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8a1bd4c1060adf79980b50383b8733c0306b2ebd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.233","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-x8sdb+3mdMCPaNxBDId/sIaLWmVhuSk+b65XCOtvjujpDkiUiiYRFfg51hOoxCAl5/jfwm5TOqJ9s6bUFXgr3g==","shasum":"6c094888a2707148450bbf710781e92a8fcbef2f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.233.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjBxiAPGpYrcUvHb2yMkoJYy0iEGNGuc22dTayX3zdrAiEAkC4hSdcxuPFHtThfC6A+hWWoosf6WUIuIlDXfrbT5ZU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjC/weACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3BA/+KOCLPr5aJ4oP5aCgBcSbU1NwLlqQ+sh9H1YufCgbBT4Baqa5\r\nZpBIG/nISH7MWjzt+LOy9/xj7/O8uAre5hl2gWqlp5gXCDqDc1Nx1NTEri7I\r\n1w2Sox3yGX676Cbf+iZRsgHOcSuflom74mVWewDJsZJ4jHKfATSaTQrm47bq\r\nubhcsbCXB0iJSPBuZCRUCXBCB/DZsUrSEjKvWXviBask1BsFVMBVjbqiVpSu\r\n+5PBHuQ+I4kCHOjROH630uSejmxsZZ3Ip5+n5YqaSMYvTGoUGWALIIRTjJRV\r\n8T/+OmUEtXCEWdm6PzksKPU//QDF+qthE99+4FNXawJE0jzHJSmvtmictGW4\r\nMGLKwtqNzMVC1J43kPIUSqI6xkY/KiGockrmRLWvQc/gd9NuOO91rxtY0Q0k\r\n3H87PMgziB8LPWFiXxg9eSlg4tFrNfvJRmxmh0183u0C8iFcnmHmjcHv+HcC\r\nQEHJu3Uxloaf8VrT7fD+rZMOOrXDoiqWTGZmCR8nS8HK694+p0YMwjT5tcSl\r\n1K3bXyVTEi+CJ/bxFclkcirZHW0wZe2tWmFapy2Jc49XDWqZzgZa2c0uTGYC\r\n3O7WOFzHuoqobxjK0mSu6sQ1CoOsx5BDY2DxTSCmL1cFqjXgb0/obLWNF+pK\r\nBQfrpqueJU7Xlkxj3iodzmCSK6j3bslNl4I=\r\n=dtqg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.233_1661729822713_0.47772936800452426"},"_hasShrinkwrap":false},"0.7.3-nightly.234":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.234","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.234](https://img.shields.io/badge/version-v0.7.3--nightly.234-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7e97fba825693967311b24572b9fe9b80a331cec","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.234","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-GLPSStrqHTY6Zs0QT+loNyr6cF0x4vYgazoQ21e0sB9j8lGmvxGfgqaGuxsxoQXScXddQVFUm9sdO8xJKCHD4A==","shasum":"4f9d837bd846bf0a9d9def065eb3a5d35ad67b63","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.234.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpXEETGkRLL5ZDVQgeAHXOuXsXFPTq8jBm/UiPMOA3wAiAwuaI6I2PaCYMToZkAkX0j26CRsxlVWToewxP5rGj1OQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDU3TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsVQ/+L1YEsu3bbRJkU3rAwKiebx+nMyeZLPBn4OqVzaokBo7ILsIz\r\nAr4oazJxmnoafCL37tZB7OSwfXT9H1IQS4tgK7iwi/kg4R3BkbedbkJ0OPvn\r\n6xjeJJZiz2c7zCLvieBHpJNiMyfsANFX7p8aRMpm/tIbTazDAjUNzvEPgsA1\r\nqCWm59sPqYv/XLVMqXhN+uFBARjAyDm+T9uf2iK6kbDja9kDS8Ct01dO5G/7\r\nIhTbjFfNQ74bUwFosnv5SNRBzLcME8epKPLDD7SHcU+fWtKnGO2Kg+I3JZ+j\r\n8bgX17M+/PZIg/vpx/8RQ28rA+HyK3Zvc4baoH5G4qYluS/AO0oFdMGvaO3m\r\nuX5rHMoe1THWKyt2JPtDsgFQfz0HZtUOQUcawn6ba+UKcVTPbJz+4px6n1KC\r\nEfTxUr/8+TQbWfMkOvIPw9S8tn+B5yX8Q7HTnOZRwIYPDGrOgKaeEpL/Vpml\r\nevvKGq1DHr0cF7W7U8HFLKBXGVnTbiFQ0lSg2hngR0XHdMKqAugjUFrXd0Wh\r\nF60VFgGOuzB3NrgejUOclHhuVNsSxzg6/IaJXoo1cqqKAzau0gSve7LcISvT\r\nbg3T0BtThngSKkkCG7ozr6ivD8u6g3NgWswFBK5vR3kxKRtUm1ZuWmu2cLh6\r\nlsGHd2JZbMsvsKO9peSPCoqpGIors4MwCVw=\r\n=Gpd6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.234_1661816275490_0.2961565284798653"},"_hasShrinkwrap":false},"0.7.3-nightly.235":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.235","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.235](https://img.shields.io/badge/version-v0.7.3--nightly.235-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"77b1f74d29f307128467a850eb7ab70ca5dbe92e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.235","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-71vIT+mAcuWqqNUxCNqPh1kaMXSirwJYxOZJrfWIGTwSg1X86f5+eqT0I9Cw1iLhOwyW2BOjuO68DAv+MpqE6Q==","shasum":"3af712b474666e61930697be9eaec35e65b5fe82","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.235.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4X/B3k9UCAY6zsJeElG6OmEb5PKU3qz8vh8v7EP6s9AIgMuyyCrv8CrkDdxJhDgQ7tzEeSQNuZ5CDtgnSuwQvmRg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDp96ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi0A/+NBSEdkAXLJxidMhSZbZpsg5K4Wt5wHjzwrXaNAu3QB2EfWAk\r\nT5rFXFJ4/e2uaIGBr6VEpSc5i1kcMKZpqrnS8/44x4oWoXc4EPF0drVDSyr+\r\nj1GX+ZZ08ucCWVupI0SWESHteq0KIELON9evH4sZOAb8dRH2QpMUSJVco9q3\r\ntgsatT8oUDP8KiptkzPSmvPoIXDXJ6E6gJXU4SRPMReAIG+EZNtYG7dzabnj\r\nEqUugazMfXn3Aag/8b1IFKffDvWEU+u4drLSQHkkuLlQu9ux2IZ2Uca8EYIp\r\nQuwh/GylSyN8edJPlAwQF1gU0u7f6TUoIe8bk13qMWQgVKPWsQdS2kbQHx2Z\r\nVEqmXInoh9O9ROB6D7xY/8pipNjr6nsvhn8MZ8CWEIdkk8EwnOvLlaYGUH07\r\nHTxAcQCYy0OO/6cgzbKTsqT5nd8pBr4HlVAaaBOP1yPeNBkUEWPJiilaLF+o\r\nMLK4JPi9KkCjVoNDLGJOydwIy0GwU5zSeuVP72cF3ToOouAn3EPBhoN1BSiW\r\nuNf3kgHtl6+7ozqNFbzI48STbvRxfqCK1cOA3OG9I5oKHRACt+F1hAdmi7p2\r\n0le35rAeruyW6Ff9Zg0n5t7oKhOHoMzd7oAMnOLIqZtWC9VkXH+Er+vK5EXl\r\n1wMGrQaF+0aqbcQyyg7gOQEJ8ZOLdj0auHM=\r\n=8FBM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.235_1661902714709_0.4808443992660738"},"_hasShrinkwrap":false},"0.7.3-nightly.236":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.236","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.236](https://img.shields.io/badge/version-v0.7.3--nightly.236-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"342e0706f9db3dd2c55c6301c7d6b6ffaba654c5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.236","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-oxY0Fs26aN156qzjQBfs1SJiLCdN6V29BVnQ23DlWFscAjhiXS7qAZ8yGn/SHGT5mZrSsH1kQZ81b1WNFtWPmQ==","shasum":"d753015ac3d0bf92b77ca924e9a0b74d0ea0f387","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.236.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnjXkgjVTSBszWsZRtpzl/H2jfSoMEc9ifmhm/BLwgrAiEAszCx+JOI9xx3HMvkyIbrERsVmSxthb9BBggFOt5XEws="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjD/C8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlFQ/9E1GsA65oxYtILzR8BfTAr6RLuojtu5uVVzUDkIebUC/M0ihi\r\nG2+YireDwHRdpsplr2HkJJMX6vge5qejcpLVA6JiIH9rjmfl9tqPEwFv3WCs\r\n5wXlWBFn7nu691HCaYhTGy8I3gH1AjPx0YJVmrBw03Mmq9ZenrJpV1aU77DW\r\nhj54aYE3HDgRKiR872IATzKRrVSZ/LNLJHMsWro5DQBYXV+uu6reVYiBL8n3\r\npkI2T8bEOOIY3jejEDrzmMiNYv6dIiG3AJS3IvFvaqB3Fo/dbBxAUJ/NUXVE\r\nro9Erfsc0xPNc5JeNRdvXDJqcPb9UmlH48tU2Zb3Pg6eFD0FSp+Okd+BS/aQ\r\ngRi8fFWbYm3uiczMxXGvs6H3yCE8aRx2eVhCA1d8NSXQ8xfmviZqIW21jdPk\r\nLd7AGFyJ+6nB799Yma1S3W7h+BN9FcE+MEu9oM2yuOO7fhS9hvm+JHdwnwCh\r\n4jJujweEQw3VAJpDNpPN6t7ldvRk1kKnTkvL9kVBxGwhhAR1dSU2JT21dnOS\r\naqMyUfYjEXOGn+sD662TwU7jZn1Xx9cobCLeekS+Dayeo/PymjnK1P86wCOA\r\n8CHOM4Ykrafa0Dt/XzR8j0uAx2ILfNcxLT8iJ1/EItXVu8I96j2XFYQ2mDdS\r\n2ztPtd0ennQfepSV7XCz0e/xf1SXlx5pUNE=\r\n=/fZ6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.236_1661989051777_0.9651244370280778"},"_hasShrinkwrap":false},"0.7.3-nightly.237":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.237","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.237](https://img.shields.io/badge/version-v0.7.3--nightly.237-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e3124e27686bc822e7502a8b45f826a8987500a4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.237","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ZJJIGv2WUmVwJGAtJT75iR/WBAfFu0L9OtowRTbjWRgSVqoFaaXI2XXcZFNYGZx+Hg7fouWjXV98hWiZtCJ0iw==","shasum":"5c560db2389021906f2ee93f668a58ab8b4db23c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.237.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWiOXSfavw6dxmEbCl1EXGLCQpQj2LD6bIpmbN2JzWYAIhAPsOlAx4/8uDPnNo8qaOrAKpEtk5VKkXcdcmfuUFZXe6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEUJJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozShAAkUejFjlJKKXBWywYMWzLQllZJJYXKrRM9rQzkSifhlrnpy1B\r\nqDXoEAEeXZOAxuo1xmH4BXL61ahd2FLTYsbE9Z++WjabJsntmUMxYrfOWxF7\r\nJVKjs3EMss2wAptOSIu3wFLaVJPTafiq8wZoe1nAqDys8C2iM7+ZqRShC/kz\r\nrH6fAVh4lHVQJq+Q5BLRVBK9LLo6PxSiHTRk9r47SJw8Ba2tTxJI5J/QgRxp\r\n4TRZJ8NnIJXOp8+7eDcgrQJB8EE4SfmCQTW9VrFsVK6EArT7NxqppRBPtpLf\r\nEIHW5+h/DUpDHqKukM3O2l1g51WGqEXvgwNHj1qGxatumueq6W9UZo5ztYgl\r\nw1tAWNWqSMi4ZL/eT5IC01m3IYAPa3LMny8/DrjS+MSQnVe3NRsiayh1W9GQ\r\n/+sPdQMuy8mTY+2ikvnxblygRLMpdtO1LxNTGo5VNxhjtKeUMwC/MXjNFpk9\r\nePGJC/0AL/nmcgDNR+pKzJWMoTRlpxe1CvPoj/nX9e2IeE291TkxjNxAb5vT\r\ndv2kbjZ8eppxzsM+1YiyvLmuzR29mD4TI6RuxwJzWTIipmX7kebbEEfAjART\r\nawy10tcaxjBupikVsKwuIC6g7t/H1nW4AkGS4XSYL2twd9v7H2KR6sZgEnox\r\nquqEfzps3AV7ahAkLuTfY8g+DFUEJPNdgJQ=\r\n=H8lQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.237_1662075465824_0.9918681628387866"},"_hasShrinkwrap":false},"0.7.3-nightly.238":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.238","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.238](https://img.shields.io/badge/version-v0.7.3--nightly.238-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"64620ac372e06418fe022bb9de3a5c6e2110a20e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.238","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-jgXGKV2wovk9xOf1AO4DImXl+ycwZQCr6PlOf+oYfr1Mn0x+v4+oPHla7/lzfKZOjh4/+gmztoe+/K7ce5KHVQ==","shasum":"2875ef7438d4779248c2d9e730fcb62a9cc064f4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.238.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6vB7mVK++TYRsMCO77ro37L3hQDHBtu5E0U7Gh/6JAAiAVTHQVTMqLKZKt/aRHdMpPrwC+Q3V8MNfkxpz7seaLfQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEpOrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq14hAAjXzxlRckMwZv2c+8XYF22XMLisUcQW5NoZkc0kPSaBH/jAXS\r\nIVC4zVb0//x6g6HBvYnmhpijWDrAHg7EROP4qMWOog7FXQIvOTm95BWNRlez\r\nLoL+C+PKIl0IVhDNDCVyOex0aoWu2C7eRzhQyAO/OJdRAYFJ+0Rl2amhMHJ2\r\ngmN9NJG0gGn4cd5IZb2bNJk4roIN4+gC4g0ZF66RaTnZ5pXuC+7G1GSVMGIn\r\nHlqdOGhuntSGM5gWV05sI1efaLAudYsBvo0Iqu0972A+GjcMpatX359C7jYB\r\nr/ktQK2tXMNrKbO6yy8WiAl+FCDoUf6FHFPSHRsNXfThT5yx7+W0gnsQ7ssc\r\nBiOx+tgj1pjfisZb+06YYW1jnAjVYOnQt11EiTm7IE6kg9GRUw3Ke/dLirc3\r\nilOsl9dPbHFvHL5xwD5wTtD0IULusKKXjlS7zl9Mq6/k0PpP+c7wIYn4VxYC\r\nVbkSsUU4TIsfSQYDQmPLur6v8DBuHlBHpVTfNC8lVeiL/yZavgDunQOY79S7\r\nTDePjcavKL6p9cibFfBIdpPi2Sq9/4VSMGhdw1V9R4N8G0zEDsRCtqSIM6xU\r\nYb9xtyDjC4m8jP2+cMsPElLDVW/UK4dEQ+i5TRNMA1S0WyPMb2LigqPaJEjz\r\nbYorvD12MNWQMV0+habSgUKHiopRyFmmWzo=\r\n=rvzs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.238_1662161834938_0.2128311625064705"},"_hasShrinkwrap":false},"0.7.3-nightly.239":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.239","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.239](https://img.shields.io/badge/version-v0.7.3--nightly.239-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8f4762ef8e60adf1ae9d7c330f7bee3a4526d3f2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.239","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-pS89TnbS8mrykoWGEk2r3liy5BwfjCbIKSz3IV1D/3CESRG8Vb4jAW4stBBN6kHDyRp7RcEn+BHTHOBatjf1Nw==","shasum":"9eea61dddf2f69220b758973df44658d5d02f235","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.239.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAtud//9R0EVcvPNeo3gKD+X3CqyFHmysA3DOLgcU9JAIhALeOWC5fKzc8Mx5Ad7e9lCNdMTXutGUvUr75/TK2607I"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE+UiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcUhAAhNYsPsIPM79ynLtlfHzvL1xMEHncD6d49Tyx4ENLghKdPpc9\r\nlFZ1Ftng2F7rs9yEPsUzsRIO4YXEYvluW0yM2xu+Gw6NiS7fBeGy1FI0uqPT\r\nBTpPQEXIuTfeIgyChrtLo8fk9Z7cJSVCCQe2K7tKAUCQcT6+efm5ZY3iJbXi\r\n70HW6ez0s49Lbp8JyMOKEx/RbmecnfaFrpKoBndahRYdd1PQZiCEFOp7/+Ig\r\npfnJuBt8LXPEa8BHNvhGCctT6F9Om+KmjLuHD1zfcwm52aE7AxRiSb5ihx6j\r\nV2+h+bVxWIxOxtR5Lzf36LUQcrmCzc8MAd52j7UliwqVCYcmasSjz4d2+Q0N\r\ndJDb+7NqexNEnnodhYBIY8wf/ppINvr4DfSmaZrkscRH+s+e/jitdoXl9QfL\r\na5g3JGxladCvUOv47PPE8tnTECSu5RU+XNoyHR15znj+sthhosYBQDHI+F/c\r\nGTHY26ktu+0RiK9LKisLb1BwaR3bQlLYhywyqlv9gJRk+9lGPnV/WpTr/i1P\r\nTjVRhy2zl+5+rTimrmNT+4S1M8ig/r/PRXS2TYXNP8/JU2BYbiqYVYPiRupc\r\nWBVvfQ82q8cqobCQV9abpARC9vE2aFs0KHbgbyGe8NyeKjEYWk7bA8FJ/U4x\r\nFo0mnwUGvpXCMAYn/qsoPOZM8C/mdm2yAPs=\r\n=EkXZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.239_1662248226180_0.9212657960840336"},"_hasShrinkwrap":false},"0.7.3-nightly.240":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.240","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.240](https://img.shields.io/badge/version-v0.7.3--nightly.240-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"11ba56bab5024228d18456fb459bcbd0ec5d5c23","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.240","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-A6llXt4zL5KbkrEclyOPLJXuvI/xtJkdGQ3dTOsTgEikM6Kmx0rgbNfbPneY5uX8MtQ/DbIfm0pCYQReJMfpTA==","shasum":"83c4df743c71eceb51e5329071860b82ddc952b3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.240.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrSC57s5pxDdZPRp0Qk3Z6ic77mu6onvbVRBoQPO6gqgIgNeFpu3Z1xIEfXn8H1Yxei2UfhhEuw4q/etIFvndzR2Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFTarACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMMw/9H30JCrwnIEuivoAKFrvA57MTRQTjLG0E+a0Yi0aq0NaK7YTe\r\nLqdRYof8pkRe4ddB+hEFfuP6ppc/Ziwh+rJFvE5LLPOkdXXIyhbWzEf5PaDD\r\nQ+Zzd5BC0uSDF6BTi6D4Xs9qeAi1n1aUxdnpjgUhE8ElQEIu7eXk1WDi19TX\r\ntiO3/fVmJE+VH+TNc1T/DGWMuN+9RxLu0Ygn9tPHQmuxyWolQcKva1z44cJw\r\nuaO+hXMk7fT4aTDJ2V2BVpqBhAxXCEy+nviv8az6noZBGMPMjFrQrt716l4M\r\npjKsu62z1L0Kh8WM+Jr/SoeKUwN6wAjJCyFHsOnDuQQcBiWmOA2pwSEutYHS\r\nrB5p/5fb/ZLaQuPXTzeUl3RqPXMuU3weIX4J/H9Dr77WKetoVUBuwbwuCenl\r\nQ8SQhnqk/MQFj+y3C1nMmKEdpR22o9wOt77B+siYYQxCjxKqwy5h/5uE2f8s\r\nUWuJUz0hKm96AnQhWDp6lUHQcxlU1hrOvoXVgUGonqkUuhLLeW5zgRdbxFAf\r\nDaLqK7RLPF3KpZ0ecNCSiUsA6dCbX1JD9v41F0nJdisjiNLaqLl7q2Jy7YVN\r\nL5HswSQfTLj52RrEb6nck9EmWf9R/aQ80rRM9QDsDyDEHJRh3lzIAHsmdzjp\r\n9LF5ejB8rC74YysYb3X29VUig9K8OqV+P3c=\r\n=645L\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.240_1662334635428_0.3962254274405732"},"_hasShrinkwrap":false},"0.7.3-nightly.241":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.241","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.241](https://img.shields.io/badge/version-v0.7.3--nightly.241-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9e6d10a61bb992852359ec4c5000d7bb14dae3d4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.241","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-0XPmekW4FmvIew9Hyi43wZoic9iaCNQVRGTauYnNiw0Z9/H+gErTihb9O7P0SJfp367aDUvKKXxG+bWoo/gbtg==","shasum":"58548f9a5d5b543fc5b7b53956f7973776db8adf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.241.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRO4cL2CbUsvaSokYj6+3AzdUz0ReOo68EFDwS2OYTCQIhAKfsC8Dn/ZwveAwpEWVtssny58EpyyllCZZ1aeGLQbtq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFohlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8vA//RLOyqel/0deaLZs/DR3/s+ODT9qzh29MvJy5EWA8sv+a0qdI\r\nRYMGKVf9y/EEhm9qF//KcdGBO1skPswHF+jqGcDA+iZeIuA9KyJvIMG633tu\r\nyOBSXa6BBHyq+Y+watbK4RgsMb0MQFChR7roAUl8LxRdfOb1xTy6UwHmVA1e\r\nWLG1gJkOphP2wLAVzES0QwSFSik4g5SOCqz3JGo+dQs1XLIG2U/wjbu2SVmW\r\n2y0JoGRr1gt0h0qqHivh94QHRlBmPgW24rtmHfy/iF+paDU9pVF+gxAxfVVt\r\nuHWYZesu3cPa0s93VJ8uzt3SFQqFcAg7MPetG8vh/hJOULWo5o0d7QyR6aY0\r\nUzBQ+Zr/ol0qIfj11yWBdbWtEO17ZvfIC9q5b4skI7fAGXgfJhwA/ihz8cic\r\nR+7tzXxjXTZrTVmckShuOUZBvVAKRe48mdAQoqHeL/XSXGqx4D09EObzKcyF\r\nWNSD795CUbYqsH7XxlKLhddbwJXH8MtYqPzXBiRxo17bYKKBH8seaLlJVpuL\r\nWD0A0bonHbidAiTvL+241/paq/z3EIzHeWlFXWwVkw4LirCosuZ0ggGnpc1V\r\n+M5oelFz1LZgrn8hmQ/38g4XbtIrWBiwCEDvF/dhiG+4EG1HWJ62jOHlfA1l\r\nisWtq6lslVmjr9QLgbxPShGg9eTjqz79SAg=\r\n=huRC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.241_1662421093002_0.540434922614524"},"_hasShrinkwrap":false},"0.7.3-nightly.242":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.242","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.242](https://img.shields.io/badge/version-v0.7.3--nightly.242-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fe91c3bfbcf0475d0cfcb271a2be43aab8915d16","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.242","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-qCILoXA6nGl8Y1TaxwjqJDuKrtpzMXI0yNxKX30nh52suoIWfrPTFWSJPPNtJC8zx/puzr+mKqu1oBZQo10mlQ==","shasum":"3376168272f6ce627c90c55f870c0b68b7e280f0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.242.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEQbybttxIEsmqhsj0aW9kt5Y6beFIYzsXKSQZgfoUtwIhAO4BkDXD7fEPVcmh1fK99L61FW9UJDvZG18B/UaBB2fA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF9nvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlzQ//TPLFn48D+SoJ2uoHTcwybGFbsH+fYhpp7iUWAfkJHGHBRNvr\r\nkujuDCnnIznwpekQ4vNrRq1sA+1J4IVUH1i7rw0/fdhRThC/Vigj5miUMxrT\r\nrr9u080ooQIw2AQtzeTKGM21/5mjHIg30QnLbUs8KzbA0qt2lpb8PDjnKRkq\r\nFvgiKT8LcRr8g1aaTFqBG0dd2D1UciYKOlMQ9/8S9kLIyK+pAaG9h3JlaHwL\r\n637dJLKMmxQXaRRisNklP3AtIqnds1RH23dWO68bMa+hjxB/x47fhPTeuz1V\r\nf7iYR4ShxUuItXzuexvDQZ/bq2fQ8wcc6m5kWFmos901FBUjEIrwaHV39QIg\r\nNPIatCkJ3bMGhSILJ82z1Mgc/Gv3I6PDjWWuGtc9eIFhXy2l3QsbMOMtLF7o\r\nSXmIJhLzHG1sS7+W9IBym8RDdwI1e1pBB/TpM6So6B4Kb4RQ26TQobn+W8av\r\nA6OYbhZU+y1evWJd6/vO4iVj9cW9ilgbmwRvQoBRfT+Z5YQVrEtoMYdAnzG6\r\npp+cTXiMlKUlMWdXSBZDbCpMLadv1A5j8KSeKmZ70QGj0sxwCBkt5L42hWkW\r\nCk2lAacbleoRM9wFD1gjBAlHsWjBoPvoubf8NHSemRi8ekM9KdwSMEjWqSB+\r\nV7MhDWJKh/mkw59T6y+L1WtSV0ABGDpPocs=\r\n=oCas\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.242_1662507503408_0.09342647597144516"},"_hasShrinkwrap":false},"0.7.3-nightly.243":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.243","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.243](https://img.shields.io/badge/version-v0.7.3--nightly.243-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1847b2f737ede0ebc672bd9aec4279a2c612365e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.243","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-xl4wIvuYdrHIWzfeS6ZKxeg0WS5EhW2MqBIiZSE5yosCAqG8aIkCP2nAxgg/BvZjYRWbt15PfkAcaJYf7Ent6Q==","shasum":"771a7af61ca2bc5f64f332880bd08eb7214887ef","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.243.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQ4iVMWt6tu2f1YjWdrpFeU3wRVpd4Oib5Vq+HhpuE1AiEAh9ynt1khjkBJrfno2kplRCEnVm9MyE8RrAXl6wkpQCM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGSveACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIgA/+KsIivojVTkpP0rYjuOSJJQUG2UWNaZd5YT5lvv04FRvihhRn\r\n9Sq4J9w5E7W9aml6S/5V/MtKDqtwUbfdZ0vhS+ikAUZTpKXLGcb8LHy8+9Ep\r\nQUk36KkSPI6zAU4jfvMDMPRd1Q4x/D3vk+LS3ikQRXthmPmXIA+1MWkvDyp0\r\nZfF1LA4ZAuJUp1w/JNpLjz5ARhzLL1H4QlMtbAItaDtF0MissC/nMweT03lv\r\ng9e80otkl34fmhC9yjvdY6V8f5N6fx57zqKukyXmjaJT/teC/g9h/rUT7+6D\r\nW2Ec+9V2lE7L+K9HWFQwO+O7rZPDTg2W5lKDgmePHHlh9v3tjN7n1zoxeEF7\r\nrw7+c7+/8JnQWRG0FpuZBu3+kcAD6NzVi9b5SmzghmfPD4er0ObcnaDpoeam\r\npXwjyOg34i+gsqKBSpXXrnt2ow2BLLRaozic25KUXoMod7a1SyMxOzzUWwf1\r\ndqnQ8iRZdXaL+mNIHKanGFHqifEf/ZwvpPp7OzhrJmK3E7+Ht66TDvOtbyDj\r\nPfjnlsMfHtXM618syx85hBg3UpK17jDoXOGkMY9a8lwuv0FtFcenZAt8FN04\r\nsJ3vKq53ygkXIX3z9ekU+TRgVvuf+5enUi3KRJeUWIOQWaZYlUkdf/pAMXeO\r\nawLErHw8gaFIDTnjS8Mg3gqtywK6qI8u4L8=\r\n=IUlR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.243_1662594013983_0.06470337552083971"},"_hasShrinkwrap":false},"0.7.3-nightly.244":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.244","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.244](https://img.shields.io/badge/version-v0.7.3--nightly.244-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0da8baad0ee5d121bef8ad9a99d66770acb809aa","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.244","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ppxpziTFcut36mRulZNwr25aLrIM2PoCg5R3r16UpLlkjop8gWIQrmGEXeqM1yjXdrz0sLwS3+e58c5RDHEkmQ==","shasum":"9b66b42acc50e141ca4e294023064326a15b4c36","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.244.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv3Hi2Lg9PDXiIMeB8t+x4kHbkkjfH2kvZmM7dAHnfMgIgQvNKxZagWWh3l3HvBBAYyLTPq0JUYWgpIGkDhl7Fh8k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGn0hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojBA//RRVcon6vg/6ny+K7WO/AzODkLisyO76Wrsn9eO+g2aOzlSX3\r\nIg91UeJO8x2zpWPZXEFBEVJvOvWkXbInNkphHgvyyQsHZZLoeqqsiXDBJH57\r\nkjYRdEOstq/MuvSPRAGyi6K5qXQEEtbfWWZ/zoyvqvaHQnv5ApvWwPhBOqbO\r\nkl5XwnF4TO89UiPAn53kU5bFoasauWuhvYsLRLCZSfWthCoLkSdUSiW00ZPA\r\nfOtTKNCr9VwN0Jn3cOHFJ/drGeluHT2wW2FYPOy/5X6QKX+5HX7NelKTH0Kk\r\nGktECh4FMtFvh43K8fbe7NJ1oJVegsJT6UlB1SzldPJQdBf1d1HbzEys9jUD\r\nIFKAIin2LpdymCv24a3Z0pwMeeo9dd3YST07W7K/li2yO6ojifVge4eBv+7k\r\nFb3JiYGVQ2KAxXLUhoFrzX8omC7IHcMHc+0/DSKx5r+wk1gjQK+Y6+xoRhqI\r\npsfCgAn5Rn7xE6Wv8Kp4jPK74/LxWvH6RbfBjUL/qyfn0LTfpo7l68krjvHL\r\nIEjjuJ45WRGrlDJVr6S+eqFer9z+vNbSoy6EIWVaKH3fHwvO+Pjg33HShqpT\r\nno35Gf+YvdEg6tJKL9uoTkReF3cxwS1f0BdUtA/ZIpUJffHHKb99O5UVBvu0\r\nbNTDmJZGt6J0sNBi8TwddrHMzvWYLNhTvgg=\r\n=q2Ii\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.244_1662680353279_0.06670851700795466"},"_hasShrinkwrap":false},"0.7.3-nightly.245":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.245","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.245](https://img.shields.io/badge/version-v0.7.3--nightly.245-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"def961b5d08570becc4f9ab0a3f7bd061222c96a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.245","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-PbHsVT/HxbL94fvHchKyY9zwUnw09o31bdZTS2fPlNsW5ZlaRPUIAbFubiZOc10zKZR7NFLjoGWGjbKepD/6IQ==","shasum":"95774632de1a2c584fcb7ee6b68d0d3f990bbaf6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.245.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQn+fcdC4UAz95QSm2TMVMvigRASnuOUvlvZmN4yJAfgIgYSiPQNwdJOfyajR79EgGqzHkj9LI5OqeYe14AdU6YY4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG86mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6Ig/+JOkJaKBZ9XpeVfwM7pbBlDN/+UxFpxqO7UV6mDAUdLfpdC3R\r\nvUMeXO2UNqgo0U8JVNRqfBmL0OcSAPWVxvsODIJkxfPJSZOlYFo14hDL+hnj\r\n2xUWxzJBQJoBcLmF50jS2U4Qx3N+eqDpPmayOdSOhQz7I99SIIPRlJmDlmqq\r\nt891pQk0aA+L2otMOaK5/YmXstL61UcA+VHnbSWU3L/VOrtVBS/E3hSJhIhi\r\nDsqgeewEJlFE/eicw72bbUpAXC8LNaVy1xXIPma33AJimXbJ1F4LPVcixiaP\r\nihLk0JiF1otHgK6LluPxdpgWC1kiMPzqNjOweOD5zaNkOSP5SXr88/W62bxQ\r\nXMpGeJTpPgUAK8ob8aR1QGkrdV5F2H2x+lEHnlT+/ApByH5tSFso64ks6G8a\r\n9KBXoEOndsTsp+rdFWcob7fD00l9fCPjz8N4rTvATqfLDThxpPmdo7bddfZT\r\noQYHZwtUMiY7SNGcV4oT+8Vc1XIma5EtgsxNG3MgasFkWlQKUMiJUK2pfgFK\r\nWdeesXk/42K+xzWpq/cIYPcYwib+MUQpbfMZCNGWIzAHoM5K32vaH0At2tVb\r\nGpuWSpex+dnPg1GZ5otZhO74oO1I+mS+dZremZPtVSFUym5wx7fKxlwXKR13\r\n7k8WzwIIw+F+OAT/qS2jy5jKI7trN8W7BYw=\r\n=/NTf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.245_1662766758559_0.2962980314860384"},"_hasShrinkwrap":false},"0.7.3-nightly.246":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.246","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.246](https://img.shields.io/badge/version-v0.7.3--nightly.246-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"346f873b3619094aed748cc1c6456e3a71579b92","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.246","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-qBvSYEiQDL6ndJlCaqorNsFS3VipOIGbTWF1MwtDJoiI/O+t/8SwrgB5D+66vSaQifry30iJSHSpwHqZv2/h3A==","shasum":"d0b31a706bea9501398c80da309470b98be37e8f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.246.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjKzDMbmE0z3ce5/MM1ignNPwEcCoU5piZC+9kfwQuiAiEAkftIf0StQuAMKohrQOj8eC2SAsOFsHlvvuPca/Ie/vw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHR/NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqElw//Y7VqZpkWBkTT8IsZYhI9/SUkQZt+5f9joQspBKIQff++v7JI\r\nlYyWOinSo64dj7LmNmFlGyqw/f/Ya/cHiHwzyr9guDiGjkon5wN322FQUPaM\r\n11B07h5E/bbRgKeHkMS8CTn9bW6f58ddQJmQYbDWTzOfdEQV0mxH2fjOjiej\r\nCA+jKo6yljOiPxvas3Igfk0envCq/VLSQG4oQWTQYXF7YtpSPNIbyFq7dLxk\r\nGqlQTQl6XjSjNcT/fX4x+GvvnwROJ27hQEUdn8OYXGN8oB5SuFeht8zyLxXL\r\nauChyA5fQ0VfkHRFJ96/Iz+EtFNDoqV/eecD3PhhRkXqSfq9zb1KHRtCiRX2\r\npdyQXzksCetFR0ZFJW1yrB1wI0NMgM60R8VYLGLBQ+0C5AbfkCzrVGA6aLXq\r\nXd4xvKToMYAnMxDTr5BuB1D/bKtoHtivgPif/1OsPvdkvnDznJoliL0WQcvr\r\nu3iWJ9+ZmxTfT6W9EK+RAH3i65ZGlSTbFSNU2aRBxOcjR9GU6IjjCJoK+/Pa\r\nCHo4PP5RsDq4gTO47LzXcAkdV9t8a+MMScPrOKhSJP03/YjgwCwyJapFeNgh\r\nNslKE6DUbUG1xnRVLaod3Q4SuveVFdZM9sN2ktj0X0LVfLWT04xFycA2FBU2\r\nldji4XnhwJHMx14m4Hr0QyHV4wF/aISfkW4=\r\n=U1ok\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.246_1662853069682_0.37669949510946243"},"_hasShrinkwrap":false},"0.7.3-nightly.247":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.247","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.247](https://img.shields.io/badge/version-v0.7.3--nightly.247-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0150878265ee017cd5d94c6334f5fa78ab8ddd53","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.247","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2wJ7tjc2RyTZ0d3GPhZxLdB7epaKk3aG1rMBnEADSiSnug0h1D1Q1+hu9CnbIbsCqrO1zAXqjVzn8T/YhUU4bA==","shasum":"bea4d6beae7ebe46cb5302aec7cc6ea8e6fd2e11","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.247.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICPZb6hJtHy7jte3PHjJxaP+cCR96Yo5bjQTTNiuzLoOAiBU31fqt45IbrmKy7h60CzMzSocJahXYLCNYdgE4IRCZQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHnFrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmroLRAAkAc8p5slBZILW3atLBUnBVAsIdbV4WVh8OY2jtXKyaW5f1Ot\r\nbzVQbknL4nIZzlyx1Ih/k4oAGPNAmqfmQYfkfGd4i4BQOKpwWfSQ5c+yoCXV\r\nD2aVUD4T5sx1ztzwRoQMn+Ee7r3kVsQgHYH0VP4rwBBs3dFNIb4c6KKFXcZc\r\nrU93hU67sf6Ow49HpgqDeDAXICW1QFk3v43dg+AyZGLKVz42dk/U6JC8LQow\r\nGESiX2XvIG5sTgMpri6NQ8e5XGh+nCyDQhuFq0nU9yC/jKRFVmEsWJI1Ocem\r\nFnMP8FFsHoct+kjTkQqn5mit/egZiY0IMYf6/gOJWbLhvXDSEJBmea4HyzYP\r\nj4B4qQeWhifBmTB2qLSV13945s7Ll0wywF2HD33oVvV0PHeN1umSx1rcpbzY\r\ngMeqY/j05XYiePJMI6n8syBHaGPEwHExPP/njoHKdAq0DKIaxCX/62LBYSV2\r\n3VTmUxXtnXyGI9kBMR2aHjXICvYciUG98XuELvNmSny5nWL9k9HvVze09VrJ\r\nUk8oy/7qzOQIq78jmYrw3GRxiPJkxJrMHEWSlizrl3hTwgw9HUzR88YraxeD\r\nlAqf37Y7hPUal0b2XieXmd87OQEetR73COb1I2NNK+fOiV4uH1G12c5BCxOt\r\nFJ/cBGERX9TvyfBAKL0uGyw/gjWC1mH1kgQ=\r\n=1UtZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.247_1662939498973_0.9795692272154839"},"_hasShrinkwrap":false},"0.7.3-nightly.248":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.248","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.248](https://img.shields.io/badge/version-v0.7.3--nightly.248-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4381f74095c0545f7f80fc0e906b30095b71efd3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.248","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-AUUVbSFBTqSXPnhEkaea3Psb5vHOCY2XiLDifyzNJwLFQuvlO91efZTB/pFNZGZlaghesZYBXayayIpODoemBg==","shasum":"f2d15efcec1e0e55ca8b9dd2079ab3c043436097","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.248.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2CYVmWlaAweEyZHWqSCBYVbjnQFsy/AWmtwDeLMCDgQIgTcaGPdXdWmQcz9dLFr3RmwIKT+44yzM/GjwRjLGl/RU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH8MrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFthAAmNQnV0LveV5Q7N1U1qtAvSOIIMIB1MNy+bhBgDraKVt4WZSt\r\nZGJ4yo8O2WsX6qtZbYBjzTiH6uBHzjAQyAWPAcxJyUTKXH2w4iflXzt1qOTh\r\n5FD9DuiMQHA+op7UVBJQnctPjZRhafjqyvh+o866QvgdZzJ5DOdLOf7jB9af\r\nFSL3FvuZX5Gw+bJTjEWITbqnj8qK9UnmUQVJAb4PymmjbegVzl91FFcnk+3I\r\nMD60nehUd1pvKe5ede0xQITqszmpBBdsEkrVKRpf4Xiunu3ke8h4+a3wMm/+\r\nkVwJgHZkUGhpbIfJr/XgtOuFUY0cVJb02KE3GuVmsDYMRrEGHz9IrY9PvQ9r\r\nTixr4TYmB0NfrZ3EgoG0jbmaL/tl/b+T3tdG1K2FOZkIpTgxgCHxUK7BtiBl\r\nxKQNofVqvObGe98M4XWasQYt3K4BNzXhSWSpyrlzjGHo9iJ14xq6XZ4rEgv0\r\nuI+UyO1GhK7tuMbmx+TMpuYAfw9EGfaJ8zP5J13A7AFaztvhBxE3OBdliwOF\r\nADmyL678ktOWFqLwnmEOYGBfK3Mh9W42wMvb5a6OyV4O+TrLWgZx9bjL9KNU\r\n217inZ9olbkn21ICAHs9+GhmZsM42GFUFsewPDYtOX8BHrk8qUGDzd1ESnXc\r\naeeYW02RMdX0Zv8I3sx7B/lYKrfZeeDh2/A=\r\n=UytI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.248_1663025963528_0.9900190175706516"},"_hasShrinkwrap":false},"0.7.3-nightly.249":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.249","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.249](https://img.shields.io/badge/version-v0.7.3--nightly.249-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e712547c858064e8e2a48d2f11781bf5071a1c26","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.249","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-H1c2hTkoKGttYgoaUwMN3DKy42FhHwD0Hjv2vez7h2r+LZqkpJVmRl3XjOJIxMK7Uwf/t40H/RqbMmuj5WqJXQ==","shasum":"8babfd3e9de6555e0db0930015f98e7293e9ca6f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.249.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxH3GRlxoT0dzauPkoNe5fHqJ+UHrYc5kg55z2HQZDAAiEA7ceh9Xgtv+qDwF03836ueuyczUbPQP1WQdvWaMc8Eg8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIRSjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoy6A//fukb16qRe9eVtKxIm0C886R3FF4rc5Ib9uM0Ov8GDRMcKl7X\r\nFogsib1TjftPLovvSzqXoNEcyv25qI1u/kmi2OcYEvvp0VKGeiPVeyGcxAiI\r\nqp+VojHBIx6CjECa9B+duxs0wHOUO4cDh8k8SS8p5pklv1JHFHpw4vBAhqp2\r\nUGIrLdfMMfcY4UfataRE3nEMY4ebssAnqeIWdKlMl+dTVGQYbE/j1dQzmJwR\r\nPlFmDOFEg101fGLYHwPiLzFpsSZXryBBa0YNz8qtqA/tTli8ysD46M6p21Wc\r\nslh1hy33UyLQxIjjAsjP8FP88zSvWLPWJAL1MAPVUcS15c9Ln212NcYgoWAC\r\n82FO/Uodsb5tEXfvbAPiOX04SSJK/qfUQcR9iY6maMSU5ZxWbuUYkRXR/Tmb\r\nnBcCsCnIDQh4NYKLPN0vFvlRG1WynzEWkfPwdymUy88zR5Ia4vngF1g/6LUj\r\nPUcZDd3JNsKzpxQ0Mkxk8MVqu41KfDjg/SAOrQbHkPyPhh9ALp22SVzAVEP+\r\n71aOjRlS+/DDIceNR1c7Uk/vff61SyIsndcY6End8NTpEqNSKlIUpOBkm1rj\r\ntG+/tLyHqgbdIGKNk2M/5P8fPRjXltan/AAkATyO7tIJR4ETFby7xgMpw+hc\r\nBdNggqyGMdjVzUXxF6R2Y0hdnW/Ex3xLWKU=\r\n=dszh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.249_1663112354879_0.30003614794858535"},"_hasShrinkwrap":false},"0.7.3-nightly.250":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.250","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.250](https://img.shields.io/badge/version-v0.7.3--nightly.250-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3d2bbedf49e246bbaa13472f882597d22034a0bc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.250","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-kDJsa/D1eE00MBbqfJHn+YwaRQhLZsDe3Kq4nis89Lb1uUmeGz+UDAP7dDGGXBYWaTJcVnBC1XH1SK80nisL7w==","shasum":"1f411599c9a5d67bc69f60c2150dd67b971f1ce3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.250.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEXN9EpcqB9BjSrf1AcKQzK1krH2qgNBUU4Bmbsx+P9AIhAJs1o8uWVWvUttl3qJt6SNWZywZbiJEzHOH93/c0mGcR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjImXsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9Kw/8DFq3kg8vPKg/bfW4uzizXmvNuWCi3zqJIakgseYqCwdMSgUK\r\n1E5o7oKLb9ihh6vvJmBOnqfIBhbVEuQmRbKc7gl3OBl9xO4tpRjW73VoC33O\r\ncYcuRUDAehnlhP91ftEnv7nsvdETtCVdXKAF7VdHBQBNhY4A0J3A9N8HyJZg\r\nSD3ZWnFIEUTBxLrjR2RmlBSX1LfA5ShluvlOaqqE0xI2yCVcMvP9SRzrbLmW\r\nNZIKKcXco3dghVFWCUfrEHQEUHg5QQSTXW5Y6W0hr+k6T9Z4GjYxuUd+Qqja\r\n3DvrepLwAPxYjOk8PLx8ZXEsPtN9/aN0cyEwe/QRn11CrCG573qmOZSXIHMX\r\nZ0gHOaR6gNsWD20IoEPydG2jB7yHKIQQA1WWPiAYyRPxNmB8rTY/pBe5FnDu\r\nxnlZp0sOnQcZTvAKvhhM/tB95xUmBF1FkB+9VtgX5mj0iUnaXn9K56PqXwk0\r\nV373AbuZ0XJ1xwhucHASp+JMM2lsaAd2u9IbnMHp5VcAa1lq+VZiJU7ymDXu\r\nZY8CStG8zGTuNHo590Y4g5y0oyefIBI8lFeiHYCXkflKC/r0rJ5ro578JzGJ\r\n/emKZvB/8ZBiAaYbVSlI3umyJ8oCm1zpavfPys1VQ+5tiz8R2R8nCOM95p2w\r\nvT0Yx5AdNDYCcJy1NXU2yA/zUG4qYcHBjZU=\r\n=QIl3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.250_1663198700160_0.13844936683256326"},"_hasShrinkwrap":false},"0.7.3-nightly.251":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.251","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.251](https://img.shields.io/badge/version-v0.7.3--nightly.251-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5449f7d99b6916db8d01a15147d054eba84f7312","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.251","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-UazstTc62rCTci6xCP/8hc8iGK0rQzsXxFPG2xzGvf5kMkf9KPmQjjl1HWkLqF3JhVQICOxm9C4Xt506ujrUXA==","shasum":"3647dd01e7e4ed3787f09cbe6452b22399e5c6a8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.251.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk0Cj3QgbFuordM+wqmLlyZ5ITEJXWMhMZemkHHSWAdAiBR06U7f5sa9sUaPMiB/2w25ApUVNYJPihHn0chBZyhQg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjI7fGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrF/g/+LWLefoRRjD1EqQeuLGS0nsfCYxKVCG9/jXP8CVENLyZiXZfZ\r\nZczWIesPlmyiahdvsxR2pS1kJp1LrjLClXAMLxijv/jv/63mnVkux/90wZIh\r\niG/G3gkEhHuRfMuVkf/F1C9Aoa+u2qdOzHITNv96SGj50dcYA6C4w1dHfLGm\r\nsgIlah1YWVgVrUDMm+c3XYv0kHNqF27HUo4IpvajWJRd3mi30wMcSvs85A7I\r\nMht8JRPGEmbrEj0zb8hzh4mDUWtieWTdRC29mmCCE2JmZmOSW6UaT05HyP8u\r\n/aXJ7+9zddtc2Thri06V1f6jA4z5cdNG1jBsqT+sSk78j/pOrVF6x3wihblC\r\ndSJEIfV6dkr+4kIKgFvvaPSo/a7QGAKXfC6K9SdACDruPxWUwzMe/ems80+l\r\n0uPZH3mgRlCMbxR9x0bLAwkk2V8Um3vSGsyqI+xNMeQVa4+GIjHtMWsx8C76\r\ncRZuh81O9maQb248JJt+oAkP/Oh7DQKH7FR5u+E9h3/R5+IrwQgGH66kT6Ib\r\nHAjujPIppiYBRW6wx2Tw8el4sUFYOJKrWm/9m/hIzwK4AjQxMWv0vr1tclHq\r\njTKrl2QWiLiUvlQ6K8zhuctQvNB2adIcSdayD7wsFKiAqaKQLs1DadtfvL3s\r\nhMGsfLXOZJSTU+IQB5YoA4d4jUJWVQACXpk=\r\n=IF9q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.251_1663285190225_0.9008059032689941"},"_hasShrinkwrap":false},"0.7.3-nightly.252":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.252","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.252](https://img.shields.io/badge/version-v0.7.3--nightly.252-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"862b5cf7549892a8c4b67f7d6721bf16348c9f17","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.252","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-xdU1SwiZadmYEMM9ACbaS0aMgTcwy3URL9leJvWiS2+zRYDVUM9wy+UF/wG2sfYMwpORHzoBTSVRqbMvU7TYjQ==","shasum":"3215a7a2c67c349b642bf9b877e6795e306aac39","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.252.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFujDIo3W5OkoKMkmhSxgEU3ugcqT00uxwmIJtxfqcwfAiBhEdAO75YZ2Wdngd2Ihxm29VZJvq4nKHXLcnZj7uyFHQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJQkUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosvQ/9HYdKVcG4tsvFSYKNc8dd8LeE0t9BrZHdWFGuCNHlOsCFX/jv\r\nK5Hh16t7fvXsRyO4TYpEz4/n3IBXIZd1uMPRkr3XkUiTNh/XKGBu+ZySeptA\r\nSpe/AArvVIv+oAFTfpjjcUtFc9vviqmc6CYTtRXv5+rFceFG/JOUZunAMws3\r\nLRjdFddj7CVd8w5vr1hJ7cryCNSamUsh3BF+8usQDFBAwPOJlQsrCL2fcsEg\r\nE0l4fFp1FcqBTJ4uINjSAfkl1EvQaMp6l81W9ix3XUrkfAs8QclU5bsMGicC\r\nDCqT3X8363R4Xfbvm40nwzgvFNbM2GFYzIy6hkFH+9266W4csS6uAZku/vw5\r\nVevtJ483bC4jIqEQe1RO3oDc9OMozbB5j5jd6L05eWfMj7WrNch8HUAOEUPD\r\nLIjoFUobaHCw/ViA+XxYIvWqywI1LFIZm3gJfyongJtfFvU7GEebWWvzeE9h\r\nbxqV8s3XCQ75V0tvuV037+xKAr4OqptszfibCBF6he2tcsnO/gLZsC0pNiCR\r\npqsrHXhZ7GvA+6Ly6iZ7lpPZlDDFUEJp6B+kxheK0eIl6n0DuLKtoHj/cRwu\r\npXqL3UUSFkuwSH3GuLJJXLVry19i8YrGcSkOccz1FMLI7cjxQ4HJpNkozCO3\r\nV7AikRKWcRDuIQ16oa9y+GG2Uj5jPDZ145Q=\r\n=LIwd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.252_1663371540698_0.031695545448779505"},"_hasShrinkwrap":false},"0.7.3-nightly.253":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.253","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.253](https://img.shields.io/badge/version-v0.7.3--nightly.253-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"73eb12a3c93a61b1aa08afb8c35b8fa1609f1f80","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.253","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-O66/0eF4GgKzH3ScSAA8t0c+mqjBRBkJZXyBK8riOy8DGyUaPw3rXY8Xd5VT550toDmG5FnrhC3dSu1VHEOI/Q==","shasum":"87898945658809f33f806f3114ab289af71665e0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.253.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzILWFsSaIUNdUX28BxLDqRaa2oLScf38Xy08buo7aRAiBcIuMGEmjqlFgNUWbfxm+fwhDLZyR6B/GWRR8FmWyO9Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJlpgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQLQ//YIRFisG8qKbfY27XmGc6K821RkAGsmsng+476Kl/+ZLE1Nj4\r\nEiwIbv4orLRCZWcwCdQYwFbvseTefXmEdf505T6bDxWFSD4pealuRrJ+us6T\r\n4kMS5XefefE6ynn9V70NGEdOT+pkisU2vK66fVqDT+y88hs3CbzpqUHKO1Yf\r\nBqA7gNPxUnhBEjn/vEEYuXrED24MckoolQ6VXzmHlyAAsurgPauEv2k0DK0j\r\nzxrVTQ1K6nSeXwRRULAJ/BkBSl/GJSJ3d6vwiY70GkVyOWD1jm+Wl+bUQDPf\r\nHgVXEzhpD+WwHM0bw0/D8fuq8A5EVcbZEq3kigO0c8/y/yfGd4dC9pgOXAor\r\n4M2VfOKxNnlbeO8MAH6/3lUnYAhISU7V8fRNoEdMaj7zmm90cO7O1D6beQI/\r\ntSNOalXINk8N9TNOthZwpEfmAF9r0L0OpS8tCm0PyUNrC69ucX5S7x4LnM0y\r\n6bsZXUMzhxquUlMOU0xXsuQ1KN4jlIoFyr3UiScEod4Z5RUytp8508EhBRsp\r\ncW5GYrlsc4HQEM92hgxmDxlv44h8CHff1jrlSohC1lUYVjd/CpWtXZSnxwkp\r\nWycaxTz4xHnnlyR7gInm9PPVLg0UdYAYXm8s1kk1HIyP0KQgyWvXeDlSdK9t\r\nxy92yraa32GRXgw5dyRty8X1nKW6Wmvrzbo=\r\n=7rlw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.253_1663457888092_0.6442722699784773"},"_hasShrinkwrap":false},"0.7.3-nightly.254":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.254","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.254](https://img.shields.io/badge/version-v0.7.3--nightly.254-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a7d94a2208e8f3de5bc354d4ef5ab3cd190f4cac","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.254","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-I1tRqBhq8bn8OlxKghQAJsnQ4qVeUyws8vxHoEmzUiXSINkfAA1QCxxQt1qZ65irB7cNErtBgYBEN6Rt1JhyFg==","shasum":"e0ede1ef3eb045944f6b5d3724b636a5ac5d2bcf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.254.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqxPusXGTI3MsAq0Wy/WuryrxKPXyUyI2Vv7JjiH5jQAiEAyP7NnS2FiR/a+P7b036UOMKWko+6iHD5PPjB7K696eU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ6v2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokCA//ZtGY3ccD5feB2zHrViVKXRY7q+4Ce+CsaFtw4k/SSRTqMexV\r\nvhciuJt1mBM+dIX7blXzRj+AAItSD8YAlitte3D73GWakEkuwi+g4EuPzu73\r\ntbW0M3Xh5En1h0bd92LW6q5ycB8MDV2mg/1zT+mwhQecFpxzG97c2q+zfHBn\r\nq3+jCq+4ZQtt6jazukisCgSNTU1Jn26QZUe5FVF5HLbG4H7DhRetK2DCh+hw\r\nwQbSsQ4V/dlATY2uKUr4SrZohn28haY+55Vkxx49iFDEF9GOuK8KMfs5t2XQ\r\nUn4mDXOQy2RjDOUqHyvvkPD+MVIwCqO1j/qRE3Sw672WUSRJ/v9457eOP8yV\r\nWtQZ9zBHHCh+KNZNLJ/Xxc5FblmjoQYQqieTeUPA5R46n7SXPnBQYK1NYw5w\r\nEDL4cJpM4b2+Ts3mbpbsrDHrToJOanFsYrfIn3/sUTKUn2s37Cf4mtZLZo7e\r\n3UGLQlcI4EExQtlO5AD0nseByF6LnmNP+9ZRnQsVbg8vSLNyteNw//vXmvxS\r\n6w0svJn85IRBZBD83N+Qwyq2HxXnD/JxcMBFINArU/rJiNpYtFqQV6scTvUi\r\nJ/gOmplma2HVzGXtORgWIMLB8Q5vvjRfgbeWeoM3mtRyg/CipODwpecGQYZn\r\npE7kSUgCc0vnJTuWPduZ1HREyr3tpQNqvWE=\r\n=3TJl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.254_1663544310531_0.9604903656553756"},"_hasShrinkwrap":false},"0.7.3-nightly.255":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.255","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.255](https://img.shields.io/badge/version-v0.7.3--nightly.255-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e72aa8e7006ca917ba4c32108a306f0fdd05c5c8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.255","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-wsPHLb7TX5uEze3eYmH6f4y2A9yeZyoFIbtUl0EBj8JLM2VX/x8sN5PQx4xYq6Zoa8tdCniaHR3zddjuPn+R9Q==","shasum":"c2907fc3fa0fa00d2b01748542c124799c85b5ce","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.255.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHuAXtVrOLRpFzg63+NxPM+2igUld0nC2pgUTk3a3R6aAiAVdx0LA0v5mvVELpVD21hOzInuZgOayOC7eBwSg285AQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKP4UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDoA//RVIYcCxz4Cxw5Dgj6Sk1xaByOHmYGGQWS5GDmPDzxBR7eHn+\r\nCLt6OVejv/gex4ZFZkKZ2vAL0/s6YrWPB3NjR2/B4LZC3AZkakX7PeESdWrq\r\nusyROJ8DwHUkw0yImgtRuiNOrjPl3q0eoOiXl/RL/NG/OBAp1PlAXytAGqKl\r\nHfgxZvvtG30zikSD7RQj8zba13hd2vVAAsaARNn7D9FfvhKYDo3Nd4zrzr0S\r\nDtyHJy1QLSvTTC4ymuN9ilKySp8SMj2mDjF/15jQ+W37IVuWFqQgCb8DH/s7\r\n2hxeD5mASZff+FbuG+XZOWvEAx762WuOQ7QJuvgSjYPV0rmti1JhQp6YnDUu\r\n4EpvYj59CxyaOangPEP87xxUh1z24w4m9auUP9PyIbQ1ljT7pdW6ickEan5M\r\nU6Nco++qdWDte8mnZUe74oybPYoULGq/79muDzPt34eDm8nl9UttYtyPiCUb\r\n5ruosYsP8M4gIugDpuuZUEek8GjGGOeOkVwyQeSK0iEE9gTcR5BLrp9AsqLG\r\nb+lGEmZrGvYwAh2o9Rr31mUa06SGc+3U/hcPtjvC1Zmqzi3YiGJLCiwLanGp\r\n9drey1R4fuHxcjN/jD6K7NzphhynKkX6TM/JSfjbBylFOXNxiMT41WGDvNJv\r\nGXXD4qaeaWtdIbu8ptGXGQaixs7mawzcaUY=\r\n=CoQC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.255_1663630868046_0.41473617367194193"},"_hasShrinkwrap":false},"0.7.3-nightly.256":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.256","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.256](https://img.shields.io/badge/version-v0.7.3--nightly.256-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"25972833922be6d673977658d165fe13beba769a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.256","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-H3Dt1uZ0xu6yMukXlz2y8IC22Xvlxmn4bl4EJ//CK4aoJOQoiTfKR7/NBBTAqb59J9X1I2vNRUTUmZdwSg4big==","shasum":"db992fcc65f7d25331694b6bc324980620db99a2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.256.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZxkUNCeLJhkl9H6IerUZokLkK0+7yQKVEs/RZ+cMDQAIgL0NQwItc6SuS22goDoFtvAsmOkYgKt+uQgwrbJpvyYY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKk9jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr47w//cmWdTTwW+PUhhSWGhEQhK9EDsCcM2wudG2uwyzKwLMj9VpZO\r\n2IiPxrCq+YF1Y/sBX5V9CVeon64wh+S+pV4tJCMLQdXV5kVfvAchlQVMuoyd\r\n4UGCU1qT9mmrmdgAnBrx0D/NbT+n8A214n2WAnCnvqa5Od7aNBvlVMphLJ2W\r\nL1qHgXUSYUwR35rI751n7XXzpp91Zxlc668yX/cF+CnClDUJUoxdcmDm+b6Q\r\nhvBBFfjn/vpsWr1iAMSFh48cN7VfiMRJdc/PFjBZvl8P3TR8uo3OuyEY8TbA\r\njBXjxK5q7cDqdJ9p2iOaWxLnz89zO58JxR+zW+sH1tYSyMJPmdu2o9C7KQae\r\nkL9I0TUgF4xWJYsPhZ1Ht2U5WhsuiiacysDS8txvdmZZMpWwQZ6hPpidbqDt\r\nhgAA22hQfT/Pt8n2cnlN4EfQkUUIm38uaod5KtVABhMF725rhTPt+agdG8I+\r\nwP6YXKT/R+zRrnkWfy/56DT9xhWN6deXbveX7wErPHhSs10g9WTBKMITzUXW\r\nPRPaHEiffH0uQXzjfQnaOdETIVwhtfNFeOi1U8fQbPHA5sLPDczR7WspzQuG\r\nGGwtPvmNvzLhoHAez+H0nykNh0Zxb/cEWYPXqMj0RgHNsBuzpBzU3zSy3ltO\r\nCpnrBDtx1gvJAX/3qoDyOVcZR4+KJBM7dUg=\r\n=Mb7V\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.256_1663717219267_0.4778279819552711"},"_hasShrinkwrap":false},"0.7.3-nightly.257":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.257","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.257](https://img.shields.io/badge/version-v0.7.3--nightly.257-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2f4669c7b63224b19d4000dd0e3b12f8cb5c2a8b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.257","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-FAHtWLF4TBU+1dxVRHCwA7TqcCWMThKCj8UxCcSuhCBWGRI0yfg5R+LkxUrgDWc+CGkGocBgukOUthcJMRuVmA==","shasum":"1a95369cd0d1f491f8529ca1e85545964f577f20","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.257.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHBlQWEPeCm3dFKN+78rG6hKPdOJF2jpsYqQfXwUCMPAiEAyJQr6y/eDPKkkP1apIfI76Fp1LnVSvqDQA3BVM04oeM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK6C2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/Mg//TeFCpFTdKuhz9LJkz6YoE+Dwsi6RHGYTYieG78oXm8OlJlia\r\no42sRwziz5TFOaT2jsE/9qT4LF+mlHHX4RVPu7me/dgPJAZwiqxLPdylsXmR\r\nGjkWsUok8GHjQ/InZfRT7G5PRr7T0bDkGiVgl8UNpKcdlQekXcRWbwdsbJ/T\r\nBrSOyvQdOIdsIyrVH8UySV5wOus7ZgR3okY06r6MUfSiygoq7vxiVVSHHxej\r\nyhVf0sXPgSr8As3tVKNLdDGWxo0v7WGZqdYWKXX+J2M8C+DVafOe1RgoZujD\r\nHUi+ASm7H9iej0zFSeMF9W8kPJLyJ8aMtS4ObL+jRirEw986ql4XgiV5lQ8d\r\niveJ7KyxC6klzC2wb+Fy/vmEELA65N2Iu44V2S4bSftPwV9CLRtaYhxiKRsJ\r\nYlNa3KqNz/D3rBEpEV0VC8Y3rTIMqVcAHzzeEN+HOdrlhZhAXtByvJyKv3UD\r\nENAUrLnJujdVDpZbD/w0Zt2LoxhqOiV55XBNFHKZ1hm8OYC8EGWKYm4s4KDv\r\nv+olRj3z4ylKR4XVMO5UrxFHGdNZcuG8MfM4vy+nOiP0kJc/Kh0NsJso8ABP\r\ncKf70aYft3s5u45ZKwpCBnKcGrqCEGxFu6aXPsVDDHcrf28tPfMVZjBS9UWm\r\niA1qS6cxj5O0kBdKAuy1rAX1SWSkzcy2KTc=\r\n=E5kA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.257_1663803573891_0.030088857341925568"},"_hasShrinkwrap":false},"0.7.3-nightly.258":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.258","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.258](https://img.shields.io/badge/version-v0.7.3--nightly.258-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c2a288c64c4f72c3269e2538f5d1df805cf74d08","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.258","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-zMfznqvDCAASqPvW18A5K8x1LmFVLEm/lWGPupbX0AxIwK8gsXofjFjU7ZxRCKCFLyFlBAuq9c5hB9201MPm5w==","shasum":"9b00655abe6f8d204c600e7e369ae6ec12475cbc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.258.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCftgc8OaO7eO+ldXN3ZVh0bDeqPIAXB3pv+jRqXc5psQIhANoeYq9ezokXSSG9yGP/OKm30aD6MrjRN3MQLC4vhy03"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLPIgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlGhAAhKp7VJGJiHimw2/O7ZnqkuTZlWQUwRbj7adMKE1a2Gnu0Ut0\r\nUCPaeoCRMhkkRWIVhXCVRN0flgsDuWIxe6ow4E8vXjPgIypebprkrBOSMLHp\r\nsEvHNWQv/Zs6TxfmMnm+AQAYZfzrnfbiTBb+yfAUxsv4m3bp3TYfqacTY0L/\r\nx38jxZCEph6epSyXEohM4gfCnCfW5gCha9U5T1VnSYupc2Qbv7YmIbbKg1FP\r\nfiIRJtqqPitv5K3JfrPszwMnO0chxcMEN9cpIFYIBYJm911/9mYHBVXNFKSf\r\nWh8g8RuK2/RkNmHl1yfG7Yk6EkVI1qeVKU3WtBDQN1HwlDx6sRLiURt7r/iX\r\nN71aVf/1+VqTOn7WEM3j9kHavEaBHC1JDY2mSVkgxnOOlh9gWndGBf30h+SO\r\neSKeiT7VwXSQZ4aEguBXJ366wgIpucPS3GCv7TLGp3CqCZUs9v+YuCZyWbWb\r\nQWWuPNVjH29XQlvvf6u/i6T7//OeSRFqGggcXk7jhrS4EgnC77QA0++ncLAP\r\nw8sSMAFSqBwgZJ6HrRzXENr0sWt6rLoOKpZmDOJjxim6MG0ptdLYaBaC8RQ2\r\njZakXgQj2E6TwUUvBR94FUdYePp1/xD5lZxh605B3RACS0RTZ9yl2AmJ9M9X\r\np1vLA9LUTTTbHCCmsPapBUXBWF2Oa4rqsLg=\r\n=0Fxu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.258_1663889952176_0.13554116971820118"},"_hasShrinkwrap":false},"0.7.3-nightly.259":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.259","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.259](https://img.shields.io/badge/version-v0.7.3--nightly.259-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"609530fc159e33f9e4436d20d616da996722905f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.259","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-LkFa3dcAX6ibMOQvdgETBVjxOLHDADYU1lz2N2+lx+jws49v2sw/hmO2BoT92vtYLNaUNtp/SSad8Gq/InTiCg==","shasum":"2b7c8ae143e881724e39df7088345f2ee880be83","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.259.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7SN0eD4bUY8Unxzb3i+l7+zQ8YPOjeqYf+uJAGP8l1gIhAI78qUbL1dD/8d6nNHoxjAU1Lq+63Wck7y0ckTq0W1Xn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLkPJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOBBAAkZqx2IeJVoul/bO/VIZ9H51WLVFeEg/0Oe2TMGVWoz1Go1Hv\r\nz2zOfLo4YdmPeker4qNdP+gOGWAxNp07SRVYVffkhKewcRY5WQGhRHTULTEw\r\n+lX5cUe4CPMH8V4dkhiHhND//J2kCQ/2QkK1CLAeDKtZJqt9rrPrTr/F4Nda\r\n7xsMTidfMqHQq+z5MWYaWdb/cuI6r5BjsQzegBxr/Qh22ZuswTCsFh2VA50H\r\nDWUbMZlSOu0Bwe05XrTn8BDY4PTJ5MXyJO5sxrjoKlx9ve08JRieZY2lsDtY\r\nmZE9zT+EB2vkGL31gE77dmV1moiXk7B9NfhjhJv6WgWbQatdKdSyaoRMWNiG\r\nA2Yvb90TlPu6Y7MgHRSRwNY12ikWv5G2mCiNfxEykldLGZh6KBoSnVFJhS5v\r\n9gLCnajiwVSu4lqSjryCKb8WxKnPXHz2i5uxs/lS6aQVRanuDaRdRC9MxofQ\r\nNCMpwlhJV2gORBJcPTpWNiaNaUOyD6OiyaOM1yD5mea1dyuoQNwDCXPyMWdL\r\ngAFZy0ZGWzM9cy0Aa42cDoa3QNrzo8Vqh3m3Y45H+uftnJI5N0UexBJ8dkI1\r\nCAtDJ89TtCClphtFlyh1xsn3xIEpyuqik8lCW4fLmoaDZQA1IKLia/reWHVV\r\nBd0VOWkM+Nt4W+3BRUWOn1tjCCKTPdqQgZw=\r\n=iGhc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.259_1663976393474_0.47364440238711625"},"_hasShrinkwrap":false},"0.7.3-nightly.260":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.260","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.260](https://img.shields.io/badge/version-v0.7.3--nightly.260-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0e51912c67795962469bfac042f8182a73094695","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.260","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-t9punuKxKGBJA8sgz3CJ+p85LIUT3Q+N6y6HTVJFBJAuHAWDZ8IWrWGY7Yt70M+BkB4/NrdqWvuuJzWaSpfqbA==","shasum":"cdb0fb690e68f0bd59186edde9fbd6e3bf2b37e4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.260.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAp3vBEyTN1/McHpKA4PCF93d8xAQfPCOhuIBUjN7RXCAiEA2EQnTqhQD8sAEBXrjRpTobnUiSqmZsa4kYOviSgarIA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjL5UZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCQA/9H7XVahDk8rpsbxofIUWgRJo4ZKYR9XyTlN2xDmjAO3SUAkO5\r\nYMG5+0pFQTR6ouOR8CFe7aE/8gE1f22HIQ3uOABBUPjTuRvoIY6n4FrEOJbz\r\nTnsBLgD9YxJL3Fg8QMeDaGOIJQ3YhZ9bit8loUKa27bclhegSs3oqm0URWKt\r\nEruvu1APKatux+ZS9b2p558P/hWp9+TEU4HwFLXM+mIFF3yTN9dRSqC58hzp\r\nYW2KjrFD48qLmg1cIM4M4UrZ/a/r05B9h3QnwRYA4L0J8pxuvFqceYdSY8d7\r\nnIy3DJZm3Kv3ZjMghOS/KwKeRtdNm2rVVXPpGGBGOqFxPwYH/w/CeWUCebnU\r\ngZkow7rYmxgALXu0cjCNv8AHzHStjM/Et1kSDjKKp+rA2LOTI0ydseEjsS2w\r\ncezdD91F5rA/clhZp8Ua230ekV4JlEUeLe5fpDR7Fc+4WCnhsKiUXAM7EJJJ\r\nuL5i6RoEgIO3mhrVr2cPE6E2ji/e8qeIbIy8/Fd1fqauezFCtJc0riEXlerS\r\nbOoU4tuRbHLSfIuH789uijI64cTnmNAy86UTltWwsk8Xg46MYAK9+N9FynC+\r\nwm9PVN1KOwBIzRYN9KUPUObtwIkfr8S8/mK1sOVRqq9RO1hOwZ3vNgSXyoAD\r\ntXlJYIZZc9MIT0RDk/J768BAGHxMP/sXTFs=\r\n=GA5t\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.260_1664062745257_0.5095605267802485"},"_hasShrinkwrap":false},"0.7.3-nightly.261":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.261","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.261](https://img.shields.io/badge/version-v0.7.3--nightly.261-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4eb631a30a24eedbc06bd8a94c94bbff058e40ea","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.261","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-NBT2KKJibmfNT9+8BAVUkK2EQ72KOlmh9KkwgPKQ+avjoNbF7KTqUdWN3n6fqqXi1OevAeVL/xQVTyHdVCUDYA==","shasum":"c9f1bef246a673d6083d1eeb346ced181554b3b8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.261.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt17WwEAzucq3fbWG+5SwGVbLDWNyLZtkmex81u3zCEgIhAJN+n8v0LK9SCT6Ip2HwqQiBxla5KgrqoXRLf6UF6/hA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMOauACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrc0A//T0+W5I9o6bIUUQgyJSOET16Y4Hp8NOUqs2Fc5SDobpE+q6zJ\r\nclySDpXJ05KnmyqeePcVUvfEDRuVS+Ojj3098j3iUBWnIJqMaJd5OIWO/N0s\r\nR3qhysf1BuoGN3MMUKZS81PC/I/t9XPSNU+KT75pfAaPBFtKtczCAVy0iKSb\r\nkCQFE6WVEncT9OMndDRiIyTurktDoU/Q90VB+gGL7eRZkTU42O/UbxsfgYbQ\r\n4oyIlQ4Km92I7Byy4MsfUNvWsGgglFVtrcAlypQ2L2764h8xp70MIAw00SJL\r\ndkDAA0TIJLDLbmWVCRGtmgt5cLQGwpliJrafWknBVnI7HivTDxo9hbm8SoY3\r\noMJncskePqWApu90CCJxIhavd23tVIvCAmxmsQbvp8rqONt1m1H/Y0QAqK8+\r\nIwCZjoxdaAH4q047Bo4VJ0PubNT6nFmBcvbCJSOP6cRaVPnccsO/jHv0l/z5\r\nR1uoi7haIJwDVkdj/T0kPNy5NFj1YQ69KS/MpNvDfjV+53RgGXMZFQj+b7QT\r\nGIuUsBzKhv8jgqK4OeaahLCMq9WJeWK9pZi88QSlu0Gv9EbA8E996xTryM3k\r\nvXHyyF9aCN87Rbotzwq7vjQjtV5Db+K3chA3j/1mN64nGWGWi4FALXi6r3kR\r\nJ+YcV3+LzmXqLxL6jzZgIaKeztbzH8NRZkM=\r\n=H1xf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.261_1664149165876_0.5837317501226005"},"_hasShrinkwrap":false},"0.7.3-nightly.262":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.262","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.262](https://img.shields.io/badge/version-v0.7.3--nightly.262-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7d717217abe7f60d09787eafc9c8c2fcf737c6c0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.262","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-LjlCeJcdo9YI1FIk4lEqQXFh5DQKFmdI3Pb1uU/ujy31M+ZGRE76IAIlo74Dp/KxoPzX0+nArYl2upKfj3GSSw==","shasum":"4df97b087f802a3ef382be40dd0ca9ae049b7df5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.262.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACxbwj8dDJCRL1VyQGx0I3HMRpj8VPtvdTh3wMhGLvjAiATxmnFL8Hiv2FQ6OhjT+xIXZwc9AxOlt0Ak9k647/DFg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMjjUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNYBAAk03KVHVc8CtoWYcjgPVy02ORFWOC+VtSqMym3RTAjTLuYNQD\r\nb5aRoZD9UMoeOqzeXuDAPTSSV+cWbdk5Ojkr4ubmtydSuve1HP805VaLQBbC\r\nf4/iGXKIsH4BZTCwe91CutCwuMpfF3txZojp0bzajckSdrYK1OrkUVpd0+33\r\nUkLxo7BQqpxqbgdnR7axF2cXtIkDyLVIxu1KgjMDIbDAuIkCsede6CS/I5ib\r\nE0AG0hmyVgVh9kvMJwtM6HV9avW0nqsdFAe8qqenrMAfObHCzZg7D4fokrwn\r\nzGlu7AMz/ZssEws+vidYxWutzImrcaBRZkoQs6xUE9BpOtFzuXPjxa195fgl\r\nNL8BpSHOTGbh/WjZ2Ooq9aMK9pXH3A3mc9AkgMFCT3QG3Iy9D5yDD4bGh+Ep\r\n2xGLOUoHYwvL4hcMqls9/pinIetUaYzXiWmvOFBg5BllAFgKXxv6P8Na06NL\r\njHgDqeQSo+KKZeuOZ+DSsIsoV3O53wbfJ/2SMNWRCZ3f7WCxh6tKDBnqodQk\r\nlna6uoyjuEToECvaKU3lTeqYQUSaYiQ5QyH2ayDJo3znoPOBgcMVvulMAhcl\r\nBvzBiPD5lJEhGWpM7hQSi7GiOAcElfC9kxY2uRuKIXtkJRsF5qIPO8Fl664j\r\n2unmCRE4Rw4a01G/6GrqehC/jxaL7TEUuIk=\r\n=2pgE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.262_1664235732494_0.40710883044034274"},"_hasShrinkwrap":false},"0.7.3-nightly.263":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.263","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.263](https://img.shields.io/badge/version-v0.7.3--nightly.263-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c2e9b18a626b382a8fb541073e28c3772cab2813","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.263","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-PCthR/oO2i1JftRZy12uPw7FWyNNaP9IN7dHVYy8y3VL5n8egY+yORrYFWsvpbaoEbuN/QXco97vRIu65dTC1A==","shasum":"362fb51134a9ad2af759f6e74c7e977874c9ddc8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.263.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMj56mXIZrFGMpnt1ODl6MrYKcAS7j1cTjpo3m1cDliAiEA+6Wc2F3XyUnrB24U08hsFiyPH0tqahB8E4VqLSDn7uY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjM4pfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPDw/+PGbjkY+++RKFAibiKNWvQv1uGbl6fKrf+103jsc7g6AyAkFj\r\nsB5jIUMpHradD8iQnYoQu6li8NcRAUdoP2K6UwgfDETPnYU0/BXrxvyoh3H/\r\nT76FVzUOfN0Cro3AzYXeMCNteniS6RNm6RTTIWFzLv0fGMWOQFuBeFUWeTJ/\r\n8tY3BJWY0eTr8Txvv6kQZH/yAR5/iHxCUkVXS3lVW9S0cvIJVktU0ppsAQ2i\r\nmQkgBCicHx7C63kRk/VgkXPYU3e2aEFd0aJMST9oA5BeZKghn3aZLehQrXa+\r\nNk/PLZC98NErcTvuEXM77c+L/yEto1+0Uk8Q58GfyZD6eyzQeOoaAcjf789C\r\n2jsQbTLW+9acL/J3sBbaUwyqPcoLVvgZAMYUfQ8AayCBZk51iQqgCZT4K+SK\r\nP9ubaQWF+aZPcXgdrSt53QUYbSEa7oaSwTWuMn0S9lOIag7NgrfEnbKlPSVJ\r\ndNwl2ez0VYZcagFJ9sAEoLGioykVFsAWDdTICZfx/n1Aqq2p3ij0twmEE73p\r\nF10qmkruQq+ctjEgbTvNeYcSdLoXCBvFe63OWci+j5dfZXmNM/5mamlIc4de\r\nv48qsAT2ivht9EzixB9miG2pJHyNkQ1vV28toDZQzzH/RgtvI7P4IEXYy7HK\r\nuIdbm6ULiRk7LpBBztDQu9t3zzWGdFqh4e8=\r\n=EjtH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.263_1664322143383_0.6565205456936039"},"_hasShrinkwrap":false},"0.7.3-nightly.264":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.264","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.264](https://img.shields.io/badge/version-v0.7.3--nightly.264-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"71c5b5855c9623d147ab801cbbd3d4d596845f91","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.264","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-xKpX5wWOeAPFhErhEN/PHX4m0YUDig8M9ZMR7UAU1uU+FFuG54rOPxrRIxTWe3PtwTU+MCKifZi65EbC8Qzx3w==","shasum":"d73408b0e29fd47cec2266f2618aac6bd1699231","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.264.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUyiEwgWbyxrkVJtczMxII/Z53Ylmd83TKcz+nFusYCgIgVGmwJFEekmrPFP88vBolf1cFKclbWL398Jm1Qh07P7M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNNucACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9UQ//U0R9tvW+kEKvfB8/7rqKCsaewqeLNcVJehtcnfVmiHKh+j/N\r\nXxQ9qcThW8VqxedRdzMt/Z3C8zWXpgg41eqL0fRlRdNQoY+/UsPauVNG/Lu5\r\niN5tiB0fKUFsNtlJK+QFahQBV6zaIXiTDNwYcpu4cHG6Xi6x1YBnRdctGS2r\r\ntlw7xfOEmqK4vJv5JgE9qBVRU4hZvI5o+6ANY0v2979OnVccnC/i5xgTPFcB\r\nUlBgGfuZkzmGjn11zmShYLht4wO7oCmBTOrdmUoT6n3MmfCcG54zKlZDcdVM\r\n2vXaUeu3ftQsQgoVOBwPiB8ciF34CJl9XI7RG6Mk8K8Sfxe4qTNhT709x+Fa\r\nip0nsBkEicEJ8TfcUO+Eni7s7jo3lQkUM7j2EDTM29jgdn5IjLmhG0SM06Im\r\nfH2QszeJLBqN/Oku4ii2rM3JAhDieH4NNFM7McIGMKnyB+bk0/roQhxhGgqv\r\na9CQB+PrpY5XLXbe/Rt72CFvH6wDQ6GPO3Ku+e8mhQKfC3mrAJjY9VAv0ZOX\r\njJNSwBrhVN0+LLj9eN8K3MeRhSzE+qkX64XqzhngcjAozlvGOq6eBGZZCUQm\r\n1RTVHPjcizq7t+F/cA/5RlT6ews6fauDJBYq22pSB8g1NhN31aQwLEuJTax3\r\nOiVl7tcrV5CK0B6rNl+Unx38twTrC7b+bEk=\r\n=ua9w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.264_1664408476145_0.4026673136767871"},"_hasShrinkwrap":false},"0.7.3-nightly.265":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.265","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.265](https://img.shields.io/badge/version-v0.7.3--nightly.265-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"36063c0750e00cfbea23507d29cb428a10781997","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.265","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-P3ikNNDEADipvnYKRgMmITY9bXr/+Lt8xVQeu97cVzuYo1+LO329IvGGzeYAkkZ2jTOehUjO2LVQyruzdkoyIg==","shasum":"dc0ff8e60e651f31d18cfc6f854cdc078f9460b1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.265.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMMsWMLC8i9NAAmqh5yXbTknSnWZRqum9jNPRYFpytegIhAOgUklJoNJRmc1r797qSb+otYfQjtz8ra2p5QVW4iLwy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNi2jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPAg//d7qE7wmI6cPUQIaJyfZTbozJy4kaprQUO0GKBUquiY4jQChJ\r\nTuLjLu1dZ3iyu4AQ89+5MxYYb7tyBuyruZyMbdNXdtZmj5FY23b/eDtbAmN9\r\n7SwKxNxoM72MSszA09DpYvIj5o+ctmLAEZ96qsrKYCWmU7Z3+XNnpUR0hFgu\r\nOlRSCegt/Fsd7mv2J+XDJYHv1BT72f4MFX8wyH74dbWCVT8qgFotV3uXoDfZ\r\nHZ86TOUqaKE5kfcfexXhOJotC4T5IvdpFMRA6+hyWzZHuPCeypMZ/aIMs/C4\r\nl22zFldWwmIKGFhlfqIHZ7dpoMGjFZXhG+z+CxaJL5MJ5nn/i6kpzDSLK3EC\r\nbEEjYDjvqo0TjrkQ8ZTb/yomhIbwDA635c9Fx0R25u3gU675+WjnJThec/h4\r\nUcS3AYQ0W5gZqgelN1Uvv4cjWROmjEMsXuiVzk3l1ANCnIkjs4JwECnGPPwJ\r\n7ES2kh/bEq7RIncQ3V51306wr++GXII9U5g3N26/I10gEkd0dOQ6HK/cw+hM\r\nybtpi493e68gg/LqPACg7vl0n+GHyEfticd3iNx9euIF1/VJmvBzuGKLk+Iw\r\nWODwXrgywUixNCGMoVJ0WGrS0hgKGRGYTcYuSZmL6OcNGz3QDezUi4/f083y\r\nJZAGtAO9k2lJaJuBM+5PsmHU8PUTyPaMB2g=\r\n=DF89\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.265_1664495011614_0.2449648390255823"},"_hasShrinkwrap":false},"0.7.3-nightly.266":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.266","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.266](https://img.shields.io/badge/version-v0.7.3--nightly.266-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cd1fa0cfdc6644e83cf8751f301ac16737482716","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.266","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2VQujsE31ckadQ/FoDBNwauCH3PTqQOvS46DDwEx/yoXt4sOgAoq66GUtmR+98AxOPVRqtuW0jrCEGRLhwO5Qw==","shasum":"4a69fd33c1df6fd125495b57e75ab6e3c3aa792f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.266.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLgPJBSl1oUGZoCJXz96WlYcS8jgRiKqWCSQ0lNmIVSAiEAgT5TzqaSVm6zTW0jRicgVjGsXWXA6OmPtplj48fKyQM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN37VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcSw/9GujskSnEtEX1HLN+uw497w2gs/VubC4hdI5GmhrcPJQxgKrC\r\nbu6Hji1PN9M1DhZu9pSNYh2FDTkJ9BzIWFc3PAkUFNL2CUJqHlvgJkqVlFda\r\nyExwEPxKB+XnW+oGgxIHEHLaOi94JrDZFMxNcAes7IT9P7fjtrRYZRfIlGXx\r\n90mmx3EicNTy6InZaL23DSY0l5dTxB5puMz2xG54v7IT2imlRPi4uUUN42e/\r\n187/2Z8VD8yHnomYxG1tHrPt1xb3tNhMvwgEqGbtG7lHUTmMhMkSTjFcfL8R\r\nJHoVrw1Fdw5oGf7VxRocDAJsy8QzF9xOfAwFkjjBO5KIvMtx9wDuIJ5oT257\r\n3rfcckzo9fxavTjhO5PdV3Lb9qL8Ek2gmUy1v71CudPBDXliB4Uq72IMtR/1\r\nkGCTdEOdDmxveUTOPrQTzGK0Zqt0hvFVaLzVAP3bWWG5loggczRTAgFgDAN5\r\n/LrRJUmW90di4AXkWqWRCzRujtyfz5KW2R8ETnBjFEXE6EWIvQ4dYL3VAYnA\r\nWCZrZ/pxrIx4hMxxeDdfl6YgZzAyzqn57AZHWKm5jlHbTsZ+QYWypzRY7YVa\r\nseFrKzRxGKIE1Y9L9uA0MWsKfOBvGkFBCs/TBTD4GfRaDMfTo0Gy2I4a/V9z\r\nWgqrQScddtqv5Mz6clcsrECHaUdX5r0SVPA=\r\n=fNop\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.266_1664581333643_0.10444385505648146"},"_hasShrinkwrap":false},"0.7.3-nightly.267":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.267","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.267](https://img.shields.io/badge/version-v0.7.3--nightly.267-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"443af0c1fb65e9e94491af06d7a1a5d6ed8f0c9a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.267","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-7VU2tKDunuTzzsw5vNFrLTQLyFq3MkNVCggoMWc6Pmu+x73yk+nmQ6m/tnpcywfWxzfIP4p0YgS+27RqKg+KHw==","shasum":"f812102672adb7432c10db49a066607ea252a6df","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.267.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1wTwQ3EL0JlMGXshYqwJVanHG2UrA9/L8Wx/mN0EMbAiBGKumZmCsHEsLcXi2cMOIXqYHIq8t/BxPI24/Ned9NWg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjONAcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0qQ//TlJfKyQdmx2qrqnKzJa0T/ZrgIBkio80IhsOrXHXj5FCYqiu\r\nqXR1iYqCx5lfK02DmA4sXWIYgc1ZyWb/dVUeVVAV0ZrHyv/+MKGJocC8XDa6\r\nNyi0hmH9rfrvEqj7LpmutgqYwfu3SOZ/QGRax/Kb93XbV7Xrj7WkngLkMey9\r\nELCCIeJf+WtdoSvc1ErKJ4jAlJGV5A/KXPzEr16ca5gLh4zu2kx8DAkfjDph\r\n+VFlc8lrOT0TMVJgWj5k1Fd+E6YB8AgGgaWyKYaYS1H8aV+pugw5n8T4jqgE\r\nZNEp54eynilpg7WLya4ZuBqW6G9dHprpoIkXg8a0VhINxDmjuqbqtz5sC7+E\r\nAgKP6hescm12sxMREmF3xlx9mrbJcvJADZimDPmVycqDc7rtNj0IIKiSz64W\r\nXPOMO7YLSZ7pPA7i+aVr1yWO3NifbNt1Af3qthsQHJrGDhOcb3twmit8QGl2\r\nX7ql2lvwqM8Ki+1xWo0oczIFqYqkorcODSKETxG3Rnc68NACp5+J7xlMUKli\r\nzItZswIzHq1Tt/dG07Pt8EYZ69T79yBtbDzLnxmxiaBLY/0RSj7URpYR/XkT\r\ncWr2Xvr/GTzdXtjSR9RGYXtG/7pCRXBtDNE4P61YexR6GZV1xSJS2q5h3G76\r\ncGnSLIoTpGHlfWtht2R9WtJNXpLha7ueBns=\r\n=zCAN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.267_1664667676030_0.43434067302429713"},"_hasShrinkwrap":false},"0.7.3-nightly.268":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.268","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.268](https://img.shields.io/badge/version-v0.7.3--nightly.268-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"21d39f8d38368e92075a708f61ae7aaaa9a051e3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.268","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-gxoNO/FwmEHbzf5XA4Lu6f1oLmgH6RrpTmjXAGS8xg2xbeYau+xPWo7QYA5H6ZdFI/zv0tLo6ips7y+pFBvPvw==","shasum":"dd3298d23fa6de892d47c34caaed85c80dcb5d67","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.268.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnxqaPjZhdv7ycB74bSSuHMFPTfTk+N+cSz8enOSuH2QIgK3CUn5hnUAD7EcELw3Erhuab8THsR0HOJfkdST2xR88="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOiGDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9wA//RBR46uQkoid1bG2b+NWg0riVFv50cHso7xIv5w9p4cVFKw3V\r\nWNFnlqtsNBk2DjlsEY1LMNqz8XeebifquLQHldasU4pStGpHehbE9EEeMskw\r\ndKuIvyxf7wllZ940eT0W54LDN01JjB2PNP1wFtxYme8pIZmS9PNZAJfFU8dh\r\n31bGpU+T+16v2SLpgD1264HkQ0/RdWbmc36MTZ/X1g9JovG3TalyF7NCUPZ/\r\nNlgCC04jGxfaBQV68u06sG1LLkeho3xSZ2Noefhw3w1AIey9jKY/4rt0TqGv\r\nIfrJ3a7k3RLEg/joFwYGqPyY6AcCmooHXISpi9jl6uP/0p+924kCJu2Db+/K\r\nqrnuEEUmS+3fgbbxWefMKYwcEkxBNNhvaodQlpBxRFktLK0UvpSvw1aLHABg\r\nzHqKxoQZ9NmnliKpzxm8HXaPvuuSVyCpm8LZhse/WsFWtxjE8AdjWs1MLWN8\r\n5voTBwgPoJ5bsRr9ackT9zEZul8HaI8FfypHFOZ3nrjQXb1qbl8Ibig1BSn9\r\nQgrYelRRg33Pfb5pwg+b9iCWiJb+baYUhWfpLJz4MxzHM7KI8I2p3M0xuyLs\r\nKHe/TufxlRvsrbeQfx4N7p8KgkGagTdKV2ejwTdp15PUdSwvDpt20Kr/kUaK\r\nCgjQ9Jk/v/ZQrVKsFCUkesuE66TA11GIhwg=\r\n=fa5i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.268_1664754051122_0.31896695373971573"},"_hasShrinkwrap":false},"0.7.3-nightly.269":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.269","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.269](https://img.shields.io/badge/version-v0.7.3--nightly.269-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6fca7fd094f4820d28e155e2ca3258ce772278d3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.269","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-BiBTfZIJG2LMGY+j/x8aA22Bxy9K7PgnT07ayGMRobdmwxADRhP30X+P4Z2z5XhNOcGr9sh7yArNtafLbiKRnw==","shasum":"c5fcc1f348658ddc5ab8582a30e0c80f56afdc65","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.269.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKJz7SgBT+eNAJHrvN2U7pRaPUFaQZH4LCLwxYJUy3lAIgMsrfkUaJfhtrTzuTk61ZSH3oAak7m1f3a0WwvjyHmHw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO3NVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsGw//a1roCh5uCmxEiIjTo8Oh/PnzAB/FSL3EEMmN/73W+9LCJCde\r\nKIhBPYjrGARIIxovQT/nhG+mQmCxExrqubOJKBco8khgSloGAiX6pwDcr8Gu\r\nVLRCs8/QbStWuuxYQuTASSRh1mwvNok7bIDCMAlNNiF9DS0ZV/8ggusRFb6O\r\nXdHzc8QQXybJtV6adakd5BOF+IYC3zGg9WHKUI3t/WELgIwGoI5Fz11F0vuo\r\nyiJABdq3Q3ftzS6uH7r4yiP750691nhZbO8vJH4l2UuLTsXCBuBtxAricGfo\r\nRW4MehU4sZF9TLvLHRLnahrZEi3Us7kZBRWkr1CxwZ2ua0/KqRTjtSFtJki/\r\npYtoN63JV6BfB/XjXzFTj6TJzD6hjcNaWjMrhfIiv0i/Uz8/+n2yUphMf/gT\r\n1mc21E1ijj0WM1F1UTo5rl9cpcEmZJVvARoXM7ZAGndo5qbxheuYNbyJiQYC\r\noLu1JCIhlqHjDsoFwvywQtZ51qykBCFAs3d9Y9/T9hKXgKRNLd7wwc3//bix\r\nd3KWFXevp53TvCDxOOHZH4SJ6EpgehqfSz/sB0yvHVgfaJnJSmbxvQfcOzwk\r\nfreeDtsHqq18EaabJ21erNj27G2mqG1pva4Uu+qSu5pqh7mdAuGFGdbhDWMd\r\ngK10wou12WbmakUDD4aIwGpRnx+mGoYekmY=\r\n=GclC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.269_1664840532875_0.4082982600795373"},"_hasShrinkwrap":false},"0.7.3-nightly.270":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.270","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.270](https://img.shields.io/badge/version-v0.7.3--nightly.270-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"79c5477893c9870e46ef2a4056513a8d2d6d2f1a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.270","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-hvmfHZQUNgmq6s1a8i4WHTq1YRbPdRHpFGZOfcBxDdTA4DEHUzTUikm9t64ckjDng+OfwzYrBHYNiVJOTmJc4Q==","shasum":"677876de1c043a81580563a60e47910d8a96b2a0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.270.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHp6Mx1grcnKerNLy0JDADzl95Mbglp2HQaZPDABiwLZAiBrBVh3XyP93qUR1nRxr6knIAZ/OuhomTTCtu+cExcfUA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPMSkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPHg/9HDdVz0xq1NMR19hr6KmHjFXIFRFAhzVWfjR5HrtNqTb3cQer\r\n9RcJCwHfa7mH5hhCkBvOL2ClgTENpmgMquBvcqkRg9E2eOqYMll4Hza10Iun\r\nkFcG70dsfhTvyxDIal3a4gJh9nY01z8qOZzJ+BZ0BIWWpoK93mMetsO5sZzN\r\n11C8VBSMV1//zuF+EoKWz0Sj8qnusMJYV2AltD5ITN70V/cKG4QujkWW3sL8\r\nDOrfk/dNHEHoFXLqll7j4GI2tLlHwgMVr+HNNamDYTuv9t1sTbvfay6t10yQ\r\nUPXmPC5ElTk4ox9uoFzFl9vaZl9iLvSLVmzrTtby6OL5Msapr1OwX6S+zJoG\r\n1PuI6HJV/iJmBpw9uMi+3UUW8kTVeoT8XpAcOvO0J1vdHzH+aI7ciGEHij64\r\nbxFWcnfkidz3ynNsJSpJ1J/71iA/S2T6MMrcq4CvI9XWTMMQIGfLUv45a4Wt\r\nRMweQbShephLkg3IUHsVvg4jKss5hyrd7hgBQcpIWGjyupQdq1x/5T3jyH1h\r\nLVUKSpwhGRN34E4i5CQT8Afq835C9sgP8o4xppXpSjsZfM+w8ZmBUjdiaa0b\r\n54Oxna4kY+4PgTb7fjTRo2mkFNznl68jlT9yw4n8oy7AnIn0oVWof9d4GYi7\r\nf1uXE1LSu0ABro8rm/ddB5Z5fW3CcS3zfIc=\r\n=DdIU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.270_1664926884465_0.09136098692315398"},"_hasShrinkwrap":false},"0.7.3-nightly.271":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.271","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.271](https://img.shields.io/badge/version-v0.7.3--nightly.271-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a3bed24e44ae748b5c643009e4d90d49b0d8acac","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.271","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-qPWOzjIdvYIFJovnUz6GJS7MJoAcs6MpW+HEWltMhx60LOzToEBisR2ptfN7W4qdreVT5Z6glfsnwHBoaKoAGw==","shasum":"444e975145d3419acb6e41ce7a7adea1ae80b33a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.271.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQUrDCSWSBiMmwrTNoFVhKqqBA/4BNgx8sGsoogesqmwIhAPHvNqzz86fsoGGgxFBCmsmvyKlJGqLJ+7sklAAzBb/4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPhZKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/+w//XfvPYad4OG5kLLYecSMNlhyJLBA1daH19lRvHvhXY3DGhoXA\r\njbpNvLPRiG1Pq/ZJzGSwpFmz/v3NmHF+f1zyT1g+Qb5ErxrusgAin065mQwH\r\nDYPxJr99bnxICUisGHagz2ZPDDxJUP5t1vRt5lUngVTlKvtd1BH/ydo+LnUJ\r\nMbVXqSj2vTfzq42U+fDEEONnz2nPHN0YdveH0xhV8lhznDwEQteTXbgeTr8Y\r\n3Z6kFjusI8YpZLLqBzd9nLiymRtnvEl0n0xS0e63F8AopSkqObgcZLxFgDPt\r\nj1sYS4RTabo1Kl3u3Of+TbL2pTezxKXv+d2dfu5AI8pFBO/5l77Cw7+HwIR3\r\n46VBmEGEQFC85pcrjOeNCbdC5bKpvofdhnYm7pMB0cmMpq7ekbo3JZN1WNeq\r\nIfxovx+kIeJvn3Oho09GhQOFsdjeABQFO04hVa2tOeC9e1m09BeUmkrwkkBg\r\nsQ7gLsNs4q8D6QvsvP8/wcIUZcU/iDASC23B5p7orZA9b8zWvZyp0kRs4PIQ\r\n/sfJg9QWiNDRaP77U44jIGAiI1WIXhtI3uXB+Y9KsA1CWHXIDtz4GtQbgYxO\r\naT6d2gt5QIV9IDy6y6WyJRzjNPdyQbL5TkEnpigYXY0w78yXsc4Nnn+OWYBm\r\nbjOmc9gYAF7xBWp5Uh4wuYN2QwRqMgB20jY=\r\n=rPKJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.271_1665013322819_0.6438249464231969"},"_hasShrinkwrap":false},"0.7.3-nightly.272":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.272","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.272](https://img.shields.io/badge/version-v0.7.3--nightly.272-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cb614b9eeaf398c85520146a6ccaa75082972dde","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.272","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-TlM0oFTP1gaeNW5yKRo5ezKpgHvkXlqUcIWdjUg1RMGrTHfpz7RLth6fo0y8dd5IIjaKQ6Ow7C8LiwhfJNs6mQ==","shasum":"cddb6937b15f64c7464f2ec128cf720d72d2e7fb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.272.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi8RdX3JywyNs2we9hkelVariUmzehbFExIlh/Uu+wcwIgBVzirwPTwPJEBCg+4PGi60o9w1cudlLcmAvo5Qgu4Cw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP2f8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqq2g//QtSpjlyv9FmhVp6NZB+4l8kkluyy/kWbhirh36czeT17HoEA\r\nLabvxC3WG6cwf2jtnVy0+5Ll6C/3xBshYAYA6GUxHFYLCgcYI884dvkMfIwY\r\nX0E6fGRWf1WhuWfj4b1S2aWVa6mSLdRfu9tTCoYiVtZte+DKAtWPFoKnbEsi\r\nuGOsxnKMoWTEbbNsv0XVCTyKjV2h3V12/ErAy63lOTOpECgLj/t1LcsOrn/C\r\nZde8sQO4765gjzu3U4g+oILpv7aM5kgprac9Q6y6i+2gHYWN4AANGbl+Nxo6\r\nwi2qr72MtzlZP/mgucn4FqCdCoXtn1995SZ1ms20bwJ6tg7G92MRU1oTK84h\r\nhK+waYNJmC0HcsdHS5O62tYP5V7Xgq33wIWdnTw/2pFyO7/CKLIkz6XbTqDq\r\nFTJgDz+BMf9jROuWd3Y8mWE7HDGT3Jd3fsdAI2JO2Ja+1iAXOZulJS6nTrlQ\r\noj97FLgdgwf+vo0yMIXmX5dOcLV2YlvUnxxi/Zx8aO4QZCjLYgDk9cxli75f\r\nlzwS+YEfAYhgOUj3YcrXNYpoF5gf6Cd95GQs+F8aIcxKClH78kiZUAUKPe7O\r\nH+bRq3cUsNIbNTcTOebGiU/bJX4jl21bhPKIApDTF/i6nbN1eB5raB9hDuCz\r\n7NkBIflnGgIQIzeIPMp0/rkXd3B4h4UR8+I=\r\n=VgYS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.272_1665099772177_0.14927979136659908"},"_hasShrinkwrap":false},"0.7.3-nightly.273":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.273","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.273](https://img.shields.io/badge/version-v0.7.3--nightly.273-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"59016318b6c77549131df0d93ca9ff56e0e40567","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.273","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-6SUIFcqH3UIqoBM/LBquhxqiAkjEFSAM8Hhts+6X9XdgtKzf51v+70AxE9BuJrZWSLfodkYVDfwPnmRlg8siGA==","shasum":"31d2314de70970b84d779114f0b9d6eb353afafb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.273.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFR0L60ZPgkRVoP438muGwlCoyScc1B+qZyfiTZixGd4AiEA2k3xrVn8c9jSZsWV/SgVLS7WV5mx+Lkup2g0PcO8QBE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQLlCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrclA//UIb5AZ4GCX7S93kDD8NNuQG3UnbvYLob6/nQsOAIUX2bBYD5\r\nDgMXSndOmN6HNHG+2Y5FqNOYI8gzZwUWBQvHCmxqehBWbacshBxM5in1lumH\r\nn10Ye7vPM6qt+0Jn41iktcmYX7cga/QYjD3tZg/IT762CvbKEztXEVbX0fWK\r\n8qVtoKWbZ4W0KcAXGrV06ROuuR6Ce8GPRJMRB9AUxLiUw5Pn84GMU5k5QRDz\r\nRgdzzvqnaKbyn86XuGn+ZxnOf8FxkF/MSEF27m99ZKLMlHka/Ikn2Cir3NsG\r\nIwc4T09Htfjc12/YexZ3KtqPcg90HJgEvs3MJmeMwE2x25kOCqD+23n/WfBq\r\nIARvzxQALj4Bw+Y3KEBRSTHTrlo7tnc3/9afPlWfsP0zz37YTzx90M+JD3zL\r\naHGsoYuX7k0qhecGRIYpYBhiUR7+Qx7AB7irEk2j8c2DTcI6FTiEbTzfuh1i\r\ndTUjzrZXZDgK9jbOzfU5yI7UDseIe/ZkByu2SlBu+S5SuG8RPSir5w5gpWTn\r\nIYdooCVNKY7w+fN+aUa+d/izy9xEQ6rhRmEVYampNqXvq8hWVOEtNHfTXGvF\r\nN/nWwbf+6ehTjw/s/5ENJXWeOhJW+8Ms0Zb8xf7uE2UqRoV5W0VPkg70hBbv\r\njTUOXDzyDfgLuT5wh3Q50W675HVwbsTmVb4=\r\n=YDNs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.273_1665186114007_0.4641903398171605"},"_hasShrinkwrap":false},"0.7.3-nightly.274":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.274","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.274](https://img.shields.io/badge/version-v0.7.3--nightly.274-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8bd3f65d8129ce7c5278ec340a6a926b5e2433d1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.274","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-TnuaNHTb2EzcJeYZOhhGvvv41B7sKF/BQpC5pCbbhjqYn1y8aPZlOLsP92mhsopvEfjd4OYMik3cMDBzR/OUAA==","shasum":"b0c3c9c99fcaba68f11bb41e7071224aa5c5141b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.274.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICI3lKHBXTBAgsrYon1NnOkOzc9evzeNHCzd2S1ZoPGBAiA6Ml03TUv7BnmFsI3QiOkJxWirMw9QWgfyKwz3w9qhkQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQgqGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsEg/9GkgkBwRJCiGV5UlMbYNy9dak9/Z8xAcm391M4BRppxMv2lgN\r\nJ597XTCRVYtgCLpGC+OlDI99J64QAvJ+2/KS0LPVw+/SVHaqyVuKHzFah9va\r\n3NiGFyAAquilIvJkfU62LkUb1H33ahmVGtp99SGqQ+Kh9CS7tz3Xmg3hXjD8\r\n9hy7wVmhxd9ACXUnNmrBWRtIujsYH2vsoP3vTVvOCud9Tlf43STmJYZaldzi\r\n8WwJIrXHnAqCIQkrFM8U0Bmv8D8GL92OPwJNKVnU/6RjsPhsW2ZqpWiXmE3O\r\nQRHHC+de9o8wNPem3aOkizfwhft7xRNp6JZx0tGPfhPZg1Kgom2X1O8QCWpm\r\nHADDDBdsLobT2QaSZZffif7OL1ldIxylWbmxwcIqtbBHJx1MuVMV9H9M+xpx\r\nCkco1d1UFAZH6oveL5fw6tLrKQpY9wSIuRyEd75ZwShaT5T9jJrlPjgXbL5x\r\nre1zkxhPdzEpO4Xh96g2FCMKmv/BI9ErEQ6/AL18WycqTm4iQH1BPXKckuHU\r\nB8f29ONwvkAToxsLn35Xt2vwXmq/5i5w3SFZyyQLvYZpjTOtM+50fR4shSwH\r\nuREdGbLNnS4uezYjF+j+8/wvwlogePVzvyHS/dd3WNy05rvqN61oTrjrENs4\r\njZrrjVAiHtW0xM5TW5zcChgH1bf4f8y+zss=\r\n=su09\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.274_1665272454086_0.2346982722519595"},"_hasShrinkwrap":false},"0.7.3-nightly.275":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.275","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.275](https://img.shields.io/badge/version-v0.7.3--nightly.275-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"31f768c91fd5930041be4153abfe4d9579742067","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.275","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-VpLaecQbEBAnjmqci2tJ/foNKgvZ4h59Umm5MDVaiuOl8PBIKyDcHh9IKjMj/UIuEZ0vm7B4htAHtBCjQGh0wQ==","shasum":"1f26e3efa29df9f2d55ebb27b95921e4e0d6fb81","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.275.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfYeaqnmZvcnZFpDb03EfCCE6Z465L0B/bAXjah6oUewIgSP5LOyUx5WYbGHsTVJejya47M51CMwKyqVcsEXScrb4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ1wPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVxBAAg27LRDpz9zTmJoDl8Rvk6cKAcbOWdRLSVN93+mvX5od8Yq7l\r\nYl3fFOlLfYBOTR0RF102l19Fq362NapmzaQh9+OCrv4G45WmG9M1cKjBhBoJ\r\nmtiUpOVOz3ic7rbeCF3kukcbpLYtc8abeLbB5H1k0sR7PVwPuDfJEN9W2eJW\r\nEgbHGTzu3fAzJeKJPR8Lr2a2/zU0ArgVBMphvAsfL9HvWogs4rxWAPqML56J\r\nPdHEosBnm4WzFxs4PGUspVyfcJ66KynE0jE5mz0sP+JFTIHXaDFsGatKPR69\r\n557/g/UfOqqgeBgeRnfzdUeJP6bY0vXtYwzdKNYL5v9rlcqgiSD2BtLDOqII\r\nfD/nJ9nP6rb0CUya+mGqtbXzGvfAx5FeJexckfBalADdv+sd2+Edoil7b+XS\r\nN1WR7Cg52eDl+9yIpB065BLVKKTu2faFKe3dWirABuMy7crCMbDHdk/wldve\r\nby4MhrT3erpAr1tQyfOPXX6bqCRdJz8NMv9JCEoTtZiA9IYRbx13VbbyKaar\r\noS+kE4aiKZvV+0TLoZz869vXmWA2bfRDupjn8Rw3Mgm2LnnMjo+XCsXVScEh\r\nApKGYpxpekcE5hOvvhgx73gfb7EmLSQsNv2D7D7odd614uVkCZhXY9ohHArC\r\numclqYf3MFLbtVhyx1j0EWKKeUG8K6WSNnY=\r\n=bWCY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.275_1665358863670_0.39679791560325595"},"_hasShrinkwrap":false},"0.7.3-nightly.276":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.276","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.276](https://img.shields.io/badge/version-v0.7.3--nightly.276-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3d10ff3eca0dcd6dc4e08e38b79ef9ec2dd5f979","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.276","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-yquu9yGRb/rGqfYLf7n8va2c4ZM9Uei3AT0miiIpIYQnqqKl0jHnYb3pvGVG6HhZ4ZQeQaAPY68xwSZCbrjsiQ==","shasum":"773e9e0b7dfc9c171ec18a102078fd2fbb4ceb7a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.276.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmnZUuYIAHpAc/0bGoISfwH+SxGLtFgvVlEhqaKBwCOAiEAqxH/sj0xvgrxtYpXDwXfNyquwW4xcH0smmSO7tBapb4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRK3hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGfw//UzVpkCc2RiTh/dspUIJaeNhSsfmfLWCa5QC3iH6fui8m5+8R\r\ndS6eDvKvTgAb6j174jH+28sNVPgF/zXFaknnbWQ4fivgJTZPHUtDsvbNEv7b\r\nombirDnyTmhL5YgiK49JOHg0JG0A9BFUVHPiHNMdnpZ4sjI0pRKSHdaEyQSj\r\nVvkPH6RlacK1A2h2fQJkBSA+vXHg0kuB8CT4mIduVFcZNPOpS2YqA53S6Uxg\r\nLHfGgy4oIFB0TS+hWiNMxxDKjAaXHhX5NVgCU+ATVu7qfAZQvkU/cO2jpfS/\r\nSghQHrKgTS75QRu9JtZg1WM3RDykbRF+ELUjmfN6DDZMog2dkhNaUcxx5VTH\r\nx5j/iZcTl+z36IRuUi39Cg+FLkLcrTKUA7Wh0zasqk7czIDIiZ+TB3Yt8J4f\r\nDvjPxGa39pcPh1iSzkNZLFn/AgrqIbSfpRDvAIJy2fZo+lzJdZ7Fr3zPXP4p\r\ndUjvZf1pwqkcRkOXsucLH9axcLZ1YhqhYYrJu00bVNXfJJt0cM8oUOk7B9mq\r\nZwv17vexqFj8CE2R7x4GiJztLx7TBE7T2wUlAKnwTOpA7+OtdLL36daMnX6u\r\n8lAR2i4NWZWTWQVG7Ais6zUdnReuCr8fXfPpDLycoa2biVD3//ndADmUExdP\r\nN4nGdPsvGK8embVA2myZahynWO9J0OxUEk0=\r\n=X74F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.276_1665445345085_0.8598509160702676"},"_hasShrinkwrap":false},"0.7.3-nightly.277":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.277","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.277](https://img.shields.io/badge/version-v0.7.3--nightly.277-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"75c9320167a44a11e602a1cff25f7baa63b3ab0a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.277","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ADpEM6csegOVZxkGp9j3ji8PgBwSUqGfYbzCrFDl1FVc1yBiPb2lDaxWwguEwfunOdNpg+KrdnF3gitgTgfblg==","shasum":"74f231b842028a5377d402d8e75742fa2add134e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.277.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcGTRV7NNktNg0459KCKDH8UGBjdxHWMcb6EIZ7ObZ9AiBDNCyX/AcN1dDQbIHlc1CcwuD8XwOmo+t8V35Jkudy6Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRf93ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLYw/9EHRp7wnO73L4cn4yVjWMrUjN5nkatLG5OflqVXXvq5QatRTK\r\n0XHMnbIahH+uu6sHTkNJkvYcoZmj6aZv9vMm328FpGMiiJqcJxt1Irbustnw\r\n5WEH7lhXedwmW+D7PCbXe0fLEYou2PGd8u5fvIPUtp8I0ufJ2Z0wHtiq0nnw\r\ncpVENAMQvd5OM/MV168JUWv/e6lDdzz1MXBa0fA5U0BIQhUYM4iMA9z8G9pB\r\nJnbPbUUNHsZANKsI9CDd0GqZYoINkRAIF3ndj54ACtlKTGGkHkXddp/4h0jF\r\nbcJiNjMZNKIAkz/Ra67Nxts1QiOBC6okzwUXg2+iV2/QODH7HCunfVSH22mH\r\nbrf4chZxd/akaMe769amouXY/OOOkNwwOCrxT72wpDgfYXZzFKBYtAeFn52/\r\nkz6DVaCnRhwVnX4frjwmTCL3aKsfm8OryFMLruwM2wDUfHybPfcdNNvLwmYQ\r\nGEKKB3GOLyd1UBYE9+iAZaxUF4FICq3v2YOtbA8HCq2w1AJwvwO74HdwCFDo\r\naJOIIXGFjQKKdJTecfs5xXhNZ8tqfcpQu3FAFbrjkokGIg3NA/JQKurVzxuh\r\nGUwC86bArV/LRvAMAdFIPWUGGJU6aTNF9isobjqcF8qxIOLJX9HKmELJMmaD\r\nL3SQbI2i/LdJurJphurT6/4byyfSdbhFuZ8=\r\n=fIvV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.277_1665531766820_0.7725372474295493"},"_hasShrinkwrap":false},"0.7.3-nightly.278":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.278","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.278](https://img.shields.io/badge/version-v0.7.3--nightly.278-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"34ac2a4df4550d7562f12c3ecd7ef9e809e05dc0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.278","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-JntdOmUxao1bbmxjOj0EZcFZTzX3Vrhl6WZdslbzbdnhDPIsA2CRoJPx+GsyfULMMnLMlY/gCgWkPFWJ6TFTMw==","shasum":"2fde779cffeb2fb65b39cd2c484c05b2e05b5266","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.278.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0eix6ItXobOHhhs8ZXibN6aHva8cagFqyqpLvXU+OfAiEAmOLGJ6yxISLcQsP1U+lY7R4+KRFl6OEVjb6psHjw+iI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR1C4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZjw/+OiFvyhPykImbum6Wl+/WXa9BVfMBR/ADgTp4w2hVFcglM8AY\r\nqO53N7r8sEbl5msKQEH1I9kK1T0whMRQnMrXiQdBs251S5sBpqaSjByoM5PO\r\nWgHAHiuhhKleHbw2EzDZSTt2ygFRAy9I4lHUVCEs53Ukb3LPNKsBuIUEcvS+\r\nFeMW8Uv83L1Qqxh3S/ExqhGSUXTnJPZTRHYatJcwaI5rUEQrlebL5VxDQoOU\r\nTogjyQH8YDZLODP8MqLlKZ8TaII2n2n25VYGnfsVTbaFJW5TOtWjqpRbLdtl\r\nNFgptQysA09v6E/RjMbLgTM4/u+SryLnvduvFDKpK/QGxgUTWIggEEzois9X\r\nWjc+rJDLOfiLR4/kCMMSOHp4grHK0n+O/KwrQ4m2D6NJ7qLT2Mk2irNGV1Qs\r\nl7rvnGDiCX6OJJMV4dMmujxLqHymhGkztEvJhYNlPHfsOrHveEXNi1w1wu9i\r\nVkairUnQRzIXN63rKVG+m18d+VDW1XNxWmb5IykNEzcytKFPSuYLDwSyCN0G\r\ntoGRCv9IcWJhNpFiGw/s8zrjnzDP+QXzJfpzIxd+vO17GH5b4aAlmeqZ+AkJ\r\nwShX6qRhxeffS5pP/6FQ/KnW+Beh50GtqpF99QBxe3nTnOLIbU0mejwlzV74\r\nrmcCsiYNdP3ym615HcMhqgObcAFtzyPZsh8=\r\n=cBoK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.278_1665618103882_0.44979450861221104"},"_hasShrinkwrap":false},"0.7.3-nightly.279":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.279","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.279](https://img.shields.io/badge/version-v0.7.3--nightly.279-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ffe99e3deae2e8ca2b78bc8aed20cbfba3dd340d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.279","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-Ex4/IE46fzk3cdQ9Ww5c6GdQgsGKfH+W5MUnQPN2JmeKhsG0B1uxkEqyJMPaLK8LyvzTem6iqq2vb9R8oSK25Q==","shasum":"e58ff7bd7534cd79cd54d90dc9822386aecc705e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.279.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhBjk8zF8t5J7eGxHzXTzSp08CrXFPfb2hCZdSih1oZgIhAMHTFV+zQrURuI4Ruqn5OKrFfIavS6uc6Qr9w1B82PO7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSKJvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3ng//RDJuXt1COx/yN5O+0jYCL21XXGsvAdVK+wtMpFex+Lkb9Z9c\r\nliRy8exZIFMItS5P5jsJCVcTtPPZoFZCF8PzYNYZQNkmJhCVuUS7BANSuK7K\r\nP5hlfPWsHgJ2yZ0OKUL+wtLykqBigd5Tp+uGhcyUy26IwWENUzFBXPl25WE/\r\nImbkVGWUVoU1wfBYJdULXyCVkeFz/6BCJBn7WizgIXUuyiDo2gD8GmLxucZP\r\nrkyc8GVeGpTcE9h/DBq6nO1VgQVldaGHH3YWy20qsaoNpTbFZdLiywNXgKcx\r\nWiH3k5W2DCNdiMxMB0n/df6m8A5iLs6ZlsmwwNBy/ry29JI2Wnkj2EWmh39X\r\nYJqxC/qIftNZq/KXKz4V0K/FjuCCKS/KSq1ohUTaryyykekMxQrw9Q7pCqco\r\nI5ql9aBHbEtQwNV80hI7TMy8JUCK7/szujDb0xyCSsMS2JKKu2+hSgmN/k6A\r\n/HQdo+gEd9HMpxuK+7Xsal8vRO3DiTaujPRgfim4UXLcvrXdpFFnrXsSXrCW\r\nrTVTpuZ7cEZeO2AIN4dxm+IirdRuMDSE0HMcQDHkb5+TVR+7xFAoOJ30mR4+\r\nkBEWYf/LQI+sbmwUKY5b7D9RIwsqSu9WVmt1ltxKVBEexknMndmoIwvDZAzI\r\nm8J8pzHC2TXLBGEtRllqOX9HqGp/p6SRtBE=\r\n=vOdd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.279_1665704558732_0.750680529281222"},"_hasShrinkwrap":false},"0.7.3-nightly.280":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.280","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.280](https://img.shields.io/badge/version-v0.7.3--nightly.280-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a4e7a099a711cfb33cad9e7aa322a837905ee871","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.280","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2pp0jQLXYKlA+Z/bBSDNfPkxKEdpkL9QIj7i1FikD+DyxVIjID18HQpL4GJOeQ9P18rkhJNJlHEquFguQ6jilg==","shasum":"1e7b6df3628f1c82cd0147d57cac9b52bfd652fb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.280.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBPCOQW3iZpohsiylSfAnbgs1FrCZrdKPb1NM0JQ363wIgWf43m2hLzbsYds/BZAwIGdOEEKeesKVgcANLIb0+QN0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSfOvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5eQ/8DwnEk3hqkHAOEmCg2k3DoFLt8eia5Lur8iQ7cD+ompXcyK3U\r\nFOw/LdkJgX42nKZAaNTgFTLKvSVVOmyjVi6wYSq3yosA6KhNxnbg/rgZgcaz\r\nbX7njGBlGlnicdFaVyqTrClSOaGy0vqzT7igDxmctbamw3oLV4ARZQdZcyCN\r\nu+08BjQ+8xxkWyyPWewcwHcxvojCx89LXgJ9eg4FJCW+bm5OjjB/Fve91lCv\r\nJHtyWZBrABbTWvNGA9pX/pCKjs74MtIHSze0PFqIcD4TbdtXBC4b5Ei281d/\r\nhGE1FEnyoU/1Ghh37WtgjOtTLpi/zj5hpFcLeygl0MgMbCKVihMaQACn4UiK\r\nshu2MfX6v7JuUQl+hXaCGtZVHW3z5MoY2Fs9TF9Hb0Ea8qrIyGJ6hrqBwSer\r\nMsBPCLK9EjVcKrxbjdRj2qWR3iia7gAFZBdghAo6G51q71hNN4xNqvgA0WNR\r\ntugRnIAfWE0Qh7603ssubF785EOVTl7wUGGC7MYhi2kPDXUHQ5Lk/qxGSc5P\r\nQCh8g0WPj4tJ5wRzn0HyMIkpTmdwvuvrgMQ24ajFPl9TMOG8C56kKQbK6bEj\r\nSeM5X3b0qk54ckK9C5ioU9/oelV2Vt1TGDBNszTFQOetEBoMrZQq1XuDwMKJ\r\nzZFlJJnhIblhakx1neiQvIe3EvOzcD0rGHU=\r\n=PDhQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.280_1665790895051_0.544809782373614"},"_hasShrinkwrap":false},"0.7.3-nightly.281":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.281","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.281](https://img.shields.io/badge/version-v0.7.3--nightly.281-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"40312f23cb7bdf3399c541314019206c76a1ab41","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.281","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-7DIDLU2acgdVRW4tLJJorhKgYS0OmWuEyylicFWKpMn3ZuScQcGhtuCu2rYNxboRVDIhjqsXnFP8B0tmHLuQgQ==","shasum":"39279bb007746ba5d7e077821d3d335ef00c545b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.281.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb8Duj0PDu578hmu3q27KPqFhPRb7C9eAvx9IK8l/KyQIgOuIFr302focvgntKlSjB+pcfEfWlNVB9w5wZcTqktZM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjS0UYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYZg//eC4UfXg8NTGW0t1PwP1z+/LSyigJOZspIiP5L/6WAUZs+sMY\r\ngNJg8XI+30fuTD5dwE977pqyk5aKwkBuUzW8MYiQWAsRGpKahJ2RFPkbMfAn\r\n7/Ur+GqnX3ErHaXK00xXQjGY5jud0A3y+xcxaCqq0Wo5w+2OcrtiInOAvm4r\r\neTCj2eAaQivHiPAEf96cEqLntNgXjTYvi1qe9C+kH3kY2SiV6aU2W/EtV1uZ\r\nL4zzixSzZHXUZUr51UtbnuIf07u3lrxgZcsSlW2bPUIKfHx2u1rG9SF5mrKI\r\n/7JykUfegQi5/a6EVIibFv7JZgbSy9JkGaZyVfl1O1zOoI89absKMPHXO5MV\r\n99OTaAPfEhobYKLIQEp9uFhjN/r1u9z34tymlZQIiA8gNovFVCk0wuBZHpmg\r\nv1+a+YI1AEIhC9txUDmz1GzLNUAAEafVEWG6LbHprM8JnacOEErUckHW+Elb\r\nZMk/KLi7yezwbsKEf1v4MQi/N7QXh/9R83JQ/dJRrOEY2vGOQMCSZQPrASvU\r\nnWBWHd3KWRptiHULGTevJsSzSz+2aUcRO2pxQBxCAlquX1Dn5BauxY0YI4r4\r\nfCAXOX9f7DQhoRMEhiZDior0G6ssx1Nwv5LTsRpmbTHuKI3BqoSbnCJL2gcW\r\nlsf3xY9t5+ie8oD5XZsBbWA1EnFchhgpKwA=\r\n=Ynw3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.281_1665877271805_0.8949766570560918"},"_hasShrinkwrap":false},"0.7.3-nightly.282":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.282","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.282](https://img.shields.io/badge/version-v0.7.3--nightly.282-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f321fec4cba84b1cd47ff7ae085769d03edd1425","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.282","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-p07qsXnSx8XyND8jXdIwvg3/A3ylxMSvgtkrOUPkqRCHWlpE9wnWk0OTc9ZEyQJk1n93u2jRYDgqVqqDKUsQfw==","shasum":"c7cb8910f29d9c065af078b96ba1a555a50d519c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.282.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICk0/pt6+KOrWZ9gJG9vjsJBVu0iqR0Ux607ifuVmY0TAiEAgFCEa5R+Txl7zWn96C3nHr9wZiA2Qr3cF8sezdWygo4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTJawACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2ShAAihHhHFX/phF1xT1swWFdubDLVsfbDjNLROyt/6NoshlGN0Qs\r\n5dWhc26kvvYnjBHMdadAvm0ttc4ufawsgcaEDgZDguJkgWjtFyacQLGDMWfG\r\n99nX4ENeiXca9StLjPx/OceFmlJTLqVXsYLc96ht4rWxnz8PxMC8uA3aecgG\r\nQe2UxtFUFFgfOmgaZnMYUqvPUqfQ7gGeZzM8FyFErJMukBdCbpJAK6cp3oMX\r\nRJsH8S203n8wtyu2Gk5ySFVsel9jX8U7FenpFiG5ySGUCMLNvEhSvNl2gkjs\r\nstQRslFHLNbi70tJDXPriBD7NdZnCXSBivCnna19JGvr1Sbk52jED1NGyZ6t\r\nzxvkRlL9L2ol6pGUjkzPBMWpwBDtisxTK9dTv2Gatv+SGUsZHzi2l38+3ZM/\r\n33Z4nm7PnnnZlTRnUA3awvjS9wLEYhcYqdOlz9SGjC9sXOeLZZKlDs426pTq\r\nPrfDKvhRpy3kBoh1pPNaNdgkcjWRxjiW2FrQ6LMQxNusFRop6HrS0+5knvAp\r\nIBW0gf/T0HxrKc4pgpMZAFSdAelrMs9PErB7lDwpYPkNI5Oe/JGxy7pv0uks\r\nUavEi7eEjwu/kr/XSiogQKtC353lV8yDq9apRmpnXypSr+jOma/V/xFMSLDP\r\n2yh2hUnpe6mXW4KvZpf06XWTQXMHYFSUeMs=\r\n=7x44\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.282_1665963696197_0.19713580439115663"},"_hasShrinkwrap":false},"0.7.3-nightly.283":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.283","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.283](https://img.shields.io/badge/version-v0.7.3--nightly.283-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"06ca7683c39c11abf9c4db5f9c755d59b89bcf17","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.283","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2bNCWtLVIiw6luHvbCN6w6C1KgKfMM4VDIbAXRR34fKZ8inOdL+CbQs/L/EsE0vfhvpdqc8+EWunmp3A34fTzA==","shasum":"36884c2e5cfa5f88fa73a47b30032e67807446e1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.283.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICS6faVnawoXzxzuEz2duLATQ9/tEfcLYAPs+Ic4AL5IAiAp1xOXvurhCUCbWMwRKNKDL0KawwxWyiDtdkzrvyhDfQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTehTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo98g//SJv8Db7i3T2Y05QcYGgX0d0HvX6aCs/4OGtTJUonKItx3YCt\r\nbFXMJT3KFpyoryb4En3TCnlfcINqnCDgszvt0TEUmrcBe9cgDxhQjOeihh0D\r\nKi6VSdcOmOUcyC044ROlA1EAJv1yEC43GRNg/T86ejL8U2ZML7MAnev/op0N\r\nWwBGepyuphZI4BUmHd8cElvTKtPRmgK+OYebOab0hfkEGuxRfsg7J7rqAaxO\r\nUxSUAaQrVZfcmP5nRL3jcI+aKbHxgw7sEkOdy6PDAx1lx1T3GxoTRhIh5VeT\r\nBHAdUyELzqjGzZXzjp2smqk5un5SosQ0GLb8cT5EN2eiDm/lwTARuRGOEoBr\r\n7/4bDPHFip8ryEtSfpCTYu96mbWE0OyTlQ7zH4/1FytZQER0E6pSnyQnR1sp\r\njVo0GjTt/F5KtitnzMlNaqEiaoY7lFKK7NL+fOcIv9Zb0uEi5poi69eWfk2d\r\nu3fmb85PNSd+loH6RFwf82NoS6RSaLwMNn/3tum4X3n1QL6syD4zOOQ+T8Fr\r\nau1H0+dcXnwy3W9hTa079onHrAMduYxvenZgQI6rDxdMx/6WeYVOvuqXN4nX\r\nPYTuvWtURVEHKOeRDx1J0Cne1HPvNipAm2pxjaMNlScyI9lCqnQXvySqGKq9\r\nFvDKU5edzCBBFoyYGomLFQUWsYdZawI7vjo=\r\n=GPXF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.283_1666050131104_0.34290224087449106"},"_hasShrinkwrap":false},"0.7.3-nightly.284":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.284","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.284](https://img.shields.io/badge/version-v0.7.3--nightly.284-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"287a29d62db4a9dddf44faa792815f6d2e3b9e41","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.284","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-42N3gHT7Ausqvzr5IXQnhI41wHqNaG5xlL7+ZJc4A7rN1N26VbxwmaeYY5YQJ3/tDS/9/52a20UYEBwhVICtaQ==","shasum":"2f4b25271fc9bb3aec288ef4c25b093a38c728e1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.284.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm9nbPHp0uhunU1d63sTbIv63yTw4w9htdbzb0DmskrQIgQ04NO2Tdrwmq52KtgTJcdpRkhdRN6GApk5lhRlqq9XI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTzn+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpF9w/+PlW8utMQz+EhR1RDrGPzPS+CKRdig9lWmJNj9rY6/0XyyBI8\r\nWVUIezPdV0QDAC0XDlLnYL8KiW9IhCSzEMKEqUSfV29ykiMF2ISa8uH4QWLX\r\nFTellEOrefF1LcpAaV2XhFX9hQw6EIdrjAXzJu10j2mthKYVdIvSpAO+OuTc\r\nzfvXTwmX2UveMJ6HMkpBtoyK181ZNRSa/N6Vt7uap/vOTZ0OjA7UqWw4WkIX\r\nuSBDtuodhUQI1wSORPbXkDxBEs7HjLGcb3TRkM+/K/2mh3TV88BBw8VSWfoa\r\ne/dLmWkpE7u3brSNfZAG6DbWG/KZgsLvl1LViVT+onlqFfwVlKBDlqugS3VA\r\npaOM/h0eerU9VTeuySHCIScMN4fHlfMG5cE6cBJQzT7HseRt+dd/uiiBIDTW\r\n2k6WPpj6uC68z9AfoKpwT3d7ECw5TUiwKUBpylGUps8v+K37Fvi4anmGc1/v\r\nPJYryMCc2YIqNnOPAVjmyQV4I6hQR+3oQyEZYAQPRvCF9cLato9pXi90ccOz\r\nsIDHn3XM1ef9qQHwnkekqN7zPnvVLngmjbH35gkp3fcc/v5uiY1g1G9LnvKf\r\nuKERHKiTrrKQpp4Mufo9IBA0ioCv7ONL0mvkABsfuiizctflcPZzkARYTsfC\r\n/FEb9vLaZDLvrxRJMa8Zq/oDrOIb4lLqdHg=\r\n=bJrS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.284_1666136574749_0.9700129126043759"},"_hasShrinkwrap":false},"0.7.3-nightly.285":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.285","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.285](https://img.shields.io/badge/version-v0.7.3--nightly.285-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"576bc24d00d9ed69a215546ddf40fba03ec70ad4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.285","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2wA+jUIy8xLZ16T8XNpNamuCtYKmNFbD95NiiW5gpMvcfWg+RPgNn5HdgYN1pIzYe+uuaTr40N/h5MsJfuH1Ew==","shasum":"3f60fc38ae3ed5ff8008854cc3c1f1db570879ef","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.285.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4zdX702ROcqrEeco5Dqh0ITnjHUN5WvBBCSpZxXAAewIgeSMZmh325wEduBRA8nQQ6olvJua50aQeTOKsiKDX7Pk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUItvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM6A//dgsmyTKM787bU5T6hrV/iGvu1/LPvJ2zr9r2p8IuADIa1sl9\r\n4z/ycipV7Dw7NbmJAyl3CbEUdBRAsDt7hzgMa30DfuN7PgPxLmCGdDAf/IOs\r\na0mOU3so8otm7qTUVgcaAGgs9XQO0OOtarzWKmwjrR5bWL++yjJFhbjM3bKQ\r\nf/SGOcps45s2XaeW7xn8EyyutI9wHor00H5s4SmFMt0JGHVb+/uu7eDFh8vz\r\nvLWbBl0KgC/TuauWRtJNdb0QhhViPaLoWCyKZXHVMa6CFQrLGzbPXE92rFjo\r\noLKFOX84n6XnPU4xt/E+3q9MxMPY6lhJ/CoQfVSP+c/ed8iGzBE0HrCF4aSv\r\nkC7XhXBiqbNh90BsMlJwqf00SLOtQbX4PbEPjOoQunqlVoH3zx1lGZfwnI9v\r\nLWZpvunZmzYBjqwBt+YrtbJ6p92PJpJvtEZFPtg0xB+iCP0Whr5ylMuwOAHR\r\nhZncVZh2jMbfor0ScvyGxUQTUblt0bhOQN1oZ9fDVeI7yvstm9FZ4uw6+V9Y\r\nLZqioICdlg7Ei7rZCdpBerisun6dBQvNClaNp+lwKzN2QCW3wDI3MjAtSXvD\r\nY9/PDMi24YQKvxFTG27SbQP8CSxSY3K5Kml/EQDEIwQ0a4nImd+GuHTtNsrf\r\n4fas+ByRnkQNRgJPxqQOpcNHBd9jA3PDzPg=\r\n=VVjk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.285_1666222959713_0.8302208426371638"},"_hasShrinkwrap":false},"0.7.3-nightly.286":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.286","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.286](https://img.shields.io/badge/version-v0.7.3--nightly.286-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a876ded1d708296f98fa573c8e3762ad9817fb6b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.286","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-y9UnvaxtQ/fbkpOj6C2iqlWzUK/u85qcn6E4K/CVMeL6it2EoGluAC6ff39HJgr10pmlpeBcVPFExg/wEav0hg==","shasum":"6b618e6a406aa5e2a4377611b4ce7b6440511287","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.286.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDHIDltzPflX6Jnfp0O0Ti6LANjjslCAFVAOxLZZqnaFAiAHrIaLEk4EShjrNOUU9j0b2eqZMNXPOcZsuQOuncYguQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUd0CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkiw//Tnkou+RW/+J6zayTERvNcNcqL93qhGhV2yJcD2PQuElarIKS\r\nQyBiV7TPZCKBgH3W1YwE360vrzlfjE01QG9vtk51fQIJSSS3sCHJofAZ7hPn\r\n1Mt7eCjbvJFzdGs6wmuC3Tz9vlMPiDlsCLNAuyiyLXi4ssYoV5AMsTQvRr3/\r\nBeBi5Hc3HXw6SSqzA0tKwktUu0BQLPFWCEnQoHuT3OOJXrzQBz+9uc7yu6CA\r\n/J7u7lNUjf9FA/FzKMqMXhc8R7y6TLfkXdS/3Iyvp7ONdxg2WQFCxqm13HUQ\r\n3BwppmMDPKYF3tIA3tgFyK2DSLbgjh3y3tDVfS8+xjBsg9K+4ASd+Z0RDh12\r\n7oXAw6FZ6QETe3+CjaPhcWHiHXyNkqaCiF7o7iDSDc5e3QXJdixzy9RUAMRz\r\nFCQ8Zi/+z67D1ifKzpdaqQYS2+CqB3FIWciuPoQU1gzUvSURE+KBYFuhwjAR\r\nuvqGGFOwysApQSiUqY8ZsRAGc2uyJrvwSkmmx72msytTpCjZxrsw3r4PEfde\r\nPBdwD1Q2HaD2HkOwSE8j/GyvYeOQhaL80Qi3GS1H/gdP24PN8/MLHDl3MuxS\r\n3gbHC2555zMtRizGRayFuOVonnVs9dGwJiHNoP07gS0Qhek4PZFPDRww6iGm\r\nTCdwXYVvm5Tm2oxM5nG4VmdmmG0XUtS5CuY=\r\n=XTI+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.286_1666309378260_0.7428432512506811"},"_hasShrinkwrap":false},"0.7.3-nightly.287":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.287","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.287](https://img.shields.io/badge/version-v0.7.3--nightly.287-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"be5dbf17dc1d032ac4fb2227b892f2e9ef49efa3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.287","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-JDAuz9Z0NpPpOX5EIYmNd+raTc2v2tIQ9esMJMBG3apx13xTivyBBtBguXFjxBK593znEWXJ00GPd3weVVDaAw==","shasum":"6c41e7bcbb7555ddb3a818bef692b9944027b793","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.287.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDogdmTbA9h6J0KNPVQUBFdBfhsuX6Cih8Nae0zqnK0AiBMD20pjJh8ttrzuNBjvisIp+QoXo3t1Ah3DtaTvHQG0Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUy5TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqU6A//SvBfkMdT+EV1LJdm0NR/6ZQGjRWJktc/69/0HJld4CEbUY8D\r\nvZ5gUIQHVUyyIam49d+6cyg5yfNZYC30c5nCvEhZgifixi/uzA5sAIjvuqUk\r\ntdcy/WoZLjGOegBnsnI053A11MaqRt8jq5+tqd43Sr5FrYbfitIx22ZP12fq\r\nzrAs01qnn7QfJWRyxbnDR1FKbsHXvLj4ydxr918bUm9NsBWTLdcPoQ/bUNBx\r\nAOv0csFy8wbqy1jVy/kxUba4X46byPdUYMAlyr8o9hdOvVO/Ey4luoZWvoaD\r\nGeCErg34DTDIaGmuHqkOkaJFDAyEyAbBm5+kd1LrVT+6RuZ0tZGNS8y4fEgB\r\n/WBTKSIZz6SCAYxNfNuuGgbGu3gkao2fPgh8lPpns97yS/nOUlfpFL4HeRNE\r\nslSeeeegr3c6iXSWheGziFkNiqoyqLQi0MZZVghYAY3uRoXfYZXSyO7jzyF3\r\nSUP42eIMqXXq3Ao4tf1xvEP0kBqalrw6hk24hhIpkt0KKhrR24bJQhbGDvpb\r\nr/u3GmU7ewqIj++FKTvDKrVeknAgj7tBBdjvgjSZu06nAlglZW963n3SPbTJ\r\nMr1eVyyf5PCNbIo/6/+YOPpC+HlA0BLG7bqXuM84nyNkBsNev2hdfRrWPBWp\r\nAL1+dAZdu5ljKz0eJ58iFTmyMo/CdDeAfkQ=\r\n=PJkB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.287_1666395731366_0.45296965633729"},"_hasShrinkwrap":false},"0.7.3-nightly.288":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.288","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.288](https://img.shields.io/badge/version-v0.7.3--nightly.288-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"72798c3d79179602f2dd78054e73245569d8ca03","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.288","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ylqx+8F2yVmaOjBHtc52XxQSCSbTC548sEH1K59wKqR8YTkSeoInhmRtNFIb5kdgorzeqrUxOQMieFg5Q9ntuA==","shasum":"27f6e6e09abaccd69f12352c896bce6598fb7eb6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.288.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpVeg/yK4QVEILzz5ZEWMJX1nNx4+bCWUbbrxpn1AWlQIhAPqlJQlxKkqoy4Nvi5U73XL9Rrd1BxFcTGG6JkoFmBov"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVH+xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd1RAAiM1U9of89hbWMIdmppkymsLwIly74FN2Qe8ozq5v6i1+G1ft\r\nMwkk7bdtUjMMckn9dc0fMhq5SBwiK0VHcbBwYrkaXrIJqBkL1CukhTTu9Hc+\r\nZ+BGtGJDLTddT87XkLk4aCKvWwMmWGajPH1Hmqki5o5kDHruwH4RXIvLUX6T\r\nT+Hco/obMMhNZ5xpebmfeI78NGX313cOKX94gQ0zS620IwwN7XBIZC1+2oDp\r\n1ZQBZfc40miGGC7V7l+Z30n7WEz1wufD19NaVM9cqaxX/h7HkT81M+rMQnr4\r\nCDdqgquXLLbKvWiBKJmDIFWSfrFRwN2jVaW52T632+UDAAqhhjdoTdYGrast\r\n7ozsAb79vim4zFM1U7YGPBfqn++9n92HybT/4y7qYOFrHyGpSYYXq8UyzRJf\r\nBSpZ1nzOYdk9Cs8LbBwC7mKtVHzLZTqPW6TpVergCzGbQ8MKYhVjSf6oEqao\r\nTk+13N6HwHyc7lTIo6FvMU5AXqKCqPlt2VT2SvzHLIX6OFkCuy7rlNHDpsls\r\n++zYduUU2bzg0kuObIApYiPeib0iCKuohUFtN09ZffcY4Y6mieDM11OgYKAl\r\n6m5b405yGYTwn4oSZThoLG9ySjTw2Fq0NwLpC5vMNGzGG65uMQCci21F0Ood\r\n733fa47LT0AiWEkvMcC754SNBI9j0cPrF7E=\r\n=SU1q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.288_1666482097608_0.7351543136652126"},"_hasShrinkwrap":false},"0.7.3-nightly.289":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.289","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.289](https://img.shields.io/badge/version-v0.7.3--nightly.289-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"da2a42d2d169404530211657e5d6956d31ea603a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.289","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-RycTpn9dV8ttfjZti0RtfkNR819MyYDDsgQsiGsFBfeEgSCx3t+Sm9oGSyY1t1qsBXStdgV2C9DWQNi9NM0Big==","shasum":"69062d518e7fafe3b7549df53d739829f01f74b3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.289.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZXY8QqwBrB5YQxbvQtFO/aPqjIdoAx0+vTj3kJ4T2xAiEAv7NiRchKk+wDbxCgXx/QS0X5A5pDbl4VLMjReF1/46Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVdFBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjKA/+IxbSwrmPz4WGN5EjJSO3DGz7JTY1evx2suxT8B8FezR6II9U\r\n18w/36ilzoWLAPkGuFztvtC0QuO9cJ09vBCroQDSbAgSB5yGK9A94APcwlUh\r\nTtNVYB7BgBUS2eWTohCeadnn17DSX53l3w4sLlkg8HDMJwLxbRrPx1w6w7fz\r\n6m3aBz/JFQ3RzglIT+oeESzGPxODhPWaRYtwPbaoVAJXNhBUQ0OA6uBzrhlr\r\nApe5brOy3T9sdiYvqzomtsIsTFtB8twzXaygF8mymHCEzCT+SqVJdGa7H13b\r\n4YWnhwkfA3U7rYit+aJJFiX6gXjae7O1HvA1yNHGeFbDtVmbkOwHEbms9VT3\r\nGVDWPTiZNV/ZzOi/wvmq3DV+ufFm/6W50+p+06bYJetgPDe7IYrKh5KhnbRc\r\nCx1CbMlkOZs4Z4lHLx1LeozXaeMEUxs2mFGgbM68kS4iBZaPrLFHoE+e8CMo\r\n21/8zySk7B7NFbCW0p7hgQxixmXjUlKuSUDU6/fZgW7UCjF2rDLmbWanV2TH\r\nj5xdCtiPN+m1A5HpNVGxk5evKI3bskQkXX0gjynhbpc1QLZC97dqBAhLLBh6\r\n1Pc+1SXjgoUYOtewUKu/EOGX0kR1aiKauy9p7yp+e4zgSCGNERciAp3Bb7LQ\r\nN4yVNgfCXrZ5xSk8+k4PD98Og0CXXzss54M=\r\n=czhS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.289_1666568513047_0.7349205661545002"},"_hasShrinkwrap":false},"0.7.3-nightly.290":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.290","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.290](https://img.shields.io/badge/version-v0.7.3--nightly.290-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3770d1ca3b638dfb43bfa32e7d39084cfeb51e16","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.290","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-rUzrMKgi9b53grWDF/O5gYInOT08BlvjbWyF2HbBxA/1O3HXEF6ChDo2w0rFadt80WCYV8W746FsooLTUb9JmQ==","shasum":"01bb8ffe665949e044848d8c57dd955707c5318c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.290.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1HNy79Xy+IS57vayJM6dHtV+2zgDu3frgfcCNYGjLLAiEAk3iW/11V4oKEKKwZTsHuVLiGylufVCBvRaKIb3pTgo4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVyLiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3hg/6AolXNATnbViYcGlzuMribvYINxqmY7J1oWF8/pev0RtGXyVg\r\nKCXPsTCDvmBDuwKQwLvt+GNfC3Sdismqnn8AzTG6xsBpWvdNHG+Tg4jvoIUt\r\n1WRGbiW/oLVYUssioxC0UjEGzy8fS8ZuW6ZIm/z44osYFg2u2Gn8bu8mSzKZ\r\nlYuuoJxE8QrxxlHHRFiL40YQGDxw88cRVZhTQxZug350lci0lX7DXVQRERyi\r\n+SumxewTZO4trhHuL6dnyGKsfLDp4VB9FqyVmhmog4np0zh40bUg5W5VbmEA\r\nzFpB1a2pC/quZT7GEkgzN6v8+zLZpEdmYNKa7lCvr7dtowkgwhpIDn7RWFJG\r\n3cGeSxh9HT8d3XnHH2Ew5ipIM0wcB4nVkqDMEDWR/T/YL125RmCEfga3aWve\r\nIv6ExFIDx8FtCvZqL500eMvBi8G2o2+Zb/niFlXl8zbo9hd+EbZs9HOv/hZt\r\n31jmeIXGJK3+AiqojAa0nCMcUhZZ15GZRvXNTorL5saKNTDfCj2iblCWXbhG\r\nIugl6cXw3hgPuCZ9aL84AcKwqKkpSuheT4X10KMpCyB6KpCBUV47Y0XR7464\r\nYrzQGFIY/X9Oso5jVsuA1G36PpGgWnA4hx8zbbrVk4ex/6M3jMV7MmCqTnjZ\r\n11u/ZqL7LHC0yLW02hbRA+qoWNxCB62Tr4E=\r\n=Zpvh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.290_1666654945889_0.38407345094128376"},"_hasShrinkwrap":false},"0.7.3-nightly.291":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.291","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.291](https://img.shields.io/badge/version-v0.7.3--nightly.291-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8ca13b2bbee5286e44f28f797132f718e520826e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.291","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-RUuogirx/msGsqG2YlssBQyE8DDALzYltBthaMK61/Apda0QXYKxgG8pS72pCGjDYP1gPRasQaS+l5JNNGj//A==","shasum":"17732d5c5e93e6f1300b9142ba873b26c0be299c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.291.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+5tPVLVvrW3ZreBAfOM0hX1aVATQuVyxrcH5e/7milgIgJXhzuA304epEsDEkFJ8Zamq5c6pVM/07kw1U1KTsKow="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWHPKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMEQ//VeEN7wZkAxUcbusXnjcgxhcjBAmH6m+g00j7JLLgTH1N0pY5\r\n4VzLC5nxeIVdPGq/CaluNS28aDbrnSB03qzn/vwcEao/qIexF4ImtE7HK4Ku\r\na+PVNB8r9Z4DS77V7Zh+4r2M58hap30bawXqwDJ+/N7upnwtSJZ/j0CCOI+Q\r\nOacyXgpHx/w9Z3LTMsjNGx21Y3jbc+STxMqt8NI5D7lgWzhXPCusPz8YGxfQ\r\n9oRAQlBt9RhVWcVNo+d2Y6t0FyO+FdD7jModIK9DVSDXQQYjOz5XNR4ZtIXO\r\n8ob7IKynojEfFFfddaqn0g2qaQtO93WyEcln3DU2Qn0arVUxK0E0vVngVjVz\r\nxJLDzKT2WFJM6CqtOzwSk091dJz2oRKb/vdm6uMMQeb41ELd3cBSYjJ43uN6\r\nd2U01tpckkUc9LbC8AtkMLDcN9mdtsoAnEK5KNKN/vT6XzbeWtawJVQ5jupV\r\nYGUUE/qYRZgqchyN2DSfpjrG6koHknMnkz4MkBAsVHxsohDZ/XoZLT+urVS+\r\nUvM/edkBpYegD1GpYmfZe1N9R0p0TkggU42sG2+y1u52jhHCTNkg7hINnEe3\r\nLycbd2+Fmyz9S9PqVxSZI9j9g5AmZY//FkxN/3e5NArKqLB8PxE6hEmnuR+h\r\ndBoF1bYWkDTw3z3EgPExQLpJ6Wff7nJ6DDM=\r\n=9jJe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.291_1666741194292_0.4310437148467554"},"_hasShrinkwrap":false},"0.7.3-nightly.292":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.292","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.292](https://img.shields.io/badge/version-v0.7.3--nightly.292-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7e5f4baf2f6d50f68d3a27733da97276a09f2946","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.292","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-pe1E1ViQwcwgICJomF1FYRJMS7jNuKijuKzWr1EV+1tCCQkVGsKbelpmHCDiRRwDbhAEjiKqIw5vw6fbQrd0dw==","shasum":"5cd4fd7b9c242debbf21b7449abd8fc1071ab2cc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.292.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQIG9G2qG2fnQeYdMyuDMm2wzcGFIi2PydQb2e0en1YAiB4nfzi5ha5BZ8naD4l7LEMY0eB7maN3UtXZFB0kbhuuQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWcU0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgbRAAljbFdSY1zW1eSTu2GOnR8h2dH4bIfSLaCNc5daegNzBD1OOk\r\nse+8dgwl5kEOimb8I+pMEEWn2cTBt2HDlT49bDf1e+s7rkD5S53ZweVtXKBs\r\nq7URlTGAXsI6cvfHa7P1yrlmIOFHEZnPfTuwsl+iLaTyw8uOoJN457FLTZfe\r\nivoLwPAXP4zmfLP5MgHqOXm08r7E14sC/rf4D4L9UZiZsagMK7Ww0wMxk8DU\r\nj4HnfgAK4EWH6Q3uwFltdHB7Q41tMPKMZEdr2em6OW29LSg+f+Tkty9uifJX\r\nTwGqvT1lItY/FMmyCv3Mnbeamc6Evss27lgYMiiCilM8ECsOkW+rrQY9G80l\r\nWUZdHszD1hf+NBhOxcXxgcu3DtNq1MAbulOCbhuYEvLpB6ZFKfdKPKDpS28l\r\n7Za5BuG7o8CFQR7B4IHLlq/az67dRE1tDwfOhurppqSXQfbqdCuZYcjtMjqH\r\nQ0iKCwA30dqNrUHZHAOoP4cQhRkSTd0uT/m6RGosCFRIN4pOh0fsu9sP9utB\r\n2r2AL+WTC6DhlLqgD5m2E92CVA14xPeegZxsRxWNkgrkDttFTngGkF6WLJKN\r\n+I8Kf10RT5G9KVudIKkDOwcO3FHv6skOi3qASJlMc6EqOQGSX+Uc8ywdOlA4\r\n607fzb3Sr2uA+Cmy873p6tROnAvmOuW1lSM=\r\n=U1aN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.292_1666827571989_0.6768902208193956"},"_hasShrinkwrap":false},"0.7.3-nightly.293":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.293","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.293](https://img.shields.io/badge/version-v0.7.3--nightly.293-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8a5cb0b1c9b984538bf3700dcc4eb0cb0ba712dd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.293","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-Cwtzq3DDAtEp5Ap8H/F6rSqr3KAiPMy6bXCkTbQJCRHM0N+/h/cPwNLe7u3j0AE1ygzKM2JYwo2ezR3uvuWMLw==","shasum":"761697344904cd1fa584c140568be853a13e9d87","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.293.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHltAeDdy/tMNRZUIzwf/ntMWW0LRbwJ2kElYmaxr6JuAiEA7+bv3nucCPFw1hjZNk4TH14jJicocWap4GGliz9ihIA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWxbTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXbA/9Fg0z3LjFpsn43urDfwZI0XPzMgZ8AEjs/+bue6QKMFUCzYxG\r\n4incsb35MWt6pfkX0/9uctbLPhvJSsD6ryjc9Mb8wUYLSMAsl29B4WrNJ1d6\r\nv43dtsFI3UcO9XUTtjD9XLMpWyMqdMVMagOkGYA0lsXKedZ60dCkQIhOykbT\r\nxjOsoE0Xhk3ZxH+VBZ2lmbMOWmsywuskFjcMcbJlNR+SS2dhd8UdDlMvZ4H9\r\nyReAxjab0ULsMY7BIA5JGCLOcVvBlfdr2zsMC5VaxzMIXX2/bS6xHK5Cn5AC\r\nvSt85LY42/L7BO6w0z7rNi8R23TgaWwbJbtEFfVQYcbWk87mryqQjWu7d4zK\r\nxWhAA4lGh0Ot6rksMA8Bgck6dnqRbxVWQuUumCbDTa+maVnYzocLtTO41jLv\r\n8VChZ7qEKfzNButtuMCdBZaqJiBAQXTlsdsrAPsRPbdn2O37bSM3CjGIJqGh\r\nd19ZjEHGtOz8gSK7jQkTPxBwhVTmGxeAEPRrnejv2OX9gMhHgn6wSt1p8B2X\r\nnLLt5A5brZw9H+eZaMJers0ThFoyU7CmHOhD4Ox3aSF75A2H4iOx43aMlwgX\r\nTjCp6dLDnwD0QvRM11XIC13pLJGRNDWheEc4O5jkBo5UC4O2dHsSH62FC+0q\r\nU421padjus+LK3+M7R873M89vuIAOLpGdAw=\r\n=eWzc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.293_1666914002747_0.2273223804666864"},"_hasShrinkwrap":false},"0.7.3-nightly.294":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.294","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.294](https://img.shields.io/badge/version-v0.7.3--nightly.294-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1f8334a78741c68fab972fd6d41feb16f38d3382","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.294","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-bHRgazWuNgr6dzS9gnqM4i4V62y6QsyYAmhh22Xghz2bQ+kz1LtWtnRqRevIgtwALi+/5XvjvlCE8eD8F+IRfg==","shasum":"768d6ecdb51009bc8caab8ef38b3e5665aebc3a9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.294.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTdLWuMGVXG6s3UJoLfXLlh+L42L5PL95+5Pzp++y4WgIgKTLP+EUl7RcJZSd0Z6WT7wkBHijXGxoF2EM/jT/b43I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXGgsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvXA/8CBBLz1Rt8c29l6/XqITBPwY7ppSKK6ojqhpZW7cYXOrukiYG\r\nJ+3ST0duMg0S5j24V6sKGl2YhXOFDSxQEX2xVryBYJEH3d/Ilkkbr9GkExyB\r\nTfn+7yDXRSL11QltMbBRxuAR/12goIRmXgWRmmvkZKjcfnUEe0FzXHPkkfWE\r\nB541YzAHBaYrBUq3fffLrUnxlkGjFNoa9ChAoFOe+QVE1awpI4+qvFtwq5FH\r\njfkMbFFIr1aZWOek5bgDZy/DMlpoayu/06M6Rj78leEGVL4ctLord2rZwyxi\r\nZ5al2QuG96TASG+NUuydi2WKkLEUiJwVHkUDwyoJC1xzWmROuyvgccAfSHGV\r\nc6fVSSAMMI+dh7iSqIDiAJPTfZqXl1pYxZ3tfkDCyfjFZsSogvcDvFnUJ5mk\r\nBpJW0ZQybWAtJh0TiWUOeg0Bu8yi2Z68SqCOIokxwQAwh0eL57YEkQrwKPZt\r\n9PhCo3FJjxSN1TzJpRONUQwep44KXNthDpUNitng4nGW2nE98XFfETlJeTok\r\nR0ba5cqFiiH8QEgX+Q/8f/MEducI5v5y+OdPgsmOsxPgtwfcyWozAL/IJ6+m\r\ne7XKG9Ev71Tb5piLAAGMgxAP6PXfqrQYxFGG1Jg5Wkw4duG22d8TSrsvrIy1\r\niBYAAE65PVcTcK6cXmIoGCV/IPkHWdayEhY=\r\n=ikHl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.294_1667000364391_0.195666146195413"},"_hasShrinkwrap":false},"0.7.3-nightly.295":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.295","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.295](https://img.shields.io/badge/version-v0.7.3--nightly.295-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1a3221282fe24ae245728799d848898bb6b968bc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.295","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-2419st5ATtvTr/DfDRZh5WnOIzuOF1vdnA7LmaLoZRUIMYRb5D0E2oI61hcVETuY+15YDeuhaLs1J4IOfK9+oQ==","shasum":"a69477cae94fc25f4e62a50852d23f57af50b733","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.295.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9g4mIV5Ep4m1cHiUQ/3oaQM55uCd2jf3NmZRpLoy9EAiEAn4Vc4A4b4ogCiQCBoP6v3tXLRWrIFTA+RV4xNCV0WBQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXbmQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuUQ/+IBPinDOhaYGqphu03uBKZ6ACxiKMdriclhKIKzUuk4yAJbmw\r\ncYRlR9j9e9DVHoO3UEOUcDAapXjvHpTfhnJICrvaYJsc+VrsCYAd/gmh5D15\r\nbRccigSJ4DFr0SoTTs3YKCWtUIj1Gu9vsoq3EyHFI4VNbOgbI/NU3cwgmxFO\r\ni+ma0Z5uPPPcMPt6GjtuNUOAmSCJsb7mIWylG0k3AwKlr8nal1weHbL4FsfH\r\n71+TvtHCQR6lcyRyNCtu7iDTqqzDYMIHvpX6/NrGTUukotAZfgDXj9VY/m1u\r\n2rtlMhr2yoTpkaDr230SR2qn+++jFrgCGwLb01NTphiZOsGXd4hgWPkMSDvT\r\nYb6GRCZvsNdU6oczwtEn5mOCk82/I5lJNYw9o6yGd3a3wkQpLJEFwyZcq6Ux\r\naKqiCorclqq4ew/cbOkuTK7iOdrQW7EQQtUTSpybKoFBy9V2J7f7xs3AqH59\r\nA7TU4kTXAEpnQnh86XhgfJ7nh+hqOgkvyplMYS2qDBKF0V8hlKYgCioDebaK\r\nNDUn6W6v9H4NToWL8OK1tGcBHfEn7S/gkIEmCzaz2XfxGI3tk80TnLPPRLHN\r\nYbAyOIesQ0nSg8X/asSg/tvdBZssyIQYiHdiBZWVaO4w5cYRaVDZlkB6KTTg\r\nwWBo/THlG3NDJb2qoaeKnFHxCWTDR1h5D+w=\r\n=TOWk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.295_1667086736300_0.2487018438460762"},"_hasShrinkwrap":false},"0.7.3-nightly.296":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.296","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.296](https://img.shields.io/badge/version-v0.7.3--nightly.296-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"12b8c7ecc2880621083e404593b1ab330867d22d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.296","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-3Sd3ixcihXhiEaPPSRwfS5vi+9YjLV0RhzaExZFegIWYXFEeQA7x7kA0xa0RAovsSOwQGYRKXEn/7UCtU/xEtQ==","shasum":"16fa6643808d723b7d3f3b9f97cd7f2ca6a70181","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.296.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdObIQtNZGipy3hSKDqM5s/80KEDd8L56Tye8trUvaxgIhAI7bg2ulFZ0BHCPEoXeygg/kcZG+nA5C0zm2/P1RTcA6"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXwr/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBJQ/+Iye2ntcPnguLQm/6VTOUIlXtt8mWr7dFQN1bjJ8Msa7DZ4Xc\r\nqtUYsOcr9rN8g0Tp/LQKqNhCYDOX5xWiFw+QyE19c82Ltb2CZuLmpon0w6rs\r\nIezPTuAPX6IKjKtwIgU0ZdhdtBA1R/rog8jW4HjPtD3qonAnxqXt7PeCDEwR\r\nSf2iXYhlyBXr44EWGdRwNWuzZ+RhcNQr47UfXyoWqjJX7NR8Ib2dDlLOToZu\r\ngCtNaqSvnT9MpCd+7fEHU+0El6oDz8YaVHB2qMJnKFkF46jRaZcCPh8vnB/0\r\nfQq2iJeyByONSDnw+mhs1DZarZX5KPYyUHCHLkOPi9EbuxQnhDch5wf+moYN\r\nc00MmVT8GsXmrtvPQnQmINnhhp3y3xsfPX7KsRx1cGkZMnqHhmbWiP6OqCZ7\r\nP/ta29zpcBYDzHfPCeh+6aVPtTNQbQEIyEX90VqZLdQTpE4l8klacT5+jXZO\r\nVLLOM7gp6uqmeeaFSisil+RufyI8mzC6ckza0c7MMV+0MpVMlSSSG/R9z8Qd\r\nyv2O9sUC+hNtgtu/hhLgWfLT/EAYC5UZojn17uL7VUtKtHUpP4/kI5kBrnYG\r\ntRJSPU/hdt5sXIQyECG0Faapy3oqyjSZ9gJSrx8NTTXfwz8HS++EnmCY8Ud8\r\nML8Yq0n/oU7cQmPKNZpMa2pyOuRQHgijPzU=\r\n=9ZTM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.296_1667173119490_0.8534843927461306"},"_hasShrinkwrap":false},"0.7.3-nightly.297":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.297","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.297](https://img.shields.io/badge/version-v0.7.3--nightly.297-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"95ba58c2d51b6f2986a55fb6bae85729e70e2b59","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.297","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-7CV7UEU5wqyWHL6zV2OHUjdKUFMNZ3rCCNf1EmQSdwaBN46Q4r1Z1/WIm32hNEkeoF29DKAcoKiUjNYKznpLOQ==","shasum":"2c10247ac9fc7ec00c1b98ac8fd4e9c8afd12cd5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.297.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3Cl0pUx1382bqZ0+YEw4ja7J4lBUA32pRGSo3OGMPFAiBSkEP/6sSO9HAQ/3hTM1WkLq4T65BGswHE6YJATAxNqw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYFzoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmUQ//UALe+hiSIbpYWW2Vf+uwtzu4W2PAuAKDI4bZ4juy/2qvmbsy\r\nvoYddIDG28+leXtiy/gEZzUbQNLZSblqA0uRvFRArVClJBhRONj8jIVJ2Kj6\r\nY8qGs4UdLa3Wwgu6wG8kzBaScRnFdUzQMTP4QuENI1mPQr0KZ3FieL8dgrLO\r\nhPzPmkRP0Euvyfg3Wa5QDmplVLMAOBzauVylC5gKh3dbQ9QTsCfU54xSemqW\r\nOPWa+8NI3ngdMJDIGu4YSPtuNlQua27hayMPyl1c1yvcAeuA/EaRCPQfWDVj\r\n5cRMAd4BviLPae5sx46PTJtcp5zyU7yTv5q5VgD5UlWUUDuxDb8K8/28QVfM\r\nRgasVXfH/kI3xvgv+JZYOqn/+COBzzH1dVFSBQEY3w3MR+Z65WbUfGihxOMx\r\n3sDwQgNht7c5dZzOTOy7UL/12rJ/LKVb6/MzDCTSVrndQuhKOGxUX9H3hea0\r\nYTCwQYgERhEDduIzP+TE7wUqQee7/lObF0Bov+pv1aN7QBBepsm3X0JHWaZw\r\nnkV2N/jPJQdPfYnTz1oR/SaChitTocGgs3B3odmyeq4oKp3VNH0Eew+tu3cM\r\nrOI2lfC6+XxrR+a5X++4OybFyZrzhDT3qzobLMzNQ8AgIbqTHvz+ZtZ2nJ59\r\nyoEMCNHYd35s8GcsOBWEdJc8F3ZLR3rwAcE=\r\n=5B03\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.297_1667259624800_0.2024705946561689"},"_hasShrinkwrap":false},"0.7.3-nightly.298":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.298","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.298](https://img.shields.io/badge/version-v0.7.3--nightly.298-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ddac5ceda84c0e02c6e54e1825b13e7f654d5dd2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.298","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-6D+uiqbTHSsu5ynepSkZmZmzidr2TgwzWI6+Obn3VrRtd453Ug9xFhat4W4uzouRxEj4oxU9B3TuR5nrSMjQRg==","shasum":"28c7b762d7f0f5b0189e65e346f135115fa16970","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.298.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0WPKoE9z4yYBv+ZdkDskUnbfMeG2D5LG0O6pAdfwdxQIgdOnCMUdpQivzTvUFwLNNxrlhG9PIUfn5l/xalEJd99M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYa4oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSkRAAgj7mU/lEd3VCd26x22fpzLl7ooLz65Tg0OWzlp7U8wM/4CG9\r\nI2heYOBqzSiBH8SnymbN56VVvIUnX4fK9X5LvFxOwSqWLlrH4BOu+cvawViu\r\nFkyr/1Xk6jkjPVRiVK49gnhCsaPSg3TV3EU12kAqd2N/Sz+SMu8Jn6tihm+x\r\nl2iiuUEjgwLi8ff0LJQra9UZ4QnQRdmoyjuObr6/fYkW1WJQsE5ObWdRU3cN\r\nKGbW5NoxNyBUnE6r6W1CoFRlabNXZuDPsV1gjAU1imQQ0bkL4zUg9TsPELGp\r\nC48yyAG1SzA32LT3xGJiUHBMyZ0ScRG+hEmAvt5JSx8P+avZ3LcbCDmcC0Ke\r\nX5Pb0Q50DqHMKXuJ9t5snFa3YEZbYwngSRMQJuJ/wUEatND52Ba4TYLdjUa4\r\n8xhh/5aoDOtDJNAs9XZxv09eCegYzvjfg/GjlhWSy10ppouAc6q1ska89h2P\r\nb0lPVDBDejKPT/3RC+CSwGBVC/4d5LPr5HVxLvMQlnxM5hkIsZCwzcZv3Rmw\r\nxUD/Lr5wi3ueKAS0KkzaUqzj7fKUVak+WFXu1hcHqs3eqy51eW47ogIzH3lH\r\nc9fB/6ivU6vXo3k8l7DnkJ4pOlbajoAOmbZHfPqgKpZq7Yp9G+qF9VNbZto8\r\ncHiRaaxv0qb6W3zBkWeBnJc2CY8KDcPZBPE=\r\n=OsOj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.298_1667345960095_0.5483221728736201"},"_hasShrinkwrap":false},"0.7.3-nightly.299":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.299","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.299](https://img.shields.io/badge/version-v0.7.3--nightly.299-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ef73885f8a4baa7689f910c893904b891bd7d7ad","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.299","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-NnIwzDps9VZBvQEkXsmuiJzOtBmVArPc1PwjbKL/+VipVPlmIEZElNyJ4XIyU3U4pc2cUCCEOQkXRBgYJJeTzA==","shasum":"4c66560bc35f425a5c17491ca29e396081cc52ac","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.299.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCg9iD/5Ofh6yG1J/1kCRaOn4/K0mcKKyBL1WtIHOTfQIhAPV5W8b95Mt951CjvXPZz0ALE3QL9js/vRCJ6B+tm5KI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYv+rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXDhAAoNuUevecDjQM5WG3lSHavku0Kho39YOte272oaLhPEFMAYGL\r\nwlOLSBRY4v/pXAA4aYRhB8HhHXZm6BJIbIShsjcaPGCrJ+NrXomXFsG8pOEN\r\nYADtUmUXpDZcRWhXnm2k2drKu8+ssf7Dd1gFXygQB/b0Z98Xjsl/+MF4bgKh\r\ni4ujS1JAh/zSel13ugGy+degabSXRrOB6epZDZsdk9gfbLo8w4SrHNQpY6sz\r\nR43GNuKwDHXWJqqHwBaiJJD4MOYK+E81fIHmP9rjLb+xEbhGSNfb5n+c4SXK\r\nskBFWifGGeK9UcbRfbB3FXxbvX2L29VsYD/kD4A4zuv2UwmGJR3TyZCLtIa7\r\nZ6NU5aRqN57FhMv2N1MC6/Ki+Sf3JLSd4tTOOkkNY2OHWi7UKKTaBJkPcEgE\r\nATVLrDe6FQILb1BYrIrm22ZlKf9EHOYFuE9o91yd92E5crCMLtr7itKIZbON\r\nRpNrG6fyfeuNBTmMK85PTSz6+wGaKDQ1ZhqzqsYUiD3qm1gb8jFfUTUOO5Mt\r\noF/kIAX9WelpY2on6EQdmAVZOD141+xCfHP5/J2iXDUrqV15Mig4/ZUWd+8n\r\ngz3HMTubXStA/ym/5tdkMiDMxRw5q9Ghx9dJm+NMqOyiMRVq/Zdl/OpjSM9F\r\nbrQKB4m4giYvwJxgz060yMzXuanGDlHCWM8=\r\n=hx67\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.299_1667432363169_0.6985680864016126"},"_hasShrinkwrap":false},"0.7.3-nightly.300":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.300","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.300](https://img.shields.io/badge/version-v0.7.3--nightly.300-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"94f64d25e61ca3cdbbb52ba49481e7345c152453","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.300","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-aMMNTJIE5+0U61z4IPW2ktmZj/UKUWKeYJLleNdPqqBu/McJIo5Um5nJx42a++1JOtIUSs/Q3eWlpMAT1pG+HA==","shasum":"b89a606d179d6300bcaa6b95bfa1c5241f48df73","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.300.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJcBqkzFPUxJ+55NfL3s/8lChcNq0oNa7JJ+DQQRSrBQIgCmKcy1Cwi52ZnTC1RdCdgS6rvyNqQRk30L5RVdCjsA8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZFDKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPrw/+KzDUS1vYy9l8Kv3d65hE7mNWEAcEOhgc7exB/+jRagWIXkUd\r\ngLwfOvQrVhBXruLDhdeF3ru+Sqwb0ZGBo7hpOzytkSyksb2Bs+guhvDEvdS4\r\ncC5c61xKnvSxygJ4eaS1GifuHC4JYTiYGOYondED9LIDGVdoNRkgwXLJ8vLj\r\nNd5eUmtTSkwlVEBCgcjOF2xj/2a7F558Xa6ZOKpuzloW50iNMfG+6SVypwps\r\n9pA7eq7ggGz109CS6JRo6pDyJ7JtSb1zcGleN7n+nFLRwpuLqU0VNx/VEz8M\r\nASDYDyewkvx7yw2bEMke6TEPQjhKiJAQQfBnvGrpYp+gq/1oh7teGkRlRZE1\r\nMYoReMhCLk0k1QZUGg3cleXD0QcNYhW1K40ISs40jz2Zkh3gVQlyDAmgJHNW\r\n0Gr8sjqFgwvy300CgN9j7IE1rdV7QSOHbendXSZrmfWErZgtaQu2ciG2LNUD\r\nnHk4q01HKUtE7IbNnTrxS81tcIomuE5U3WybH6pNi4MuUb/4xEWn7iyGVFRN\r\njImAyOD74hcwroNIwF0YA1bHVx+hc8n73keNFKeobcsH57cHVxQfe2LGMCEc\r\nbXHUheaA4KO5H1pixdQQR/DAYNny61GtPQce0jpuhnRsFJZyIxkfFvx5yTmk\r\nKUoMsdsslxQrWvrpliIAjTCZtL2gev2JEGI=\r\n=EJx1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.300_1667518666127_0.572300658950035"},"_hasShrinkwrap":false},"0.7.3-nightly.301":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.301","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.301](https://img.shields.io/badge/version-v0.7.3--nightly.301-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ed8101b7f62ebb22251de34a440c199c3f70d525","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.301","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-vK+dpzIFaNOjKkA3LMrKsCF2up5PD8OvW42lY7ih3bDCl1iuBvLhj0V90y60R3E7FZZUMTGQj2ArclP0y3O2hw==","shasum":"420e48476f20bb58897e5833774717006f5e14a2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.301.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUKGn7olHgR8Tedyz5nvWaj/zNh0+qpmO9yViZe6l4WAiEAhXH3tqjAmOEPX8vC3Nka6CILnmBjP0VeDseg3Z6gm80="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZaJaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpokA/+LWo4x+xmgcWBVgXwCUKCUj65Hll5ASticpgPNhZJHRsCP8In\r\n7s1e/pR8Uy2yrKwLrkmQ2CfWlViOJ7sgZ3heqLpTim/1Ou6Xo8l9gQxhEcZV\r\nya9UcBqEDyIr2Z8aFCMVr7SgvX4BadudlZQzujAGv4qUyvOhUdbxCVYDtDSe\r\np23UXjTnZeWAtoOH0qZ+XoI3Pi7pIdZPefUZgvCUv+js9Ge4uz9uT55Fp3XX\r\ncLo67I174kMszGte5Z/N1wUY2+pbX3QbxTwbV9Qyn33uNUua66ZKtM+rhel7\r\nj+ISNI+UUdaAdM1fJUqY/S2UFhb7od8czals5XE9jYvg/mMHR2+zulNKnahk\r\n2eHwK+AvxG54ZI3+j+GX82yIkdT5VdjxhcOuNlxXurNrZ+Ra4SJX+Ch/Ccre\r\n9Hy8sYd2m8BmebrsWXrvlizbZmJNNhn1Oz6b4fRhcMEqYquUE0Xw+vB9ZUcI\r\nSoUJ86q25RiFEoTlrKD9CSc4IJawu0DV+IqTKSX8Lq04ZgP++NxKbeyW+UfB\r\nR4rXVc44hCK8Npb5A1Aqjyi2vb8kBqKSQ4N+B3WAMmgwT9mOV9VCj9v1QHo6\r\nvKL4aZ44etfpFR3znWQFGV7sB2aa6NWCOwtMQCmeSPqY+l6KcuYka4tRxNqg\r\nkfMuv/ymJrw7F7r6e49XI9WyusTkfXS8nDM=\r\n=D7qA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.301_1667605081807_0.3052158635868105"},"_hasShrinkwrap":false},"0.7.3-nightly.302":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.302","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.302](https://img.shields.io/badge/version-v0.7.3--nightly.302-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"677ddf3f7980b558f15232f5c4322f818c3c4698","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.302","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-N6anshFuzkj4wDYH40LsjzZVnMNDdM0T//Lg/pJ9xRqa/HuWJmKxmp/vTL+n14WojsJCw1Pl0fSnbYbzlyEQGQ==","shasum":"e9f9b1884c69224100b5b89f656a2eb07867dbfd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.302.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIvbD1D9rdgYV5XhvlrYx/F6QuFN7T4yyNOpZmX6FLdgIhAMvemBC7GtanAoON/SEOVwPPKEoV7gnsmz1aXr/wafSd"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZvOEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpL/Q//fpWkdhVY95zqoUFkUbL1v076Rybo1AW+ksSUaI55E4+XNeER\r\nZZ1bV2UyIWSNxhZAB94zUkaV8QFMP35bGzR3ns9mM7X3JFHfmCrLhHcqzlPd\r\nXTzSIAapUL5pCxBIR9lvdMZ1me/bPBGKfnUrW96/bLUYB9qMDvRc6oYWtLLD\r\nvIo5kNgWs4a5cbh2/Jkb08dbJFF+V5GkP1NwfbMUCJk0QMEx06qtqULsWw5P\r\nieeA3qd11vyXDsxKHlWG2BB94O0KkilfD+zKV+MFwGdFagRH0nqOLBnfr7cg\r\nTjAXlpUIT4lSEA2bI6jJrP+HjtqYpTjfWneFnpkjf9PEd6YzutgMbloCDAmB\r\nIoVg7OPLRmNu6dKECYPWrNyfKCszH0Sg2MNPRl+XY2Od9VB7G8XpOuQYCmoc\r\ngrrXCfe0VPUrUqSGJR1I+335308ueTOtIzY0oHnTN5BM8H0CW38BZRJ+y5vr\r\nY38j4pdB+RCymoaU0mokYccGTLRwHsV02paCcdlJrgNmWQcKwTeOThrqbgCj\r\nA08dcPGltW8w8/1ycTU4HPuVsNBzI1S42dzfUGNcoaCODUpZZPrs2684RFgP\r\nZmsBCmyDgblOjWpLZtRJuadJtBU6u/MxOQmYvIPfWH6WwoLbjI4lyZbt/Pg3\r\nolAnKtz+k2QutChHgpgX+B3kWD4/LViLHwc=\r\n=KIx4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.302_1667691396664_0.5932139080472285"},"_hasShrinkwrap":false},"0.7.3-nightly.303":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.303","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.303](https://img.shields.io/badge/version-v0.7.3--nightly.303-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ea2884d3f194f1dc73d5aaff642a5dde887ea5c7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.303","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-wbdqFjUReMG0FK7RnH2Sdh9g1k7+xl21CoU5FQzNxryZ7L2Y5oWdWNKf618/ZRehzmgPEMBcbo3NfvHevwQpLA==","shasum":"f59dac3d4a25a13a7119b9e03e8096f82c7adc89","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.303.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDP5KPR4LLZ2GaPEsmDw12qIn8HCWctXLCF+3W35OV/NAiEA7ZUg8gMB3TxmqQlJB9sQiulTeBi+DjHs26D4K0QKbMA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaEVKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPFA//cBDL0Qx19TahY4eNktQqxpVRFgm0LTikgex9/WCiqwgBMKks\r\n48iI/hjlTInFgdKU1XY9/nvDmr7LcjEZst9ieFwelaRbJeEQf7Ndh9bhkD5z\r\nyQdMKzkuSr1L5rjWpr/UYU+L/AK7C4IdIOPmqgZCzcvy7w0FnhGpiRY72nOD\r\nstcaTiF7ph1PuS+4RoGQHXWu4AbpJkua9WZNpEC+qijrm91rGN4mR8Vz0hIY\r\nbws4tOyMPKGCCp3IRFYnKMEKrmvbrkbYi4AXd7d5P7vxWm7lOYZ17DNl7r93\r\nLdI5Uh2kTKAN5TkS3h18OD4pGBiUCELpas06pbbXmKOusXd7xJjAQerHHeEf\r\nksEPZMi9Oup7YbwrFw677ag6S9/iouOfFmYnR+5wyQBEmVVT19eeVf099H3q\r\nDwITSRFEzEbwMtsiPlqkUSgWjEKk34gfSHBcAvjti+edO6e7vJPgJugpDh7N\r\nEtghj38vZdlw7+rFI7wwXITOcQDRu4NtR9KaIb+KyMqM1vf3z3IjsDfEfhH9\r\nTtNHinCChjE2dmfCFy00tS79yB7urIoSTzvQVNzrVhhOJONfYOKqL7ggogmt\r\nqxOFYaoFOOwEz5avA0fSrGP0Aqko9f3qKZf751O5ZxMK6ca7CuncLgyQrVfn\r\nYkotmwA2oq+dKpYLH1wqCUrDPx5Ue2JHwmQ=\r\n=hqan\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.303_1667777866423_0.26496717913113144"},"_hasShrinkwrap":false},"0.7.3-nightly.304":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.304","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"init":"npm install && husky install","setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/bot.ts'","build":"tsc","release":"npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && husky install","postinstall":"rm ./node_modules/mongoose/index.d.ts","prepare":"ts-patch install -s"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.6.1","mongoose":"^5.13.14","pm2":"^5.1.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.8","@types/shelljs":"^0.8.10","@typescript-eslint/eslint-plugin":"^5.9.0","@typescript-eslint/parser":"^5.9.0","all-contributors-cli":"^6.20.0","eslint":"^7.32.0","eslint-plugin-jest":"^25.3.4","eslint-plugin-jsdoc":"^37.5.1","husky":"^7.0.4","jest":"^27.4.7","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.15","prettier":"^2.5.1","shelljs":"^0.8.5","ts-jest":"^27.1.2","ts-node":"^10.4.0","ts-patch":"^2.0.1","typescript":"^4.5.4","typescript-transform-paths":"^3.3.1","yargs":"^17.3.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.304](https://img.shields.io/badge/version-v0.7.3--nightly.304-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm run init`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init `npm run init`\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2021 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b0ee6f4026af1aa8490f94c876ded8d3fc2d0496","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.304","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-PD/h5+R5/jTmLRzWFlH0HcsaJx2hbnTwtUjkDj4hWmZtApt8omwdhYs0An+H20yCSpfso3fcNRN6EP9WaSSY8g==","shasum":"9a01603556eca213f418b883d9772895dbd2faf2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.304.tgz","fileCount":7,"unpackedSize":27127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7/2i4crIyJazwpE3iIgiB03l0UY4/RIAJ2Qd2cT8FlAiEAnDgTXbPyCffpY71+B6VqQiuWNe5rqe6ZBVCcMCjsjdc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaZcEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosfRAAnUNuJJjsxfoArEw3onla3MNEBgqndPmKK+yHIGQaEXV6em8a\r\n/b3VKOuZiPKoaWxJ0B5OUo7r26NBgA1WV4SWpHWb+7/hlRRYqHeKctYE7yYE\r\niTfZJOTxt+gFt7exRVZ9Sgx/073H0NoVMJk6xGcyWQjN3yI2clr0LwTUCUSq\r\nBdg7Gasl9tJGeSVEXw7Jy/W1rg47SyJyIGkIu09mCHTwp19Cyf3cn8WGLhUB\r\nJJBMjiKqoCKySYMmx4x+HoApbjOs7E//6tlZbd+K5P9bKUEJSXHT1DuLUmBP\r\n5l7W4ky2fVIZVdKFebqKgPc50cm7fi3xEtIVXVSIBisqRMifBvqlq8Upylg0\r\nOAWXyQ58Se6ujAQsrs74PEUAT2d+2qFMZ58b7h4YUklG879SK74epPtSuX6J\r\nUfPCi7ZCFc2fqwNgJDN1Q6y9HUX0GPSwfiHgirCnTdjJIQyqUzYDfvhO33sc\r\nLRsE8/2Doxx1s/SIuz33B/3ZCVMa6RdN+RPNi3AgWQCFBFsaFB9+KQj5kL63\r\nKVBQmGYdhOvqODi0tl/lJpNJlSOnjs/XQXabNIQBR3iQco4idVkpRvTLMZAf\r\nwBaLVpo7vArHlwBHF6Xze/lfCBNHI+wUTz7ZS6enkxd1XHtNqyrQE53t2x7v\r\n6o9z8/T5HA/loJgqNs8M6ERfMd5J6geLx/Y=\r\n=cXgO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.304_1667864324391_0.064814330236874"},"_hasShrinkwrap":false},"0.7.3-nightly.305":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.305","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.4","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.305](https://img.shields.io/badge/version-v0.7.3--nightly.305-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a58b6cfa546668222072c6df9b3040fada664e53","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.305","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ChKnhh/bxNHokx8zpMUivsPqDW2Hll5BVGW7nkAnj+CvA4Yy/faHpPpa5lifgIzFEzOfaKQVucG77r8AE3b2IA==","shasum":"02d5f0d86c38844e0e6188a7233c827f29893924","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.305.tgz","fileCount":7,"unpackedSize":27600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBO0Q/P/ZMqj81ApByIEwUautKx/euK2HQuftcGo0qFPAiBgot+H6Xe1Ls4OQLx+GJfZCUaMFd/NQh6M0TjJFOl8Tw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaui8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRrBAAoXZDwzY6XZT9whiqaz7IIJraR6Q///J2/px20d5QfFLwe0cj\r\n/AFMH2R7yxWGYM7zWh8XV4rJ0f9b6f223u6lUaNjuRCLr/3NsSo0rUeZg+cH\r\nS875TCAsA1avFKvQRuGFRpzKzYwcdsr1I2zr6Ei08Ks24UqL2v0KLpNufP2+\r\nRHeQl9Xllk46X0Ow1FKybETOY81NmzJaElPRziWq95WdhLPPGICpNBV9spUY\r\nWl0ovHNtvEi9tnzhd/sYQwIngABVnbQGpZN3pnI/x68p+YLSEBWY/ViXlui0\r\nliKzhDBdmOJnYqo+izLX9Yt0TpE67T9BneD0Y4zKjaGfRDChR1WhyVBYYmpV\r\nSKnMhkGmE6coYfilR6hnCEXqUSM/Wp2Grcuw1JbC/yANjzPiCDGylbb0VCyn\r\nov/DM2O8/GKEsummI1iYtIeb5GJcb8l9rAfIdsr+4aEbuKtsV47CLLeQR0ar\r\nbEhe5TVIBc4o2ohSiZhYaEgtRfyCRvNimIt7DirefLotPwLEC1kNLRc7Y0fY\r\nezqVL9zsZmbs4Qbn9UXf1mm9lnheP9UvqRqCTIPctWBVZQoQvGSQic0pfZ+k\r\nARh4Ju7uVJK9w4cL3TRTEr80Hnm2z6oCFjwRrkjkbLgFsU9tL0vNHQdZaUrv\r\nggh9y9TxXwSY/eX9ajkGIuT09vV61mJsOVY=\r\n=fws3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.305_1667950780672_0.31293689907469613"},"_hasShrinkwrap":false},"0.7.3-nightly.306":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-nightly.306","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.4","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-nightly.306](https://img.shields.io/badge/version-v0.7.3--nightly.306-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d7340f75ccacfa779e1cffafaaa047f9a7292b59","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-nightly.306","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9KogajXYjOl2EU8d05Q/DgM6htpddSY9JKZAq/uLQ3eJ/N1ZLUZIPe8H0c0pYiUtyz8JCgzh/AApF5srYk89vA==","shasum":"0d1681050a60e1d18b4ceaa494a0c79e7ac076aa","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-nightly.306.tgz","fileCount":7,"unpackedSize":27600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPAxVvsdz7lgRnjZxpJ40lNYJpxVIe2aYCCmCyXoOWVAiEAgRSa7KJVdmuzzOsT1+Ize1DRGrLatyMBypvDkGar7yw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbDoPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpU6g//ZmpiqX17kgHMJXwJDsXULbglz44+STfcmosJynHNM4rHSQdQ\r\nk7n6XOcLiReWVLYWhlwDRb+tZW4z/JhcaIuBQuL2bwFa2hLSw+JNPJ8sipTC\r\npSLQLgnpmuKpmtCJ2MnXCeAUIIwRIrLQcQQdKbcDzxIn/svgOT6uY/6zcxxA\r\nHg4Eew83yEWTf3YlaM8JuUquKbgIVYbRG6nSFbOlr7KpTLyBakeipxJYPc92\r\n1EHiO18xyjuguRfS30OPie+wAjgUt16kdtoxo08aop2gKzfNYF1lUYmXbYtb\r\nZ1DngcQVFPbRPGnEffaZ4DfpV/5M2I+Z8EAqvqFWbs9G3KprM53A3na/jbAi\r\nV2sXe2cF2SjsVJ5HaCxWt0/qa96fBEA4w9AEi0kE6X0qdL25VxHJzOG+OKPX\r\nv6om3mn4c3cgJ4yGMx4X1UVumFVDAj5NU1/5QyFyjZ8m0/Zh2tpntxXSSnoU\r\ng+cf96ei3uWQzuaP4qk7zQANPeDGxIDtVjIAchup0y2uz0jWVbKw0wvvQDJT\r\nP5m5AfjzdXE7W12lCX8M4u9OleZBI26xU4JgTura2ZtwjlAVTtIC1PdhutTD\r\nnxs1B0CwmvutifTPPQ3hqWyNxjeQe+6iOYcDbXJUuE7ltPolTbI4+6jmZk0I\r\n5Vj0n96ursp7mVjVT5KtwzrMuGlSlUHcWJY=\r\n=kRcT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-nightly.306_1668037135567_0.6296069687304655"},"_hasShrinkwrap":false},"0.7.3-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.4","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.3-beta.1](https://img.shields.io/badge/version-v0.7.3--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cca69ce9a70be17b61d219b8c3eda63d7f92f2ac","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3-beta.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-pf/RBJ28VtwLBy1kLXH1OPBy9AXVeqxhZlZDoYBA0+/cWuHhoHh/0RJXGEPqjzJ4h/J+Has8UDBMy1JQQBAd4g==","shasum":"9683bd5901a8fdd3e578013158ea9721107a216e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3-beta.1.tgz","fileCount":10,"unpackedSize":30415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiw0ojHCBMa6wD/pEsRofMkpZ9W39VSKn/f71tGTl6YAiEAwBhMj8sZyD2FxS0xLJPsJ68qTBmuDOX8G0EJfxEsf/s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbWgkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBPQ/9EdSvsUF4Qw2hnDy2IRj/A9rsFiTJUWXZ8biAjWQarQGJ/0Af\r\nTij4NmggCQr2V82JDlH1aA22p8E0WRfK8nJRobeRd0F6UithlxcplNk1sGQt\r\nhARr6abLpavrDadLIrxHNnMmiAcVMxFbzzt6Ib8y5T9sADiFl5udN1+PEKin\r\nPik+AQVzX3ZUplYb39ZJosUyCzzaBWC71HaWlQTqTh7TutQGjtNW6mOc3Ku2\r\nznqHefxE8oNbW327A13QKt4aij1q1wXxJmY7WcMuNcos5cYlHJJp0uSCL4wu\r\nVl6VpUStrf/x16N/5208DWc5bBczIdYAIFSDH8LT6Rgyv3mn3paqgqmfuY5z\r\nkVsNod+n0QZ8P1XI1+CRIa2XjURY2QS2WeMQ0zZbx14pghr+1/1HHiaxLUX3\r\nMufQiM+1rRkk1bKhJuiC22glP0yq2s3PmJU/AwCsjKSU5+oKSWgqCe3SpfEe\r\nWkBIPr5ENaaAhiHzT+WDCAbtZD1qhteuQnRZ35u4ZL+QY299iPJ5YZZKXdmC\r\n0VjXltcQeDmDslQWmVhotcALUVpwUSgNxyjVHHBQVv/vbrRyll1btMkJUvNg\r\netJFxVfx7gEZr14n8yzfcNLPSyfcdJApF3Zcvhw9nY82k1JTDbRQc2FwZauR\r\nYN/YM4FZDMqWBtZWdtzYZw+1FCtkF4Ppcew=\r\n=NlFJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3-beta.1_1668114468222_0.07918598374804753"},"_hasShrinkwrap":false},"0.7.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.4","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","gitHead":"029d397df505ba4440404c26fff98928f8821d3a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-sOxFYTe0Vc1T6xE2DZ32o8sCKdcGbtomszfrBtvuwGDzfObOpYy9zCff84FdGwo+hvU5nw5nfHFX4rJvOkLt/g==","shasum":"fbd24b0af918cee01a52afb59af17bd773e0d09c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.3.tgz","fileCount":10,"unpackedSize":30393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbV49jOX3JRGglCVE8iXUiKM9C75ag8j+iRlP1Y433aAiBj7YyYMYrwCdxpARnvIMU5fewVW2HXntwNuyTL1fZ4ng=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbWm5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXpw/+I8uq+nazUlK5YGUeO+QrcpAEkvkDkREwx0FUkf6BlwyUdG57\r\nsk5U3s3TQ/M75ezj0Hjx9wsOCJiKiZJAIgqysA96N7SX2Bx+f0SvtmOyg3w8\r\nVdd9NUWusOaxNkoBJkEArs8cZwM5H5JQxj8a+V33XQ2tHp87Fu8xz0yelvyR\r\nxks6Sh7URWVeBIsEZ7auINf1f8KBEocjc+UxOqvs1zvWFq/MsiQNWkoDUIco\r\nAyW69pnZV8q2yInuq+Hg4aYu+eCbiLOqUaWY9XSPfbnGY3w5H/8mJP1okKYc\r\ngDhMCoY5h4FZlwUghPmOBPIw4QOQ7bWlq+rObaizx9YcTZPoEfpufZV9Awt2\r\nv/XXIoSdQuhjvqCp65eQByaFXbWDh16b+pCleXUag7cFmiz5I9EEAZjs2LZl\r\nF9mpPWeNbFxeWgP/g8/eNZkuvYshv6d1t5XynbLMRs8emeNCMSF488ymEV/Y\r\n1Pkt1eFFnOo9yzhkfmLETXPz+dz7PVJO9u+oSzMTR4UiWxs+C9AOmygymaI+\r\nAE8T5RHOrUROQkVV+8Mh8MninG5fq4q+WaeedhUxgPT9L+XC8/C9zmDtnDUU\r\ng793Vr8s7nSz4qtULpJ3ReEgkxtal8liJlxWFTOs+Z7yeI/zEj3XAvF4kmIV\r\nKoAoKWmKkdyG2nPEMJYKgq4aiNUwIzEddWY=\r\n=4kjA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.3_1668114872973_0.09615534327113107"},"_hasShrinkwrap":false},"0.7.4-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.1](https://img.shields.io/badge/version-v0.7.4--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"80161ba1f697ec1587aea73aa5e3173c6415767c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-GzTP1znxHiAGG+zZotZxancU7hLp7Pq7lj5RpGyirFuH2uUViKBDr3ArsdzkuLDz6MtX7t3IgLTyC40oJwrRwA==","shasum":"a71f764bdd3d0031a518fc08e2475c0d83e07d2a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.1.tgz","fileCount":10,"unpackedSize":30424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXAG8Pmv50mfHd0G9AqM+4oYLZAQ69YzZc03WntwfBrwIhAMa1gmtk0WanyaQbtQIMNiVyV85Uh5TgqqJpCClppqeD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbYt1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGpQ//RDt/D+igKjO131CWUDTzJfQGclJFs1fge+LTA269y8SaVDjp\r\nIl/i7gr5SDQoN/bYaeISIY6zOpI4FLD2q1Z9SSKOe036+YabFl+c8b3nprFu\r\nXnqMfD+7ZT0vdHY7m+exWG0hdGXt+M6gvfok/uSn5Jxuy9wOmfVn7k9rIPu2\r\nruzhCHAPQxFPmSgDQGk51+vNIOIv62ApNmocmDxk47LYI2yXAWYyr9AEu/V5\r\n2LViOGVOkZ1itdDM0GtfmYWvZIQdtkicGNJQezZTJXdZOpu9xuLYtz7uek4v\r\nGsSFERaXrlPX1egaX0kLPMFJVglc5jX8nnIUenSGuZTvuvnIZeQyG0SMREha\r\nWUhbRBZfnO3eTyr+lwk6zWS03Gs5WOuH3Pd50ddLxa0CqxrNeCXIoXAb+KVu\r\nKogpBIjIQKp6DqJLfMg14oGzfq9t0M0ylBFDjDRNTFkyXYqZBwxtqwWBjzjJ\r\ndrG+Y1qkKBxhdiP1+vINcikhxiQe0zalAhYRmFBmlUbezffqfbwdLU6WaR3Q\r\nU27QlniJqslIpxL2M/CYcsH+lPzWgvfy4gGT5kBtI6Lnw+O5hHRP/PjJuxl3\r\nZzwC3kyeLYqtdmJnMA/8i+pAm7dgsRL8UckhBw1qjq4WXTQ2rk/me+KoV+We\r\nOpwe8uoPJiG2LpSsjSzLqva8uGImXCaZ6Jw=\r\n=L4To\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.1_1668123508989_0.8332747438374708"},"_hasShrinkwrap":false},"0.7.4-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.2](https://img.shields.io/badge/version-v0.7.4--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4b4b58b0e570473ca795be949daa712248e6f8b5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.2","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-F+wlo2hTFflvxXs2LMwBeGZM57OUk3lCWxyZ3x44ycBhAOZTyuFpWCwD309r6lgi+vzx2hMu22iN8di7arpX1w==","shasum":"a22e546acc30df3816083245cde5f779e6339a08","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.2.tgz","fileCount":10,"unpackedSize":30424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpCxnre1wuA7iwSxSK/XC6+B8xD6AEDxbks3jmSyXuFwIhALZPUe3foWyIJ94w+Bhi7hhCVz0Tvg4OVFJrv9/Pnp22"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbtzdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmop3RAAi/sb/Q4KE3Zu6cLrXn1NmbMoTMV3M3WJktpGi14rx+u5NzKt\r\nuxfIgxV7iAHFWbAQims7ZJCoScVe8NRm8XiwJ8U7M66NWx7mvfKHkGGukDPy\r\nclpCIxLqjTDat74X0pyiLhFDyXQTUhW7EurSCf9M1Xq8Hec8etEwOUMODcBJ\r\nsX5jP89b6Ijr8BFJ1tDaptjIurgAkhSPf59V6W06jC7vaZO1Qf/Q5ISIY+Yz\r\nz4yl+Bsk0Z3CfyDGGKqkn4ywXE+/0+lf7TBx1R2Z67LBNG3Yh/UJmswCqfVr\r\nUFzQ6qpAfRJPIUurpaJHx3ralqSxDVlsze4Cbh3FcPevwfs8DiIC+YTjQgXQ\r\noWu6/KXvCIqLmWtbrApeCS8rR7y3evwQ9Ydt0VmEOFHFygeBNgiLyoNVqyju\r\nAdrgq0BUu/6QrxnE8lgPUj2RBGpGZjXcEchfqFlYSQm2k6nXde3OKZnEV+Bk\r\nQrfn3M9V9s+CNEoZv/W4EVeygW8Jj3Q9rnyCqEMdgQ1VRZmh/PlGzdSSCmmw\r\nDcNXhN5iFBNzwzWZ5U3HVMgbxnl5gph/Fla4jndIpGF45zkW84/CN8R0U7so\r\nFILB6I/0dYhT5Bdo+ynnwY9WFx2L+9PKf70T5v0rOhbJP5vcMSZ/UHGE2nMk\r\nucXOoFns+G3dI23039V9SSmtwwB7DnCteWE=\r\n=aVxW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.2_1668209885325_0.47028561023269777"},"_hasShrinkwrap":false},"0.7.4-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.3](https://img.shields.io/badge/version-v0.7.4--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"084b3ee00588fd48e72d38dececc6d20c4915f49","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-B0+hfsGcNnuiwBE+69Xzsz2j3y8nONvdikz5zT2wsR37uLZAy2BbIwl3+xp+OpFGtpDifJjLcP+hpsvwWQFpjA==","shasum":"6b243d2acc12d54a6fe1f4e35ce98a9d1877f992","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.3.tgz","fileCount":10,"unpackedSize":30424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0968jCa0ET4OG488r9WZW33uhKJI87zFPhRuLnuCXpAiEAiu9immInK4H5+aTinsCqRvo+kVVwftyuVs0vGSKk4FE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcC5YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXqhAAhgBigkBdc2sxnwJe2mKGrPEkLcSc7AmD+ekBa2fbU52ZyIeL\r\nMFOBqbNO1qZEsrB1gq8RFbFu1wnnCOUwFMKquvmstP216bYmpTUXol1Htr/m\r\nNdPpEelOjcqoKxPZsEeCa1d6l7DgN9xnTkTwTcz6IofGc59MrCiJPLZ7yW8U\r\nB2C/+jwqUGDjsNieCpqYUO9Pi7e/CrCU0ybB4tA8Hzj5sf1brB1XwcWUJ1ra\r\nINhtQ4/6v3MEDPnm4lUeW7Qa6TmdqrKJZeadxJ/22m2Zo5NLlujFH/GSGR7R\r\nho1Acz/I6ReCybLuFODhsgQYFxoWcgKsP1wgrgbFT0WIH2iDAVIiR7Y9z2pP\r\nDK3OJqEpRkRPLNT6coUMc6fan7kb3P2cKFUAnfd09LpbXtFSiPKqyqa9deA3\r\n54DD3kCuMKXUTwRt2wSSADJsbGi97OFzmxwqZu71p697FRtgFwpfbIHeEDbL\r\nHgyG4AEBFGXuLrCuqNbonhDMt+0A7AIyZ1Z8TZuFPFRiGYAfhnblCjyLFJy+\r\nb6ebQcoB5hL/gyQ2mn4+Qy1o1o32LYbXCe8CxGO+2kTlUWs1OAJPTX6Q1EbM\r\nt3nrjBTYim/our2G55PbKwzXsizYFV9d6lTgkwaFDM2j1dI1GWg4OOf1rtiz\r\nashgdJs+CH8CwqFn85DvzK/Iuhh5bn9re0U=\r\n=Zcpf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.3_1668296280347_0.6526075026697686"},"_hasShrinkwrap":false},"0.7.4-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.2","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.4](https://img.shields.io/badge/version-v0.7.4--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0de0e2870b13b32edd6e206fd830bb9bfca4f866","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-jGXDbX6G5scLmPWTcWsNC/PpdMRo8MF0Po1s551VeumdIzhOwd9f0805mI8WmEWIM2QKfFntjl7yQH/d6mzc6g==","shasum":"19eb2848429956a06b9debb7f75e279b2e2f3eb3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.4.tgz","fileCount":10,"unpackedSize":30424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRV2FqXGPDzKyQ4E//ARCwkpLlePTqg4BJuReX0fEoRAiAKVHDwsQmvrpUSL0+v2wVVnLmSUBl3dVAAJw2hq8zAOg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcX/pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/uQ//UW4N2NOKGuVoTW7MV1lfcI2T2TY+iYqCuwDGnybkCuv/r+lY\r\nZGobK1Y2HPu8QymCNOU6h7hwRHsNPQKanLhXAPyy/YjlPp6Co0N9bzztfoVC\r\nAt2rInfdar4di4ry3shHi6MELWoBzJwxEQ/fgVx+t+Y9JtwCZzmJcnTOu5HH\r\nGb9ygSoVvHiG0h+QShVp8ePf1JF8U4oTCWb44FxU2uWfrMvkh2wIrYFWOhZL\r\nBcTA5WsN//JKu59KJ9Ml9XNH5hBjAqLHCFnsclf2sCAoF5r+m4K+hSM7+csE\r\nhAmKWSDz7Q++McBCvWgQ3/7AC7rQviGjzlCnTLjIIT4LXbmnvbMbg2lDQxwY\r\n1SHPlBzvjWUqTabtHwTnZ/mIvHs35tVyojkpeqqBP/7kQ7VLCYjzyTTaU6/1\r\n/p9v9ta9yZBVxrGEyywmshgpiyElsGnX03W4VVMfBxHs8EUsllmV4eF28Twz\r\nvHzxW5tV0YQeHmgsU8D1XLhkjvfnR89KpyVFJB5PP1ya4IRMEPNCnOPz/1kp\r\nOurvrBca1WHFr8uOQuQyBjXMYYLtaNKEjegC/ulMBXnAJK1iJ0StFWe2j/ta\r\n4EvEijtHGIm1jfYxiO2KNKuYwUxHKabcbQAl+Qg6AdspOP2rpp5uJ4qZ6y0g\r\neqzY8dPgGuuh5G5Zb43L7pgSZRmLrTqnSLc=\r\n=XZZx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.4_1668382697501_0.8292447287217697"},"_hasShrinkwrap":false},"0.7.4-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.8.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.5](https://img.shields.io/badge/version-v0.7.4--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b692b6ccb43b851697fd58e2593c4de80a171411","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-NTibWWy5PtrOjrRVhQX+Ndi/iV8m4+5px8ASes9WmZ3vd6KQ4E6+0mE87gEdRVaTA8OsecFnvodtxLpTyFYklQ==","shasum":"70783e1b0ad6b13445386a3ac2c944b475c5fd97","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.5.tgz","fileCount":10,"unpackedSize":30424,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVp3HgHy8OJQBpfwUZJAsaEwE8In3FOO0IO4KlDMJZZAiAbOdcBEC8HukW+foMg50dGVJZPX2ZEeZWrRkFk0UW0uA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjctEaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6vw//fJ6nGI4B5jyJ77wBxpMQ+lQSWzogxsbeZ7RBi5SMcwcdtbxE\r\nXDQK1xLBUwPMkmOpLyR4OXDbH1lIpQjpZlKs6ItmXzKujKU5lzF3ID5zlceZ\r\nWHkAw/BBsOsbIDB0Za1J4a1YRwr4FeLG1lkHR2HThV9sD5fXg7aVugoNdHFm\r\nd1An93pwdjRqi4dHnfzE2Dy2SMlxwWjHNK5/vKrJMRJIkINRyi1Wq5YUxIC7\r\nigO6fd8H6LiKkmK5Eqv/Nr+iNcHqXQLmD8B8y69I+izEG9IXRMP/i+ZZ/V8r\r\nP76B5TBzK8Eu1k//o4CPBtnNGZ0NMk3ABHyait4euxjXhHezyioh6lG6cp+C\r\n/cFnF0GrJ3QmQy4BA0iKQ674aX1rlOwu+ELhW7d0vteplqJCTs/6W4+cXogi\r\nn2h2tkXsfg1xr4676B5KI79toW094RgRDa7XhRnmaGoe/TZmz1oBqsdxwBcM\r\nVq7AX5Nw1QDCsPlM4SwB07J2xVncy9Ip9x76rIF3gxREvCn91rP7d/0vHjiR\r\nrg/dkhada6pXbyUBI4b32rltnBLCiAQov6cMpzRFC3s2ZBOpKQqfLDiI/O3g\r\n0XZREHhfpRSt4raxyOiL2YO0zduxXV/s/mCe/M+ph3VjeukSuybH/0urVudN\r\nZpZzpAf7DwC1y8g2gpqmh7HCYqCxGP0AgD4=\r\n=LeZv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.5_1668469018688_0.05078040072715573"},"_hasShrinkwrap":false},"0.7.4-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.6](https://img.shields.io/badge/version-v0.7.4--nightly.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9d7538e3e2da0d82061641580a3d98964eb000c6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.6","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Vn9hTro8+kGxRmMxqlo6WBCv+Kt8LhEZ3dBW8M4NSjH/QeWKG4vOJSlBJ42vAA4G9K3BZF54tbXd5tG4mSVsVw==","shasum":"fa349ca49b6ccbceb918844e4558f71e6a83b14c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.6.tgz","fileCount":10,"unpackedSize":30426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIX/cxB06JpBhOf/ha773stDEich90ozfX+HNOo2UY/AIgctrz0N1C8jnAwX63ErDS3YksDwdzoqBXeoD5+m3TFIY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdCKUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOxw//ZfGcaoXpjSRU2zRY+VNmvMGJwrmFtRI3AEf0dDjYB5emblbJ\r\nE3hUByJxrnUG+HdUx3fPwe5v2CV76rwdcwhforzJLqSquGPLbUx+YNzDuS6f\r\n1SmzGaisXL6wBVzXEjktGfctJSQHPBnb9huN40a1oAjT078zspVD/MmDul3i\r\nunEt5XhvSbHO6r7aMuVhQB0wHB/hpBJ6pNuEAlIXsFvMEtBx91Y2TrlqOwfO\r\nCE2Mu2BI2t6QJpWNUntoOWfTinWlWxn7xuxr0tCleYMlEH5zOCt3i4GDypIR\r\n5PYW9p9L5Xkf/s6oxghIR7n+DwizdoZKcg2rrSXqiiFk0E1eWmX/PH//wFnS\r\nGctfMYo5zc4N24MhG3tmBAAZqKGlTGGvFqF3gQzjd1DkLgwXIMNVE0tatpMd\r\nP/irm8dGNNDzLu7bxx+LcH5zAb+hCT/rb/24WC8c3/bga2BQ9AmNUnfpEHk/\r\njESdFYLkOIgeSRjLg+3aq4+sTwcEtnfxuyx2KWEWeHKqTBLldj6XeMuUeAea\r\neafBgZGQd7Z9JiivuXHA0tToDtJ0xckOQiijDI7RWqYCxvCiKs545pCLC6dh\r\nuZdHqpgk/ZaQZva/ghZpEmRBSb+T5qsb9YiBnI3HWiCj4n9PWkqx1Df50pil\r\nB9nYc8v5SKaX44a0ZWmFbY+DFmNClxZ1ANQ=\r\n=ErMn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.6_1668555412182_0.5715092126418584"},"_hasShrinkwrap":false},"0.7.4-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-nightly.7](https://img.shields.io/badge/version-v0.7.4--nightly.7-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8c4cb3e16a6fa3defa591c65b8ca79b6f1945824","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-nightly.7","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-pz9EvuvGk44saX+8N05aqSaTh9ogyRNc5tdGYctYRrvnChl6Yjh8KZLIdsRANpHFPgtNs0h56HxZHwCTf5P/Zw==","shasum":"742e9da289f2f40dd7bc6f189fa154534939409d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-nightly.7.tgz","fileCount":10,"unpackedSize":30426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcBrk18n5V4ifrS8iqyiGreaUi9ftwXV9RiXvuIAzivgIhAI8MHBHnG76wygNcnXQlVN3la1Kj7IG8hBbXP7GYk0P4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdXQmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWDg/8CO/6f7sSGIJFZWuvd5630ICqYFrmi0qu2n1MUgKFsMXqBk62\r\nzrhoM6dUZiWkWFYDb/AmWV4RzAWrtubDozfdRDpc5rPsJ7NVA4x4hHWDJ7zd\r\nHjB1Lkzs095/uzBQwvjJevE0kUdeGjRr+ULSWfGtkgOqessCsSr/BxZRbbh1\r\nrN6QjAZ3krDf9Nw8gr3SPwNPvDo/TCIcYutZL/wU3N4bFdJuAx3c1cZYYYbS\r\nyvnQ4wAJgmypmw9+m9+dQZSm9qilPBrWQPTgvorUv+RFkzU+nti2jLkOSHuZ\r\ngw5xYgJm/SaYVowsbiodDvEmAsJcF4WfHuoo9JzOm46BKKp5EIE/6pRMWpml\r\nXRjH5JYE8rbc4T3BDSD30cY5S7jtce1fSt9UGnGpIC7E4cN6sJxqO2NLt4tT\r\na63oreVrRbsKkRktmICQYjzcK1/TpwvPtT7zApJxI11KlK2y3f6i5zY+BdrO\r\nEtzME8ySMC9GgSc6SVBbdzIp/yn8ri8y6Z70YiYoQ7epLnlGxIUjSHSJpceM\r\nTSj2MtSbC3r5YCfExM/qgfqAW0J/vDRoNeM9YrXZhpTj2QbiHvELkrrYNKPx\r\nzDDgbWqCB60FPIQhEnsfx69cjtY2yVH7V8+NnNxVvSmV3OtgUWEONmgAlVYG\r\nhNm0qpsyz1PI6WF3iwrWeSKUehRXOz2XPn4=\r\n=/MtM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-nightly.7_1668641830385_0.981075552896705"},"_hasShrinkwrap":false},"0.7.4-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.4-beta.1](https://img.shields.io/badge/version-v0.7.4--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @YOUR_NICKNAME`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @YOUR_NICKNAME`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION - TIP`, example: `gameboy - '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"79d520e34081314b012e87d467e15aee94683d20","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4-beta.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-cYboA2G8hSnuHAd/lMBWYW3XM95FxQvZ8Lw/Kr/pAv/Nuj4/xuG3C6+WAJvCl7EcMLUk/7O/D8N0edz9K/qqew==","shasum":"7e7f19525e8912cf405939946fa1b50e85ad5dec","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4-beta.1.tgz","fileCount":10,"unpackedSize":30641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG13rxXZQJm8FszMH8xTQYlfjTz7fTaQe6ptU9TgfmT6AiBLUBpRt6I+3VfP9WdDIm3TYwBOuHohPlvkbQDDRipmsQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdmsjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/tRAAlX1C737onVOg3yFcCF4sHMpEjt58S3a0DYU9sqkkx3SbeN/o\r\nsZ9ot/uWTw9DfublbeDfjMF9sNw0VGo4r9UkWtaGcAB7cU7fsA3RKkuJHwm7\r\nX2Z3xZlrG/DlrEheavJ5SSyKYdFEbWcxrybkBsLd2VXu8uX2ekxVJyUyRzyJ\r\nbvQdA7iIuN7WpekGAEgcw4xMvQeg9RVJaMCcoRDgjrFAIIMM372PTlYC6tyL\r\ndILRWAOTcfNgaDFP5RgU0GwViIbXwAw5UhA3XBWzvQH0px+SrjsIURAlGItx\r\nu/zb7z25Q8GI+75mV9goGlZp+RiTyHR2/yUwwad1C9beUctAtO3GKIHc5QNj\r\nIt3y+IbLizdlc75EVXw+w4cLpFTOoXejzH+mkk0oGwlqVm97jlUeM6AYtXQY\r\necY+YEtziVDFjta7zG0mXyC8z5iPBXApOyQ5TNL8lU587MlSnXMhjhF111tO\r\nnmBcpFk9kbr3PsY1Q4Qj39HysSbUHdUZrkM5/UBUGQ5YzJw/pdxALFXY5SZl\r\net0BYpQQhWggA1znGrWu0APZc4ysZIV3OkPldNHLs7C3/vKlXIRxedsxbRf0\r\nArrFRp1DcinV5YbUrkS14n1VCAgECCw+pUKbni6jOzxSK6sdXrOARlJ/mK+X\r\ngdaDms5yxrD7MH7sLj4uFbtACQ9UoQkuBaE=\r\n=d/fo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4-beta.1_1668705059225_0.8297832133826923"},"_hasShrinkwrap":false},"0.7.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","gitHead":"bc8ab2275a5950a1f20b46f6ab35a6e2d7040862","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-baszcBb3higVTRQIBaqWuT6jqolYzNP/T4JV/TuuufxdaiEsdXHRuDrHshecCRxeCV8PXd+K+J55fVtECJRtwg==","shasum":"085ef661d82bcf4efe7c7b93acbdee0de26134a9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.4.tgz","fileCount":10,"unpackedSize":30619,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYsVM2VcSjn32+tvffVH/MOMGaFufups86We/V7dpA5QIhAK4D9doOx0X9E3xyRmMxPGoRRnMVLudR0Ti12sE3yyKW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdmwiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTwg/+PmPif9V7P3L1YZCFL3MuaP2pSDzAqSy1sddNJun4goEnrVLj\r\nuCBDf80WOEVXddacpp/EwmHqWJJuAVN/txUi6BJG4dnknkQNQISmcmC2x1Hh\r\nuK4eIIUgxcXJKx8Yc8sIaPEYXu0Z2I7yoXcnDMzfF0WnqjX8HrQEzQ4z6Wgb\r\nyXpAk8duSJCh35ITqzoN2fVfQETAiFYAoA27T2EMtTcznH1u5JTtMehytv7N\r\nUIhfRubpHhlaph35ujdzM1soNzcjFF3SdmErrnXLnN75gzhWn9jRhxJ90TWf\r\n6zm5jN6TvzLiifD7Gfp7x54CRdylxoIl1d6J+W88ISt/Dygg1CHlSJe5lm7a\r\njr8+i/G5ZMnsRhzm1yrbNhS7XHcdpcEMkg8lZubzNii8wdk4iUhhdVRAY12x\r\nO82+PzjDPmAus7+2HFQo8I05GUBrOGhT/AcJEM8SBv4uVNyHS2ZMqqmw0zfO\r\n4pOXdvlKIQGxIRT3ietyjMp54efDgMkteZ+vjCrFjTR436/omI+ghHwazQ9t\r\nRhn78Iv1aaGHkp7CVSrJis26T6obkBIYblKT+tqQvWpI9/wjVZEiEyPEY+NB\r\nB/TIw223OShbMIyMqHjaedlz+FCzbrRBo66HebMqZ978kNXkZYJFG+89SxPX\r\nJvHAfOr4pnAVwhGFpR5K7Oa6SV687SspBSE=\r\n=ur6X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.4_1668705313849_0.4592608211947429"},"_hasShrinkwrap":false},"0.7.5-beta.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.5-beta.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.5-beta.1](https://img.shields.io/badge/version-v0.7.5--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f498e4bcbaf446dda92001a6a758568e99325252","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.5-beta.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xJ++m0GN6TQzRjTQgvO1VUa0PFr3hPXsCYhXvfi0zBFzmJ/iyKWmZZ7vr1dtEd9DpA4bc4ljtnIddlupXW67lw==","shasum":"5d594da154f94000081b2a93a52871a3c0be3206","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.5-beta.1.tgz","fileCount":10,"unpackedSize":30729,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl2GKVLB1Z3rTcXKeK+Qce7tt4dVvRJzo5DggScZCvIwIgPLanb6V3so1C0jPEMmQLAEw3OJq96orrUqdg0fyr9yM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdsCxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptVw/9HqZMrhz+OOMSAauqqKBh5mbEs9wkVvTWzUcm1trEzexAXrdu\r\n23OCy5AaslzK4qx0CAvewW7D+SXg9t+cRVOrKOX5IsDDMR10puNRPyXvVveK\r\nNSCR7aEg6t97JSGtVUEtAgIsZdpxY1BhRqs15SxoOZrgy3KYE0YklIwsiA9l\r\nJC1KvH1WiGo2seI83qeuWUaU/E0Uw3hDzTaRG0Ssu+tFLaC/xsz/0A0ZCPKT\r\nXE7TdmNp1i20eUYL0ptXbcyoHi/c/ycTEsNMCf+bW7mJCZ48svsqsBxIELSN\r\n1KGlnxKqs/LFb9028cl8L/l4mKIhAllCjpH0gNv5J77S/eKmiQQEAzhUsCii\r\nmuykWjZ3iAscTIeWf2DU9zhVCWAAtuxhm8wNQ8c6EQDU/JsVNaNlTMlwieVQ\r\nMD/WSlSl12bKtlF4p0qQm5mAe7HN9+2iXAvSO6+EhTQFfw1pVGvd9JQ98T4T\r\nh9Tov5XCP4kGCN9XWjFvfDgz7taMr5okc1kBZAA6Cz+TEPN2Neegb5YSn7OC\r\nMJK2BYKDBu37aKSgB2L3/z+9D0S/0YfoJhkxHT0C/VnQlL1o5/JMqptfPIkS\r\nDqAUsyV6Wg0EYr1iJ2YWF23CTaE2CdbyoAi9eOuLBoL1PnrQ1M2xPaO32Cy/\r\nvIaKe3bmDJUjfzhEAPkRjFjVmZu7wih4bFU=\r\n=IeTY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.5-beta.1_1668726961437_0.10451224620735955"},"_hasShrinkwrap":false},"0.7.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","gitHead":"67ff61d507c2218002c85304d05deb92da14c2b7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-5lc/1e4bk2wqCao+CntyqIuGJhTQdMmyH1MkzuN7gSOieULZ7LVz3UmelB8faPu/qzKTNU4jiPZOsnyn3fRoWA==","shasum":"bcdc4eec205681476ed4a3fb311f008069b5ecc8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.5.tgz","fileCount":10,"unpackedSize":30707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIByH2Mo0shpAwiL4ePIUfIGuu0FM3ID0dx6iN9XGyOMeAiAbFQfSFn4z4QHZIiN9EKqXjj3Hx2gsyPNrr4CWnbgLww=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdsE1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZVQ/9H+xdKkwd9hWusyPp/3wdUfbk8KCZ71Xw7HIxm+0eVRC3SoVe\r\ntnBi25iaXwACvqesdvU+gD8ARwwROgqQ6ENDJDxa5W1jbEUwnA8QfmWawtFx\r\ndzaPbb3nEDYjnDCKOrGDC3Wat8UHHFewGHT0PqVrXGgj5t+klDTaKpu2cYtU\r\ni7Go2njd7qbTE3Dk6aK5xirxa0HgePbQ8dZzX/7esOKtkk/znPeKrD63z9M6\r\nsQJLIUYoN3Wsh9DRgJrNexUsskXYPep1K8lrgyFeT0Tc8MsJqGSh+v6Aqti5\r\n7y4SyVmGL6pqBm7eYbiVvi6MksPX0zh/bc1x0+6sNQsuRM0CinA0B4IdYELs\r\nz+5AcKrQmNzTmUm632gzcPIAI90Tj+lHB+h+yPz36cXlahGW69m+Z1ZFjJ7V\r\nLw5znjMXT6unSgIj7iiALQCXW7QP+2HijrMO65znww5AedHwZLywYVOrScT8\r\n9u/U1HCYrQZ4p/im1kQFSbB3auKMZX3NqMbez19OoFThgyr42DqRu8rNEE41\r\nuWpldirvoT86JzW5sVjvrqkL1hzYK4/rkEaZo+GXEqAbRohDamk4FSFpOFbb\r\nj4+LFbGSkPDPRLImtUv1nJi2V9dsyjwLdBntL1azmu9YyLP4+Ll1Vx82W4RR\r\ni3R+q8p9EyDaxE27baJ4CGHNBa3XHigUFII=\r\n=b9HE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.5_1668727092919_0.0883894972509689"},"_hasShrinkwrap":false},"0.7.6-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.1](https://img.shields.io/badge/version-v0.7.6--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9272473123fab592d3635c0b150fdf0cb078359f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-r2oRisIjCinTrfEczpD6hjZob932P98sPFlqzd2hH9YE7p2MiAUSRdQBYzuVvWh2kiCIe9Y1RRZiXlRoHu2Org==","shasum":"24b3d3e279c67090e425d271e2a67bddc0b17eca","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.1.tgz","fileCount":10,"unpackedSize":30738,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGRRSfQRScxdY++BLxTQ1LrOugpJm2+ZgdFILGxLopiAiEA3Zr13wN16F35jkEflToRvKmssNKSJrrg2WOqW5mmGfU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdsWqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHVw//ddp2A9YytrhGU5BGlfsbINadG02CD8kPEDTwrYFo/v6SossS\r\nffXH7OAWZ4w50VcOeVDWXvPQR3BFCtxzrR4s5e3QmAuXqJZsj/GkucKxQMpQ\r\n9MTyGxn69xWbnOmEMXB4HoOiu8UeXTY1WOTfD3WKACq/D7D9kmkOJqfw1WVG\r\nTliJ0EOgw7Tjc4iI3y2fa3Y50Nm1aA4VTsuibeG2B14so5xaS7t9/ROJVazm\r\njqQYLVHEJZU+YgBNLVjmJOsdnfpf6Bbo4vlGAF3gfcV50ULWDYLxvcjZFwr6\r\nyISElxUcyw96ZV2T1qIKeOocyM2w4wSO7V6EKRFgr+k+iZmrbSwjlVRlMSju\r\ntBrPua9/5HUpRL2qLbDMmunD0J3mlK/hZEzXU8U9VenzUAHXP5EzC7Wm8z8m\r\nhPb2eSwFfRN2aQVjYru0wfuFs+ok0PITafyfMSIw8pKhOY9/55917mWySy7x\r\n+orEoHNThd2Uk+KuAHudDDrBpt+pd5b5IKAY3TjSnIZtC1BpchZo/DvTlAnF\r\n83G00wRPT2/cISJ3Z0uDaJdpCM/fzYttivQdYM1mS2lUMulGmKJxDaWzOBvA\r\n0EUfQl4o7MLzeKlEoR1TDbI4PeKyb0qQW9OXAFL2AZcsIGBsumnaHNHVHQuX\r\npUMmYDyQ1O96p2kC7ospzWvyr7nX024vRSo=\r\n=66L2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.1_1668728233936_0.679872048653815"},"_hasShrinkwrap":false},"0.7.6-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.2](https://img.shields.io/badge/version-v0.7.6--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2a64cc096bdc6cc4f0ffd41ed68a8b7d6172a47e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.2","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-iidkCsNw4MyTJYQ5dXhfedaxa+qpSEXNpTGecrpdq+qkinGnkVFesJ54zF24HMapu1ghiOaVB7dH8B+BQ9aPMA==","shasum":"5cb1adea07a9db083adae2aaf2bcdd2a0c47073c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.2.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTM82lqruY5AhHvtDfl7wUhIlO15UQKRNUNzubxELBTwIgYI4NBaKkO1LSnEg1ZGz446IztbFKbocD8+iQtiQF3Fg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeBcjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWfg//fwL9Rpnei+A4pIz6JMavnUuvNR99e2jh0xhqRRrA5sSdx8qX\r\n+9PUTPkjLOzchKy5aw27WSMzlYBGY2omjrBSVHdBIlOLFlw4xKrRVfcGg6lS\r\nBwB1don/NOHB/OTRXKjPhv1mpgXTDOYW95kzUoGMrgF6lg18Smd0dKKKhvDB\r\nQL31tRwQFA1KFPhyO/Dv4h9XnNSlefEA2OB4bEulBjOxcaq6A+xPR2qMvDFq\r\nYZouwUnj5dxdNNIa3O3j9RMvQYoYDkJTq78Bj1yy+mT6o+oqr1eLkWCrTISe\r\nc0QLs9EpHXR8oWC5Fb3MsM3KsgON0WbtYw8FFLj7WhOGMaAbc/ULDWFZX63F\r\nVIQLgU4gqUQErKiXet+XUXFL9lT4uQqRSXbVNa07mfgSBVs6EDBAWf5IU2J6\r\n4uDM5FhHF8IqCpffm+6YY4mA9XQo9ZkdtZHTqMh6eoEKN4iWM/Bl6tVypxty\r\nY4CcfiatH2R/6sL83mcsQwwGaFttECRr93fbJx3ATSADJMJkHGwAFf6HEKrI\r\n7516qzqmhmspfz89P4HoZMI8N26U4Tq4KEfz/5TR/uIXI/YOneBB+8zjPtjg\r\nj8ouROwwTW/Z6+mtwGFGSDdLMNTG47Dg35GanAw4waUcAXWzAVnZofhpKT3Q\r\nA9S7MQRdQ1J7OHGSdKvaF2d6xGnYZvMaA3k=\r\n=VjsB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.2_1668814626991_0.02186256341769166"},"_hasShrinkwrap":false},"0.7.6-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.3](https://img.shields.io/badge/version-v0.7.6--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a7f4ad0d3e045c11ebaa979eb377f3b12ab68357","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-g0HuICcDxwsG2TWP8Dlcf5+4HKRPnum+iCBFrt9TCeaFqEgDSf1DUQ2HLQVnW3c5EJY8IcVN562WBpz0D7OfyQ==","shasum":"0a70d33cedd183f6b99adb7ff53911ac5fd14ee9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.3.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbI/WMnnRybfODWEyPjoZoLLU9JU/bvAOc+BcET2G7igIhAOm/ixizHOGu7+vBxVTLAvnBhYvgxUwbq9txkApdsN0f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeWiSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrx/Q//cPMsv3W8BOU9NqEuqW+xT4CYgpNEW5H35myjv13sQJroNu53\r\nBWcN1EfRDWCh9ScTOBYq3svPaJUB27zhhbIsyZaaMyd8mk3Gx4vR8F5OqaSk\r\nPu5rUTuz08inTAbGtqQzxPz1S6lHp++BBQKd0EZGc+NBSTlhaAlIl6ImRjkP\r\n4MyN0BznK7a7TLhRkZ2oTqzHbzYMBSlJGjYrVF6Uw4IrMdlzYZQxf+vGEHo2\r\ntN/T65uSUhmvsvJci0oJSRj5G6onOQWTECaU2dqg+7d9Z+Ob+FZFYnrUVZIZ\r\nZs9TFDB0AKUYnMw+c/fEg42+mM0Be7grjpe8zt3OH05Xc3+wj29fBkItOuaH\r\nWIIynAt99iTlpZ3+xi6/a2vdtdyCdNLihJiEVnRCVPcD26BJ0uGlNLGbyetl\r\nC1jje0UeF8nPXPkQyeciKeDkC8yBYLysmS1OO+Z9gz4zNveM6PbvlsHgyXSK\r\nl8wdRSFTtqu2rxkZMBzzrbjoWr9pQqPWgHI9QcbCpyV4DbNph83H3V7bdnRF\r\nujn2zEfH3OT4F/ZI6Ml2vrJqEZr/HNfRlNpgtnqVSgwn1WBKiVyEyxY2OkCG\r\nFMtHEQNQmV4Od6+iSsLkkVKE1/D0/62GKmweiKHcHxp1ssvAygapzkeWMyKX\r\n5dgMaR9qW2ar9LTbd3zcoVMtwOGmVlc3ah0=\r\n=vQ8e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.3_1668901010719_0.09334136933440518"},"_hasShrinkwrap":false},"0.7.6-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.4](https://img.shields.io/badge/version-v0.7.6--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f981bd9210ef0c83deb3759933713456110a97f0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-k011ZPviwIDste7a6FoprGcyTsKj/FG5H73yBB5Z6HWczefrL1bV2Cwq21FThaq6Zvaj5f994ccCzcce/uZQrw==","shasum":"681239b6a5f082baf417c782a378358e18e26279","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.4.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaenWMSjrNcJxZpSP9i8dM33KOzVeM26ImmYM8Yl2thAiEAgCVhYbCQLJV2S1BRDRJk9pk317t6Zi9mN2qVA1tQW+g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjerowACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsjhAAnrvX78ce3zAVEKYqMZ3sGgzZPtBd2aIw5gIAmwVgaSvgHJUa\r\ndw4kcZ77WQhWHVvAtnX2mdHMwjMFweJqbfGoVnLMu+RyxQlPRfG07GqTq7NH\r\njP+Nf7nV9B9uNOejpcY+nfNSOOso09G5dZLfG0A0wx9OnD+3FLt1NtfmIRan\r\nCko8qNRPZZlptE+tRpBjZTxpUZQpDfP2VLw8EhN1oxiRrFoyVh/qCInwqn3i\r\nriQVNcqHiyAYZ5pqdVoWUml3CWOkt8uYGMtH2jz7jVuR8JJRHMpNtzn/iI5A\r\nfbgmkIqr9ancG4vzLLn9knp+izs7URtYL6Md41wMQ3aAKkT3EvAYoIjmVL+n\r\nyAjr5tfJfYZh7vlt4WIhwd6yy/WOxyfLOsxSe0lvULTPyjVTAdgRdDdhM5ET\r\nk4QST0PnJpEKRHqp8CtIH3D5L5UBn9oyXvGUmo1dtYnz/wpxu0AuyOXtVvEP\r\nsgFbOL4kz4RgsT5tH1F3ZuxV6xQiT1k4CVY1olQMwZa38brCWUCwtpYp1zAv\r\nW7DH2jnXGn97uY/y9KWYFIDNIV7R0jz+o5gMrhxtHajK54heG6KkDH6AeFB0\r\nRWA0VSsXIm99PwHHDQtmyAF4A0+5t04gVwT8bTgyZEnbVDXWydEnh97kxshQ\r\ndJ5PedDM117/N0xFVG4Tuc7RzgX0JhoisVE=\r\n=SK29\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.4_1668987440653_0.18086664822919318"},"_hasShrinkwrap":false},"0.7.6-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.5](https://img.shields.io/badge/version-v0.7.6--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"697f43da1c3237213a306354e1e17de7d259fd5d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.5","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-VYeHDoYXLuOw5oCwbz6Z2rj6lEHFGTQqvoLEho8GuJvHyeO/aVGiq+XkaoVAdTgbj8NO1SwJDyZC81Jy9VCMqg==","shasum":"472b5b4f8356b0f81d96859e3bf31ca08d3cfba4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.5.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV/PwwpADgs37AnkcXQ4NALDdlOKnLj07jJMLb+pcSTwIgdKbhPS0D4ep+BoqXIRpDRQgAaf435X0If7AJ1cP8ic4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfAvFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQgxAAkvsHwZP1RQeEVvB5sq1dT1I820SFCeBxv6zxPlCT1qUqB8K3\r\noOzgvha0t5Apd4PCldQ/VQdlwyUWqhKAil9qKuNwNljYhY4yOqV4MUpgTr0R\r\nygzHFs76UWesYXGD6eElZXQF82Zo3kpVVkIO/thmgycIuTw4ybgrFYfKJTuj\r\nfROmu9kTSbzV2FxSZBL3Y0cxFwomadMK+czdvPfyQFcx34DLT4GgicU6qGnB\r\nSPrGXqjod4zfW3nQ0YZOdFxF/t7DJXe8Esjq7r/7+9g8Y7sQm8vfByAtWs69\r\nl2xGzXs9pZm+8Q3iboO9VtAXRKi/9Wb72pCIEeVAUDTL/RIfY5MirzVU2I5E\r\nCLdDsjydHI26ZknjatPyZUfWuZVxsbsqGtMJ4Fd2E0SCVMkxy4oc8jAXFoJY\r\nXJbpuU9jsa8Bc0wvg7fprNWAAkfl6OvkIgBjITfdTQdgH2qmQP8zYCVjtecP\r\nDr3BRk8q1B5XGrKd5eB708m3eurSYhwKMjp/gNe3aCSiszxsOjjgDdVIZ4yj\r\nBsXB3tEmIwZgaxAlfBfdMwifDt0vAh2xV8efJVfZDn0Lp7TQ4CyFB/OZWHTQ\r\njWnqr/ke5YYggiGyTf6KnAIcfs3pot5xCP9FwErEzh/58czIkLROgbO0mPQx\r\nw6p8p4Yf71AM16a4tGcciRLtSgDJRJ93yeQ=\r\n=mvMz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.5_1669073861436_0.34080072577010956"},"_hasShrinkwrap":false},"0.7.6-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.7.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.6](https://img.shields.io/badge/version-v0.7.6--nightly.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"922fe5595a07445ec2ca6115b0c2e56891e1fadc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.6","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7C2BSbOCEQVg4tKGo8L27YmdxJ9WWkrcMJ8jCMCyUZgUSUwN8Xk0+oLeDGjfWP80AQ1QtolqDEvNVRzePYJKFA==","shasum":"4ec08dbaabc1f2ac46642cadcd4294d5bd7dc70c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.6.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEG8/1TuU32j0i8cJ0+lyYpcVJJe95Vwb42R8caws5ojAiA35hfp1Htmu54XCpUMV9nZS4tnmNonSrb5qKMr19Z1tg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfVzuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmaQ//Q9tKEThZtCobnFe++Z6snjA2mvBz1jB/hV5DG+BGriVKz0mH\r\nVP7bfLMaWd2RO2k50Tm2iXzEN8mbu3TvIU6fYVsok54v+kyQ8RoDXSLvL8nK\r\nrXlwoZ1p1MOz230fp0hznoOuzY+0sXytJ2Ls7/IT0O4w89+2ZvGhFMZPViQS\r\nHaH9RFusTnMMiy8DMabnWoYhQ5WjVegT9YuKTQ2Pz8OMkCiFujNXjlP9D1ap\r\nheWfYiaJDfrgtSAPB7ficjr93QT43mkqhKwBrcbuHlAdRJ5UHUtcYLb6YPAP\r\nk6jdDvhLiEWdU9w0ISWc6o/Sdcpv+VHO/U/K0Pu3Q2vVPmia+ao1Tgoimd7t\r\n2R263QavOVFmO5MlxcHk+3gDJUSzigYGYC71K3/hF4hLC7SPIEJwc7XOZq+t\r\nz5J8TdDg5uo8yBTRphMLdiSjaufB4vuISNIpYUKmkPmR5lG7Af96mhPq+3n/\r\nyUwRykZGYwCIvk+jJWMFwqXMJpcKnOdTLlGyPJaIzJw6gVjM7aePMHeb1/dU\r\nFmpmA5tOnynYm9qdvery+5U24LfA4J+XWx+Nh3vWnxrobNZBWv+q+3hzFTGN\r\nMa++dW6d8hO3xGuKSNZzun8JScunDtx3JUeDhXS8bw+0D/01gMEXj/O4jBHE\r\nOk7SGD2uFZf1ej8Re9S+Ot17Q9bc80yOIzM=\r\n=X9mC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.6_1669160173871_0.6918986764381645"},"_hasShrinkwrap":false},"0.7.6-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.5","eslint-plugin-jsdoc":"^39.6.2","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.7](https://img.shields.io/badge/version-v0.7.6--nightly.7-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d630f030d87cb37810ec10df21d41428aa23c45a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.7","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-+e/A0svRubHAPXxWZYoFX6BIGST1teaxcqGgjsonFWeJ9CgynupVRmiAASQwizhQViEca5ti/MSSHbPts5dw6g==","shasum":"57f4d3a4009c80de0fc000af67f1d140da3d4653","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.7.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOu+GZDZsyaJAPlWSfiC07u+w/4DzAxFTunw+sqC1lzgIhAL+zh80Ua2EFvxanlewMnPz+jor3beSelc4Ww+S33E9c"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfq5+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8NA/+PJaWJEjSFkuwb1vbMbi/NOU6T2F0OCXBbUVfg3bJPcQpTxfG\r\nFEAJWVpbOXaogpl3HLa+TbZ7xuAmJMIbldkeBz7Plo9XBGcL1jYw5lXzvxoL\r\nMKitvVUrMGrVSwrP9MeVqIDGxjqB18jM1eSD6hR+wXQzm+j4chLGeKSDtafP\r\n0fm8IyWp801TPln2uypCkulMY3xDOFxIIRY903h3OBHpyvJ9vCz8fcQXuoWX\r\n+NP9O63ka7FPRYMnGx0WsjwbU27Z1yo3uY+3F6Fa0babukB/teZ66vnuaAY0\r\nhtMvom4s57Vx784Q4AaSpaUsj0HAK41gjolJVcb6s3b2J7vRke0rBBgLAc3a\r\nPdnt3YSL47xovOVNPSYjPcAzrvNXdEnFp1QNzI4fXcfKI/HWrJ5arlg8BcWX\r\nEnaKUXjy04P3HinnoPiWGvOom5H6U9U1cnm4lNiMRSdRpCI1trUnetQ+GIL5\r\n3SHtaXHfWRYJ5RWp85E98lKW/XBBmVgKXy05b5RNS45Mw5FuaJXuOMmY5YMD\r\n0P27Ewz9OSTC8FeA9nwd/qgfUUV97xqUbik6mLxAKzxbBwPJlA5nmGpEdqK/\r\nAkuR7OSda5AxKuJtDL+js6XGq1CzZmzlD/+nSVRAKLkt9Vwd2+M1A7IZdrh4\r\nWnDROZ5SgWVAzDbKhiapwMeS35jHCga5L7k=\r\n=768n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.7_1669246590761_0.14037632408159118"},"_hasShrinkwrap":false},"0.7.6-nightly.8":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.8","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.8](https://img.shields.io/badge/version-v0.7.6--nightly.8-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5663dbb72b38b483cce22cb43c08fcf3e6be28a9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.8","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-bqVCRmD1x3/k2F4qIjUcjoMYWqQ4V2kvWmO+/uu67M3e/2IRE02b95JlFzZp4AHNBgE+xR92c2IDEvGMQ1gj8Q==","shasum":"6799ed33a2c5c0fe8c1eeb32023bc3629f9aad1b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.8.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrq6ZHflY/0+UCwf2OLdfM4W4DhT2WYST9GI3MF5M7YwIgCFUEdXQN8WFONZHGRQzuCuhTmY0Gmv11fPxEKtJB4bE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgAAIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnXQ//ZoVoLF3TMN9ToARX6cAIa3l9ax+5HW763zGqMTjNzvrZb67V\r\n895rD7+pr9y0BHCDV9t4Fuv6b5yQjxmgQrNkqzV5gWFvyqWxQS8cT0LN4UGB\r\n3TaDSOiaDOTlHKB3Fp2ZCBJJdmiRDVl5XkQOA8M+KWlUKG5FVMBAA//rupxN\r\nWOypix967lvdh4L6MfJqHNoKN3//lhUe4wARB4oNeoB7n7p3hfaBaiujdvRZ\r\nwMbBFb8X5xk6fKJePbeiSntMDrnj2LQ/3EmakJiTTLkOTkAn4TsaBMQWPVrI\r\nVzJLlQsqjnojHQ1v7ahtSko99jAfUJuWTvKtJWR8NaYXrGMj5nW8cY4ygZSv\r\nNaZpqRParXlehRsJy2xnoYTlc+LDTv54dZfJEP8EX8TD4Y1Qn9bCHJ49SFkX\r\nk5i+njrqTDoul3X5OClmMpYnxI6cyxsuz0aXlxPN7PQxKi67TNA3hcGMn4U3\r\noZpcGTIbB8tJh7dz6yIZYcl+T33Lcjzn2QRFhE4jdtyN2oZuWWU1Lzas9WWE\r\nR+/Io6uEGKmBWVZmtZ8So2dZc2C5kn1o+z/vclrOJ4eEniqAV0QJSXDG9be+\r\nR9MkuLtOfaoKA37OELqFZfDoCBMH08Vio5ErvXRoLrFmDXY/EJvtJpa6ShX9\r\nfB6LBVy8nP4jIDOm/ZsVs1gAQQOi6y7R6uk=\r\n=4mEA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.8_1669333000238_0.3336647113667368"},"_hasShrinkwrap":false},"0.7.6-nightly.9":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.9","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.9](https://img.shields.io/badge/version-v0.7.6--nightly.9-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"59ff623a031f6f11337d9d49fdc7b80ddbeedbd0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.9","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-nL4GndJyIPntFzbqvgAFwcM7yq8cQyH9YGhNg1+f/UN0FwbQRqkNa56TgmihYuFfPlFW1C7v7LyKF/FtBKaXhg==","shasum":"bfdb57b55eaa454663ad12e7b4afb26533019fb2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.9.tgz","fileCount":10,"unpackedSize":30906,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa9Ynk2hP698L3WmhQW/B3Ilny3ahTU1WfVWAJkIBaBwIhAJiQfAQl2W8JqgTSoz6wWQJB0XYExrW1OD8aqb7KHAXA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgVFzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1mhAAkRrDjNnC8mttHiWj3hVCVwXoaY/LNZOaw/m+QfeNNAJdqqqs\r\nDO9p42nbFyeMR/n8W2Y9dw1XxR6YYl+R/ZheN0GG3WeUDVn1vE0FM9xO/Vow\r\nAY40IAj2gULsSD4qbEpK7Fjp8Wxe8u9pXwR6oK1KWgNqQ34p1r6/C1dPBUDe\r\n8CmHgowJPSmsts3ofPPpoMl7f5Sra6OqQj6GUrUT99FvI8GEHEQGQ8y3BilU\r\n+6MrlJ7wC1B67zLM7PKc5k32N+p29zS/wEjcghKlmR6JSLIou1N0IzkuRzsL\r\n8DISUheGyndyKflDKQ8xeOYYAqwBjPYdZTXMNRgVGhTQEoCcrSmqEYr33twc\r\nolffsTUBP9kMTNdA9ZgK6/yaiRYD/bby5wvhL8CfvEQg9cs/4ZwcM3YgPWpw\r\nrDB2TYn0EZoc/uQygQHgqsw1WTko9fuYdt7noFZ9sNaAK32dbTsdm83RtzP2\r\nTWvsfunqvSEW35bF+R2aGWs4psD5t5gOWOP99wtpEiPVbfSbTM1xUqIckqL/\r\nCuNvxTudg5NU/PSvIewFEyUC7wMoLCKN+FVEhPrBGNJooE1ASiOiYp9BC9Uu\r\nZ7Plmj0hLb9s7Q1vJjYsgfCpyhta9ciubxTXkqZqPPzNpBRHBIfb3O5kkGhr\r\nhDtgMitLAWJmXjjE5dxtEsQkKDM17PFyCtA=\r\n=QrKB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.9_1669419379189_0.4974563649788679"},"_hasShrinkwrap":false},"0.7.6-nightly.10":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.10","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.10](https://img.shields.io/badge/version-v0.7.6--nightly.10-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2ff673c21a995ddeb0a7e9b817fe80aa7d9a9085","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.10","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-f/hM5org58bPjop33XtGFHEzaEFvxQgfBps/vr1m7CND32K79BrVLcdKWVLhiI7XFdUHI1RF+z675VcaycPSXg==","shasum":"3781700b386fe7278bc4066a488034980ed68878","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.10.tgz","fileCount":10,"unpackedSize":30909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq8IKkBftCjPQwOf7sg1fwEWmQDHS3h8pk9dnqgS850wIgeY4+AfJ2DHMScIB7/qdE9xTfICz2wQbIf6xvP7pNY9U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgqLgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWtQ/+KwWu/Pv3UOqvQWaqybE4QH2zfk2H3CiA9SCL1wclegBx6bZu\r\nzUexfsyrHpKIaownTK9j/fm9qRv5ISh9eVWABlHNerQoJE7gawo5FzKIS3LX\r\nEn50tVDwZS9OjuHXlwKsdm2lFBlTk0GkGanq69U3glVZkYaIdisiC1xeYNYj\r\n+rtqOjQEgc+p+Nyo7kszTHIbdE/jWwIhuUkKNIyN/Wxj0/3m4irNM6uOXe2z\r\nH20EZ7wqNvKwyry/HFyfR8TiYcug2afLyiYH3fXqGuAMXrOjz+19SnM2kYW8\r\n6zyFYxDQXftWDn0+wbKxtKrGxm2AWBi3Tn7LzbIaMErjaRY0s3ukQVlNS+pf\r\ndt0G/gjvunjG3iD2fNOZaKUFl0NjB73anLYVrhLz05/Bh2x/RMuCsw9JHQo4\r\npGkLhAlcG9zZQ+FQNEDsmZU2X7a7krLPQw+zdak3QWcofmqy1+NxtMlqbyVY\r\nPiF//gRrQPe5GS+p6ynFeb1ipnpw9D17dYGXZkcZslqpMt5HuXw9oVzY3BLA\r\n4ZA7nTLEGVCwhVHFp5W+sPPraii7daykwcmZENGuGmTKS6ihrXtaAwrr3CII\r\nQHmcrZ8mhfJGEMmjW1IRWrNUnSoAMiFA0O28OzagPOrmzi3hOsFfn1+6z5ru\r\nByW6Hm6Sf3HwV5tPGU+HBIpZi4QlIV0DFvo=\r\n=kB5w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.10_1669505760517_0.2716203223559135"},"_hasShrinkwrap":false},"0.7.6-nightly.11":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.11","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.44.0","@typescript-eslint/parser":"^5.44.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.11](https://img.shields.io/badge/version-v0.7.6--nightly.11-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c4ec5b8f7bb3c7a06fabdbe45f89cd098825d7c3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.11","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-P3CmfW1y7xccCqWilY/oQV557qw5E7pOHQc/u9y4mRNAX9eJmvaXfQWABqVWU9MeOj6UrPLmg0zxS0h1S0sgJw==","shasum":"38b1e3388ab3ce13a731397ecc0dffe9943992e1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.11.tgz","fileCount":10,"unpackedSize":30909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu7FZ88E1FJGkXanaa9LRKnyCnG6JJugcjPjAMc4c89wIgHqGS+FnWNPCliJpq1h6qy/uJPNFo+HPX0thh6VeeTYo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjg/R7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoo/w/9F8vjnOA7lo7mdOICxN7629vx1mBw1iAmWX2mlj/hpcbKuPM2\r\n4nkFmr42RTXUYZfYbw/zo/Ow2+TCfk9CF/DJEYgXhf3aA1PigvS3lcbclSQZ\r\nOJi1x2qMU12eFXSR/EyQmvmgmPGWFR7YweYij4E7ljtcCqafq+SLWvzkroEW\r\nEFbKmwYFe0rOAeFy1E/XQ1zOB+UYfI1g4XSnBr5ZiVtVmpVtZXcN/PEcBgA3\r\nRk5mHzavEYHowL65W8R5D0ggn2Xtp8A7mWxKlVcfDD16k+E2XrrO1Q3Hfu/l\r\n4sfgBN3hx0LuMq5t8XMzh+ONn8agLDAVHGXc5VQZoLdFJMgtAC0hxA83WBhf\r\npyOW8yzASST/RqshSSipam3vFoQUw7VK9b78c9eej4pb+Ky5i4V9fX1tuhKt\r\nIr0LA6DafuSCn7G0n2bLM35Extfpd+W0r/vvaqRtMo/KB0+P0TUwfBTw2OYv\r\nvKFxz6CEuZy0FU2P9euR9v2sVUyqtwXCX0p5DCMPKUZlwLRUHhK2IobDBT1c\r\ntkyDdxIrrYr1LnRbH7Yzm4Ab15GNJ7FIEkdU4e9Cw8zo9/NL814BM+JEbUsT\r\nCmbWTFOU4Ftf90h1C7lExmKTaX7ONef1dQ0hDklMmACS55ibogcydTkfdS41\r\nEzGBdx4b09hA5cnuZCKeV0FJw1JZ3ujBoUI=\r\n=kGk/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.11_1669592187800_0.680657843192551"},"_hasShrinkwrap":false},"0.7.6-nightly.12":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.12","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.12](https://img.shields.io/badge/version-v0.7.6--nightly.12-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"02117c82d50f132a40bc0c4fef38eaa3743b37e4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.12","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-r6SlbNlAOu7s986RJkHsPDAHPdzOlzGCqA3iXP/7eWI5CPJ3VMPlshgA5ousHtqFVLwwYikXU4vyzf0JUMl1GQ==","shasum":"eaba00a13cc5e93148765c612ddc3c518cec2fe7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.12.tgz","fileCount":10,"unpackedSize":30909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECk8IJyyJWg2+qx6FPi69QGjCU3IzhJV1k7S7uQ2yOzAiBqy/e0WlQih6DXwgGphQSf20fyLdx+AwvP7Cj0bYicSA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhUX2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYVQ//X4k+rswU9W2lHA06BkT92V7+YxFLSUQtvo5/wbS9W38UFELT\r\nqrhfMjmSdBERtxKkr9L/9itfqI5Ij2ZI+IXu8rJv4jATmyD+UkFQaDlEPTXT\r\n53AiHP6ySFv2fZp2nduTG6zVmGGACDo0/I0E50JMgbiumM94082D0Y41/S0+\r\nKHmNWabtvbeFhty/zIHRgleOToT8F+wM5FiMy8sqbTAi1ZCMmBlezPEPE+d4\r\nOBuqfLsOkftsmCc2qL9XRQWhhZ1AKPYP2kzDLRyg6Ur/jxAt5ZKJiVwXD5Zl\r\nlHr/2zPC4wzflow8Q+xfJrmbR/Nw2b1efPv9PixxWc3IW4Md2YQ32m+G9M6o\r\nA6RVGSKaIbO5gW0v4lKlB0hrpKmvyjAhfp5idP/TLkW8kbRaLGXz6nrG/yDK\r\n6ginw7erK80X33hmrsRNjM3ayMXpYBFXAvoqFX4pgEDuj2HLEAoPOUYGVUyQ\r\nlZM5wz82kfzgOGKFjqjBGyn4ilJu2y2lhGBP/wigbpk6v7nuCeknONKPCJgQ\r\nib5BONCQrv7GUdXMgOZgw9HAii8/2UBA5i7daQPtM1+DpzQ16R3I9y8I0N8G\r\nFMY7IHcvXFN8oCz9Jf2kXCEc6JFgIf5S4e3e2/qS+81Lx1ZNOEkx8RN60H6f\r\n0OYI1SvwFoQFqLTofqKMg63zEnV7eW8h7RA=\r\n=Mszm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.12_1669678582724_0.33209639206531993"},"_hasShrinkwrap":false},"0.7.6-nightly.13":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.13","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.9","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.13](https://img.shields.io/badge/version-v0.7.6--nightly.13-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ea807f324fdec5be044e546f7ae84166fff55edd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.13","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-aWH39S3Xzw6WeSKaJip16zHsX2ElANWXi7cnB3MmIqF94YzGLHc5r9oPkGhlsGMfQ1guzbXuy9DNqjbEFLLGVA==","shasum":"7b6e0d56017eb3864d0d9ee934b9d151c25daae4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.13.tgz","fileCount":10,"unpackedSize":30909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnVES+eBP3wCAWZDzWSihlzdOjlkxrzvAbs2JN8R4LBQIhALcQ/VtX0WVfEXo60C93RjYX6uSqas9wuSOQPOdX8qIS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhpd7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlcRAAlel9ePK2BaMBCz0buFfHY4mv8qhVaHhGGqXFP27DIHAh64j7\r\nA6GSjEAgz6poHWepTkuZ8Dkd0CShWxSUoRPM1hKnWe/raVcLW71UIyenzA65\r\nEMe2v+u8hI7VwAcEv09vdN2xQ1DDdlVddcNw5eFvFYoUA1qAiAdABGZdPJ9T\r\nuVAze7SRzS2b2d/uCunPD4DqYTdQst8VKqbHNzaV+0lPvb4qfPLt8sSkPOFl\r\nunTudVWoFdJBdVY0i1nih9xOpcFP5wg+ahRCC6Zs4c9hN8+yIZn5So9lU+yV\r\nkmHe8IenwQqV5nts9OjOpVNI8vEkB0o4evrbD6rw6NAx3Zo0WdXSKrvhCjk4\r\ncaD+4EWUWoBSWjauaVylv8woTsg3jlU/c7Lg+/NJRqFDYYO51zfOFliSQKXk\r\ni/2wOQUqt0jW9gbJQNEg1PrmIR5yjcFsuWIGEM7bvHLizG4jIgU8TgmsOcNZ\r\nTUYAC/+cltJzG44ubIc/+7Y32ggMLE7MF7iKSkgWwCnaOfkIAPvwe76ThUOk\r\nj0pyV/fI3axOdJAXBBSUiwTAgDocW0rbXR2xSMbxHNaOHqPPQ+cg2L+lkkiO\r\natDHXz0WZ2YFrJ33IUYtMeUlzhKVRuopchTynALKc6LNqQpnJ7cxcAtKshlm\r\npy+5w8hSUGdgz0XCCVnDe8ldL2xtcmsgoIU=\r\n=VsqO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.13_1669764987501_0.16458658197402665"},"_hasShrinkwrap":false},"0.7.6-nightly.14":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.14","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.10","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.14](https://img.shields.io/badge/version-v0.7.6--nightly.14-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"999eefaab697d8b710656f99ea6bd9cc311a3380","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.14","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-bUhLiYBPsOIUeZWT/Q0WI7UG27BEGOfC/S59tHH5OzjCK2c+66wKQoQZ9DO0fqfhS/PVEenlNWHx0wq28a+TvA==","shasum":"62006d63d23079443301307a654e5cc1bc542521","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.14.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE80VQypv6YNPx//jt1OqTZ5rIoep9BBENpAl3wvE2PcAiEAqEqEAfLvQrWTClJ29vT8SdrfyI10ixYmriQzRG9Gi9c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh+kQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0WQ//QsoLYKg5/KCV3tMVoXIOvVhUmFDRihj2sdD1n/8H4QwSNDRd\r\nsSK86AMU4l4UVKLk5hmEOp1eWlTbWLSyc/yxMFXok8PY7F70CPpQXYl0K/A4\r\nkLAD+iyWkBy/PZ/K4f7d8/A3hBOmI0tfIIoY7u5fPa5EIdldBPzltKiPg6n8\r\nhuinCRVvcuTpOTBNfr2vB27Z+O49yUkR7EwbEgS7ZJ3KGnOvZNOK0JZtq6yY\r\njbXMq7GpejmYDr4ohpzbh5mclRDeMoSef3GtybBZyylG6Yhn+EhcBds4RjXs\r\nrpRJ6w1WxtCjoEzx5kEo00A2jIRN9wzEdVV+wBuw0hey0Mw+cFtGS/Zmb9tt\r\nbh1SZhQXh4z6mLCknnejhQlEHqiY8P07q12cw0M6WURrfOHrZne6BZeqM8eP\r\n1p2lG+mMj8GyX1Rqnx/7Aq4XpCsLn2NI0oiBtsRU/UOqphFtPS4Cq2xkLkQW\r\nybjEkafXQ77CmBdHmz6IiVxmDiOX1RgDqz73UPqeKXEVM0gNAvi8wpG1rxcs\r\nGr1GaBWGsHGao3eJI+1cQGHm8TpGwmyTviiK94T+GEIq/Dizepu6eA4Ix7pT\r\n6GtCVNkp+UR75doNib+VPBRIFzO6yQAFVsAJNQZ4Zcp9UXp90SOcaGVvinP7\r\nW9QSlGX46F8optcWLn3GfRpTGyPJkxaSBgM=\r\n=Q4Dg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.14_1669851407784_0.4817399320908331"},"_hasShrinkwrap":false},"0.7.6-nightly.15":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.15","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.10","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.15](https://img.shields.io/badge/version-v0.7.6--nightly.15-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"80ce3a518e969bbc2caff7662b253f684b6be40b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.15","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-uM8hrAzUerC1L1+Rxt0KUsEQsBx/5XE+ZpwxOr9BGwbP92dIj9rxb6hqAzwT9f7fqs77CVLYopnQgW721575+Q==","shasum":"1c42bf0d3d494fcfef2935c7c0c51c072d1c5ba5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.15.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuJ+/zwvKkdVfqqHDiogFQC/CC9y0GKYJCORcz34NBrAiEAh0/hHu3AuOuSo05Pg4EkO/0+fSmS2EhDew7HI5iROqA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiTp8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNAxAAjVl7dOmqZPFz2Uc4piesZtt1AHjKnmYNUlRIPLkdaTNZb63Y\r\nyTs4/rjhP1pAhmY9wEl+H0XGF2s2ynRoNJ4XUgwRxzNkqx9VFIl1yMoPTWVM\r\n36UtZbDtDxIhsCaWjINX1f64UZq5DFnVOhSOd8SA31UJa9OJMiLck0cWT/Zp\r\niyjYVRlQSMb+tJcctlBNULUP1JuLvUlb8Yxt3ZaDYjFTdw6ybdY5sJwufGO3\r\nhVtFfEt7B0RX0AVVF34UR+SfdsaBh3lSqfsTKgQ40Zv+NXSHQdDGM/mlauW5\r\nyVfQ7RopIt0896056/XywDU18PRWsXykr2Ra3ONROh0j1JSn4m1/ZetU46hK\r\n8v9gMb6bVMfauH2UEDtQBDfQJ2awl6I9mEmq6HVhXEXubHZHSHF+E8GORj80\r\nraU1T0xN7MzN7kdK6+JHKYv+YL1kQeHUuGkMbiW3nYVrcW861gOxx4hLboZu\r\nzA9KO3Iau3L5UW5lJGpg0LqvYZmO4UdorEtfegpFeeDi2bpwN9qXcj6ws6h/\r\nnaA6dpsYV1G8FAOUUVGWk4HNAFV4Lk2fSpU6Zxpt8hMC99jeVZHkR/pM+CSa\r\nPy2ZdLy9gP0q3enRMOY2iOuILlxiUnNQMXKi3Qxzyzgryhp8qDdVnYu9216b\r\n9nYF6sqQeszmxBJLtbj3xzc3rRNTDVLc/Q4=\r\n=HVT7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.15_1669937787827_0.4100309758711034"},"_hasShrinkwrap":false},"0.7.6-nightly.16":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.16","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.10","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.16](https://img.shields.io/badge/version-v0.7.6--nightly.16-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f9fba40d3cc7e0fd3b38ffb69020c57aecb7734a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.16","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Hy52Es7bzalqtKjkmsO20ObZtI/YXs8NvD44PL6eUOvHrGB2+wTMi2A7o1xWbIuwJgdhbTUFGsieibPEZ/1isw==","shasum":"0898c5352f78cc3e25be81d6fd07b68522c82717","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.16.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHd0wcY2MbyZmrcmpQxd9L/sQog4YX16s9ZO51RhxN7KAiEAko7EjMm8msVlCn3Sbaxf1kMTrlClWLD1qCyVhGP8kMQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiou9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwIQ/8C29GeqUPHVJhHeo18KNO1TTxqZLLhPsayfPJOWHxsEHHGvoS\r\nzAJUt/JB5tsy05VmDiFBRAgzr4gNrj5tGsVR+Lh1QGW3KdWegwmKM546XdUg\r\nOR0iI//T2kp4U4OJtyXHXhVqR+53GdYtXgA27PoJrtEG4efs0Nr3HO0P8C0E\r\nnqH/IZw6wY3EHQA1Zb3/shBTFqC0uSsFsoY5NeEdR4MW5V7hao78ArGhqpSg\r\npYGE6jJs9sHGtcaU1aeXHgCVY305hiMubZRKd2hhF7q+9ZjzERqvT7hVjWo7\r\nmWdp0CCJ6H7H1LPwgKFaJdRG42em3+woM/XurVCmSG5sibb7DosMwEFHnKDW\r\nNMGx+TUniUEV4KYkYAWa8lNBR5tRWGCkOM19XPq1oROfn3uO4ooegwabxnWx\r\nTsBA47EaOwWx0aF8eISn0eRT7rDe7snyi3MIMHVWnnnKq7KImlHmjzsSN/Rl\r\nXOZ93KYvJ38DR9+oRkLth4BBuaqe3sg7zywgTKzHTPYFemEsi4YDj0sosidE\r\n86U6Z+567q7gW0u1A8LbMMHUe9lf7ZOEaU/5nk2Laaf2kHsgERkC8VCdPxPO\r\nvjErYYjoRCp2tC+Y42UnXuv9epduuw3PviqliX13i9skPU7KbKQvC6DHmLX6\r\n4SXrTgPhI3x+jYf/fMjs5O0n4Q6RwhM7lAY=\r\n=htuB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.16_1670024125371_0.4185546622527838"},"_hasShrinkwrap":false},"0.7.6-nightly.17":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.17","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.10","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.17](https://img.shields.io/badge/version-v0.7.6--nightly.17-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"96da6411d1641ca0d08793ef8510cc97d87534e4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.17","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-4RlWaJEyYerL5LxKVRmV7PsMiEaywgSK6A6WNkHsSoPxJHxMr1l5Rj5rhoDPKlcnSiTsv8a3sXz3L26JPS22Zw==","shasum":"c77d17a54b6fe40bda7a61e879cf51fc6463f109","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.17.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqR/becNizAk1es6UXvT4c0HXhrIT6qmP9tfMTRTW50AiBcVPnf6GArUwVfdmhyG6vRwUwgiMKRBIOEeE8PQZsebg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJji91FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpp1g/8D/UxmknvjWb0NWKNghQxpiwqExu1mceH0eas0yegyaBDkivs\r\nuTmuGW/Azgvd5wRYQ6dZCyA8jhCGf/GL3JiDID+EvNx9w3luRNDHyGDfLZmA\r\nxxnb9f1/gzgQHl6EmKWYa8F0dHUhXdbPpr0qLkxpxmtGjlt+NPs4f2dC5h2q\r\nbeu9fx9ep3o9vkTimft/IfhyR4eBJtUBkOXD05NLbvHIULN4GLjpIyvJXFag\r\nRjRsQxQtZCBoflqOysMtfBQcHEqGjFKcaCAd8vvD8z3J7phZLjU+j+SmhmIT\r\nGDrWkfls1jDwnyI6vdikAq7a/n42ysJ9bxNeL2jhDea+6Z02H5EJCH0txcft\r\ncPjpUmJFjP4VLZor3Hn4mL2YqFrhY0u6ArSI36ycxr/xPdH21LZoiHEfG7Jd\r\ngKi9A3Orr3cx83yTX9NQqcQ0qRMgtAjshzZkGYf4P9Ze76uiA/IFEjbNusq2\r\ndMoKJnHnNZYtJn9ngNLY8vsnpNlCSGSyMBghqle97bGyrwgsR4tFv5DPyuvZ\r\ns51tF4BdA1GYwx9hBUi7Pg+Bj/938N4xSTpLZLy7/bMrWu7Km40Jiyj2PceH\r\nDN8gXv6iBocR4PmTLuSopKJVp6UZc2Dd4HuX12kAMKKh/xmESNMmtyWQNod8\r\ngzEAYEX6QIMYF9Yfvu2xlqmAomwOosLEqrQ=\r\n=YDQJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.17_1670110532875_0.667203922587031"},"_hasShrinkwrap":false},"0.7.6-nightly.18":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.18","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.3","@types/node":"^18.11.10","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.0","@typescript-eslint/parser":"^5.45.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.18](https://img.shields.io/badge/version-v0.7.6--nightly.18-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dc1b12a4991b7179945c39938920a2aa77413fc1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.18","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-3+55W0f6QDGexJLnP8uQ+UZBZ5y1nJdqgBDaJpbpErZs0o8G1oV03BpAbTO9onhPw3AZSU3U/alxo3OgFvKQJw==","shasum":"d5ffd2ace3ee82ced3e5fc2f0e824d639211c459","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.18.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVNQQnS6RO06xBieqyO9yFqQuRtPTBARsumFaFyJCejAiBbrhiYYakPkzU04v0Hgf2a85cj5ZyqLRqMtNJt7jQeLg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjS7DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0BA/8CZNnJetFsBfV3eXEp4SuL8Z1qu2bd2DcRhT3wJ9E+Ev14uE9\r\nmaO41fRI+rv5iSkiHchQOEW9M1FXQPuO8IF+N2S8lQC0NFxMIaTPlC6wly5p\r\nMMHnsgi+Dim8tCDCirA3YZDQ48CfJQw0ZeRvqHCMdN8x21O9bIh5aBVKRDYf\r\nn4o8nhXAuXP6uWud545Q/02RuGo7wjJ4ExFz8XMmiXAaoy6Z3wiYZD4WGOF4\r\n46pYmWf767PZhFjDq6Xd5zD5mfk4uGDg2+mbbYcjBhLv0LpB8FE+wPaBFMmW\r\nBbZF8umqrC+Yi1DKQ8bO/458ct0n7afPE0A5ALy2nFjIbfV9MdMsYvbmENrD\r\nXi94DQo6DK7nq1IkfIvrLbV04UVot1gVNB2nqVK3bwx9d4inBu42VRmKXaDb\r\nlB7mN7MI0pMSjTEgalvpTJvDzmMKXxK3ixPi7K+F4TTT1AFUDJIwpb5H3j08\r\nNk+pjk3GylNTnN3IC6aAj71U8226tvmadf0ppG4vNvBX9TxKirpqmfP66yS/\r\nV0Z0EWQHwpYyWgx4HkWRj/x0Dh1CZxslMbMdHmdFtUUVKpaN1ONjsbKQ/EXV\r\nUhj1x80/jL2dIhHouzDRO1etg8YIxAQXBPFErOocQzsxkbQnuFb/Mwx+tgfM\r\nBJNBD2GmUddNrr4qtclL96ThOcyKyWsZrWI=\r\n=mTMK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.18_1670196931507_0.01920729778045316"},"_hasShrinkwrap":false},"0.7.6-nightly.19":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.19","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.1","@typescript-eslint/parser":"^5.45.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.19](https://img.shields.io/badge/version-v0.7.6--nightly.19-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"655b41984611d5382d3e01492dd5ccd044e503a4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.19","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-KyPfVlEPvbGbag50J3/JvWwXuojiotxiHrMxIiAiqbAFgJfPM9XsAwe3NDWK7r822B2l9lDNijOsCyVVgItIig==","shasum":"30c0713048da28f839e5c65161f6114ad0e9d9d9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.19.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBe2Ejm7MK02WIGnHDsIWEqIh3XxVfabxcP6+jxeFT5KAiA2hCnJi+o2RFAfNrWGcH/tu4ju26zMH63Zr4nB330Tmg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjoBWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpUw//dpsDkBm7kkklzuTD8WbwTFgEOpYl158rhlc0rYSwULIjpyDg\r\nJo5JRPS39ijJTwP07Mbczgm1o/px1SPCeuXSJ0BwZrMOytzbX+BmCO3MnDJn\r\n5cJKZVo+cLroJ5lQkv++X6POyyQo+y83bUIT0NpUO8pGf6LeLHO31/I6awIu\r\n0zaOJ2qhaz3iZ6pzc/G412l7ZiKtCsoRlt/qpR1hctdKYJyMsKzjGWkg90Tc\r\nb5Mm0YsQlxs7+TOkZkEYKuwUDZZnLwhmvBesGnCpAZEvNzOhfOQLTPBSnPM6\r\nxiXDt5wNUQPnRs0izwnajHLaO3yndypBNQd6WA+pbeSicsDgQJk7pkLhAkx5\r\n8di2dInW6sZ/qSUthXEt7C43DONd0J8uYNWpwTaJNtzczYfY4RFoJtQEbXUR\r\npXgo9IB35pEx5NkkMlJGoEbD1V9Wr1jTLj891Pufw2/mtfnBHCYZDL5qVp2o\r\n0TKnR84UWhPLYd4E4bjEV/9IVX7tEJsyLeXbv5EeLHC5PV00pisc3wLdvjAA\r\nmrsx/uDK4qcWlQUIqa4LWZcpg1e9WJrFg7fKKj9eWT8slJdujQxEM+Pdo+8s\r\nxkhdVOnxsi0jQzIPLAYC20gAk/95oBn+JuCMFRiYeIxic1AhpcbLPfl6+At+\r\nShRrmkSsJV+LGI7p+bFWE3XIusO4Qpazep8=\r\n=lAYN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.19_1670283350209_0.8398372784667982"},"_hasShrinkwrap":false},"0.7.6-nightly.20":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.20","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.1","@typescript-eslint/parser":"^5.45.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.0","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.20](https://img.shields.io/badge/version-v0.7.6--nightly.20-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3951a8cf26e265c2e0ce248a2db4000af68c0bc8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.20","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Fhq2NzbcTfvFmmxW/O59L4tn9WIzemI8YAxMnkrTvlcgmrYZqPBZuSen5jugaX/wNF4ZU77EvlIV4XKBOp7KrQ==","shasum":"ab44d6829856f9ce5c18dd7d1c24fb51a9754787","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.20.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/Mo5qjoSV/+tuzgFbNEf8aFtuKnKhfSmZSxHY1oof5gIhALd8cNahP4YItpyHYwb41sYg24TFrSTCwH/gQVazdi7a"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj9HXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZYA//XbGDxfZB7CPGp5RCSiEpPfFYIffgjnIkI207MSUS7xX0Wf+w\r\nanovFl2BwCi1BPaqztXw5U9zSZfo5pK8sus6m80/HwGwwjsOXC6PdyIh8Woi\r\n+g0Zzdpadxl/KSLd+KoLWOafMjUEcgpmXa8olJr6U+A3h3Uz+0itsLo4pXKo\r\nBFqwdJ9BDAARyPAySDAI9+95TYSdbBDs/sc463m5bxCxbyzUnDth0puZqT6m\r\nC994oaahVBtnORuPFY1L2ztW1KNY9C8y/0ewz7+77jxC7VpREp680XWDbdqK\r\nVbeAUYf+Np9aFKjs/wzMbXBDx+IGr21sO53sVIeI45KsjJmjDbhKKBK329d1\r\niCzRpWp+inXpqFMiWZlH40qtAXwLnjP45ucCd3Ls78OCNvJ9+9u6OvSqI+if\r\nOwdvjXfDm5KV2OVnNasBpY996ZovkD5WwSPtnPfPWVzRNtebQFtyGaxvZ4Mz\r\nMJ7wWGfXwSXByk9Z+FEG6f5matSNVq+WRYaAq4q0ZUt+8Ws1Ef/5IOUeUb0h\r\ne47jzzi/4ACkQahz9J1Bijznjk8c335rmiDtaqx1ZZrk0248xhhMAwKbegUW\r\nYkTFAso7i7uAbtyYYp3w6IZ5PUbhoseyiZPl4Wy5jsswlpbceKxJ+OPZ/rYd\r\noZciFOZxGdrm0ecBaiD+SJ0R3v9C9YMo1Bk=\r\n=A4Pz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.20_1670369751751_0.24143266287456133"},"_hasShrinkwrap":false},"0.7.6-nightly.21":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.21","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.45.1","@typescript-eslint/parser":"^5.45.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.9.3","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.21](https://img.shields.io/badge/version-v0.7.6--nightly.21-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cb2d152c248ce46d0137431a55d9cc0bca266250","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.21","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-/odqlJBna0duPqI1vfgkEd9xZCSa9N6CWtJvfx/DuYYEYxtBPsbIHwlGCibKqAA7ymgFogdgQ57QXlOee99+yw==","shasum":"5a73b804e6da6aec126a4f1e070fac8192b92a6b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.21.tgz","fileCount":10,"unpackedSize":30910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi/7KXpYJb7s9+4mSbvzWwYC+F+1DmDn8p8gOBBNE3/gIgCmn8+fUskPTnBWc324sy+9kB05ppzF7MTVZ5+Q73+S8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkSNnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHfA/+MDLO6DevppOAJ9PyB1vHoDX5yXT2FihYMEtqEKrCiqkpedjY\r\nahRI7Fo/HASWJKTpCEreU4pZwa2DdLMaoZOzA7JdxA7+rv8slXv0EPpEId5u\r\npToZw9nv53MzQrC00Q0lyM845GM/1jNZsRWPJfNKYuWyurk6CG8NGg5/6Ing\r\nAacZHCfzdb1ic/zJZ6X2NMAMbNByfGlBgZJnOG5PF4ChFbmQyJyrHdkO1hUD\r\n2+0o8nvCLz5Uo9HC3/EEzS2NNQbjOG2tWu2B8jxezPhjZBpe5qNKsgi1Mu8a\r\nED7/O1AusOVZ9q78HBLck8+8o7foD33vZ3G26FsQEUZCLj+ItBWIWIAFGYpJ\r\nZBbasD5DbmUtqUwoWpEx/KujkWcMjLbed+LfI16WDfc3kwjohrDvesjs0l6R\r\n3PxSQhRskWDUXIaLS+pAdr+sMQQKhRxXn5TPTYdaB0OKm8r1qAcoCYpfyZFo\r\nwSw/lCU+/JeUBTo7u9Id/bcgSDFQPzAP/DT4Ai/L+yi7gVpQ7v3Gt6A+07Be\r\niw0f+8eA3xvOxz+kzNcGQeoJLVqjqavhWpLTCVmvGeFZgjsb6ZjjSVF8hhoe\r\nxZt1AzzjHsuow1XMQUxHVoNnvFKiKJxzqWOwl7B5rRxEn19v3YRZinWDD1wg\r\nEt6i1KlHJ3Glw4x9qU/TLlIw04hcQIkaVZo=\r\n=lOEh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.21_1670456167499_0.8973846777748102"},"_hasShrinkwrap":false},"0.7.6-nightly.22":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.22","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.12","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.22](https://img.shields.io/badge/version-v0.7.6--nightly.22-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c67f59d10d9e43fbaefa1b5cd8b7d70b3f6d3996","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.22","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-t8w+bOEFobjUCK3i+x4ykzsB+uqmphxXyWaJrIelvpizKU5mandkrnr76cRCHPRAwQtPkUs3D/bU3AUEGnaLpQ==","shasum":"4c79a2e17f2e615a14b168053ede393ab77a333c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.22.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpEerFhPWmLhumkIVlyXjSK0rEXagTpGuMrz1RLmC2gAiEAiiua5SmjCsLN8dd2q5+sUmGDfI+7OY9T2wbBNpsmsTc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjknTwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmql1Q//RJVSqEZeclQID3ZcbX6GYU9uhYHyu5dg9/ZCk4VZez99OM2c\r\nDvuTZnDHjfEFJpuDYpEQoVguAYm026yi6cOm5PlRVsfk/kpNEju1XONei/QW\r\nHx+PhgPXj2F1rMDYD/lcIZxlzRJdvGtQnj5VMK16E3W4NzrJnozlmGMqSoID\r\nhT7nEHp8nGjF8CHvSqH05TMEzclakzMEUZc9JSAbBw7FSaHRJmpYgX9PmIZF\r\nHM2Sn6V88bWopBTmyIfoCCWgzCzsMBpTpLUAmpkAaKvhE2QBHonwraFy/MLT\r\nSmrpOJeV8pkjqYLjuzIA/XOdwDYNRXJK7sFj6lp1wjK+oXuTxnofAli0bMZE\r\naQ0m4QWzBZv3oLGjSJ1jA5j0V31yPgxVZxaaxs9G9w6TFWaDM/sWYuuHhLcb\r\nHWXeuV8jzDlYxDpzgtfXzUsXYMTAnnoIyglDzjoLs5alen5ixaKbbTRC4kUB\r\nVJAgxzog3o1G8PGPgQHBBs+RAb1+Jhdn0ukh6YjhsJrFh5s+jn5T7UYJU3H5\r\nNB5M/8tJUaBVaMTPf2fg+98cuQnKmcD8mP8t1/nZklwbPKRhfntq+ihnXiG1\r\ndA9D3yHjx/LReDE4/uifeEhHuPw7MFFM9zaK9KpTHGsCTZKPlAzNQzcBVeYQ\r\nJY5VZvxqKpkoMrNkpE0PoibctCHZvwlswyY=\r\n=SNDU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.22_1670542576240_0.1030723077247544"},"_hasShrinkwrap":false},"0.7.6-nightly.23":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.23","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.12","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.23](https://img.shields.io/badge/version-v0.7.6--nightly.23-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b1ba28338a8d905fa48e20335b7fc579e269f271","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.23","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-nrMQ8BaB8OIRRE4+jP2I5TYOASD4nWjRCp2od8z4JC49o/jApODHRYfDm7uqjG3DmD9eMK802rYvxtrm7JWybw==","shasum":"2b2f54b886c3e334ffafda065128fe5a1a6e14e0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.23.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClYljRYNBSz0l/WYBJg1VHmhDJXjLtoa3tKHobnrxa9QIgJ7R17nKFXY7XUIyXLH3m2Z6UPwnE/1Toga1ZFptbF9s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjk8ZQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQAA//eQDf13kc1bxo6s7zaUNW062EUHkwLVEev0asL05h8Yivia7S\r\nkov3Cx+GSMYDxKA/QcOgTIBLT3xNKqa4VKnbtRn8OUFgQO6tnkxbQdI0byyJ\r\nEbgkRhVpZeOuiTUC61PmugurQjh2iTiIKUo/fCfZYUbqKRQJQbo4skLvPhjV\r\nUxLYkN9Zp+tWj96Z3+ZivIDYpYzbsJYKu4aZSgpxe6YlQPcSr2d3gNdkBIN0\r\nbwptHpJT0tDgrvTKlptV33hm7tHyIsmuWal+8cN2zi3cxGOIxOj5xZJ/35G5\r\ny1b3P+ujUDF67+dEwauryZ+nfOugqa506STwLLf2ah2aUK31vptdS+VRqkk3\r\nmK67U4U0xxbLtTB1KrMxtR1rqDhmzrTc3nZFKuS0sMg3i64+mSYJohnDDc3H\r\nx1y4kBXcbVcNNQy+d3McRx0k+W2H2UcMQwVJj7GwOdcyPw2a9Dt4vel3kMnH\r\nqlv0RKFRKjV5qkfZ/EtaXGYDKeXfaRMMhti+l3e5nQISRZeGO+IYvycNzmVG\r\nkOVHKhGY4qJ8FY6MetOPjXMRoX+UE+NSI/JtN9+G0IViXGQvanANFzvry56N\r\nPFUU1ZG2ShohiZGeoT7pfDJQUT1E+f0k8SbcAchfhP0cGWUNpM9aeqpv6KhQ\r\n2Om156qH4eY4eMFH1pf+DkqM1xPoGYDCzu8=\r\n=4V0Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.23_1670628944571_0.20740971261522234"},"_hasShrinkwrap":false},"0.7.6-nightly.24":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.24","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.13","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.24](https://img.shields.io/badge/version-v0.7.6--nightly.24-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b1c06abeef719a81c738476313ced72199841058","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.24","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-RwwmBJo5CuMsR+lZtPVr2FSnrij4/scp/YRdVQQsAX5InYzWJLT1pFzb6uH1FsIY341ScjpWPjOgSuSdUUhntg==","shasum":"a83d0ab12af92af512db0cfb440b429160c15f39","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.24.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvGCEf11R+WUq+34hgJR+UiQh036oo3VsRyNTmztSt7AiAKRdya29ZF13SKp5bgO+kKCldO2LT+rjMSUsV3IU5Hkg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlRfDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomxQ//U6uTFbOrQ54mtFldG/1jiPTq3e6y5A24uqB7/7S2zY4lpIOz\r\n6/L/jIzoW/9IF/cVz+loICBfE4dywbUQcZ+LHhwbn4QGZhfYBiKhklX8TLk1\r\n2qt+ZlGQi2yGyl3wegMH36FqG9nGonEUV7mZsMfL4XetkASIVBcZM9aK2qrP\r\nS4F9oOAlPy3Xw7bQn04Ncsn0DAMlIyud8R2CAd7dOI1r56N1FpGjM6diF/AS\r\niBcABzHsP43MyOMNgyecDOG9j58Zr7Q/bv2RXH8WHKjtjzhXyy9NV6HVvcrn\r\nyOxdV2sS95krGiJaolOQpt5ErDmHMFD+r1OpkC3bO985jXJPFsuIyx+WmcIT\r\n0ZF85mkMiUZAhL2XjI35vbgxQ8NwKvvw1pNImWXLFbFcoH8JXpzC1HExa6So\r\nnYnw52hOFsx8wi6m1wjRt3A9Z5UvuJ49PHV5naZzeWcROQfDvXAUhxQKaQ/T\r\n8XnRMF9V/tP916Z571jnvvQyFPv47i6Z5Nw6LEZ8jj/a8yzOUByBbnTcETjL\r\nk6sFac1pyFmyWXi+boRZ/jLXdaw3qvNdhokEK+FxRMyX6ckWBmMDk6PvD9QL\r\n62aEbFSg9iV0GjQAh2kWyAAUY+4Ua8tNKGhpRwJT9neUBH13jQUrJ2ZeNtXY\r\nXb1RHXp5afWUxwWKNJU/JXk2K9jHfnCAq0Q=\r\n=xZOM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.24_1670715331398_0.24536632777687917"},"_hasShrinkwrap":false},"0.7.6-nightly.25":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.25","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.13","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.25](https://img.shields.io/badge/version-v0.7.6--nightly.25-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c4d56c375092389f2dced4db4a37f67afffa4e8d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.25","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-IEDIcaA0Msd1VbDV441uMdxp2PvmhkK+otnvGft5gQQkBrccQUdYdFluhQIolLndKtmgxgL6dlRQHdAnLZVIiQ==","shasum":"6f284cf6149f3fec9f66cb6c100d6bebafa3395e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.25.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBl8XRugmIwyh2sRwldPeWPk8XHDtR7hLSaf2+S2eixeAiEAuVsEixALYQNJ9BlfJUgWdVC5Gw52Kfr6INbLE4C6VO4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlmldACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjahAAoxrG6lPobng0YbTFLhptl9GhmviTx6EcgeyvWEgCZcbp15QM\r\njF0mHhHv/pgr1MBmdSEIe62gOfY9dYIQKizq6Na3lZu+GG1z/bzXyZ+i6dph\r\ntS85p2IXFqDP/NW4QchFb8s6ChkQs+Bzt0OG0CHB3+CIcKXc8/wzkkc6vJR3\r\n0ISFBcoKqTNjEn+EOKSfPIFQCdNTvbul/RQvBidlYl5eyFq3pDiuVpGFQ3AE\r\nI+bobtXkjTp9/mQrQFP2nuBLCUGjF3fuejC8joF0gRmcvP7Zv2jnEx7uN8Br\r\nOrf5zIPnlJyCGCxvcLPzuDzoWFK6SVKOWvcIO83NssndO9oV63CSX7t6uTKB\r\nhYA/Bqbbr7IRs5sQPmrPrNtR9qoW2Ifp7XNUerkfmeQ/vcRyVBqH0B0aGQ0L\r\nDuPmpeuf8jIONieLjENcjxB64FlpLELlk8q2ZsMJFDK/Nz1GlJmoBJG2Ccrh\r\nqg73tvmD85YZ/Vvyra8WrR6meWMTZedWy0bIQ/NWm25fmzTCFtoOF27RESdW\r\nvyCKzAK3/lu0XZlfmqiVZ0weA89xu2/5c3TDrqImlqMe2JPheUdDJ4uwWOCO\r\nX5u0DAplqK9pNQ+kryiq9WjrvbPEGB4nF64we/yiCdgrUVAiLXWrGluNqnRT\r\nnoLu9bUCRrA1EyBbgfBAW/03KCOqLkqCu3s=\r\n=z7DF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.25_1670801757674_0.47023108697751015"},"_hasShrinkwrap":false},"0.7.6-nightly.26":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.26","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.13","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.26](https://img.shields.io/badge/version-v0.7.6--nightly.26-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b1787f7a2bf4ba133622e45e2cfba2f2fe6cff43","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.26","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7OuXXk4A+zloXDpnqYVVnrDdHZ+Nyme67I96uTv7p3dD8u75F9UOy2GLb3x5lMlIJPT+c739PZLhb67RtKzKig==","shasum":"fa8dce81bc4a0c5df4e0d81d606d50357953050a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.26.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpDNc8DKk3EUvEuV6c4k1hfOSGwwUDjuPK8Wqa4cJzmAiAY0vYW+x5hqJqhWmFclTam4qWrD2J1kQfDt37HMW6iqw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl7rcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJLQ//ZpuN9nOh1qC07jW7FIwLbitoVO9lDwkVeRh44nOOmqcRKjmy\r\nrYa37Nhtw2a7K+dWekazgfDL+T+T0QTJZ1Nq9AgtIVsJ6XV1FmmTtd/fwmDd\r\nT5TUxM2SBnDCAQmtn0z/VFbvlXj8T/6jlLL02Qy2msR05VZj774yhg6xdBdV\r\nf18226CQ1hi/ykITKZzPlyOl8JJ9fdhbBnRtwSF5oxIlw9SyHCgZWAwTxqss\r\nymm26CV7yFLOYxCzZF/0bbm8EZrpq+nsPfA8K0aniMTsxtLM68ppWx37GsI0\r\njBtQMJdzPlpeInQ6zn35FI3IglUxkSmrwomXdqwPWN4qmSQZthEYOaQtVLkA\r\nHnF73u1hvpFfYLXvtkXyrSvDA9IBBctmUoSxyKAyLlfjD9V1qh5crFpOxGuW\r\nPKAlD3P7kcGldWt/h9IbOH5xioCU3hUMxNzzmb72e+AHYodi2G4cJ68YSaua\r\niRIFogqJ715va06o4sE2nSuNMHdugRW+JvcnnT93l1ANlkzodUD3Gb7IEGDY\r\nv45K0tN7rzSOZL002F4bofF/2ecf9RFulYqRbwTpI77wj1e7JQDaoUoZOrHQ\r\nrsam44p8yQPcia1cz6hyZtd6/pYp0sLEk37B8wkY6NS9X0NV0Ad/udxmhvka\r\nW78YELv4aSqTbwX06pOG/Y17tIrlpRLNuic=\r\n=YVct\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.26_1670888156747_0.4104427696545643"},"_hasShrinkwrap":false},"0.7.6-nightly.27":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.27","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.15","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.27](https://img.shields.io/badge/version-v0.7.6--nightly.27-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0ba94f2f37031800d3f03fdfb3202f15d50e1a24","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.27","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-2mr4vldVkDtU7xgwXnwVMjTbSBCh6+4d6d8UTLaNRHDNA2GBUB7Iip+F+Cr1C5PNptFdXBfQdP7Vvx++073vzQ==","shasum":"748a12ade3232afea32007037a7e3d0c0e204a70","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.27.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkDH/8QtjOeicwzkKdh0l/NFRO/fChpEjVk3PC9PHMjgIga6wI8HwDwHhnz2w3YD3Df2hguUiPHwCxdCn0T+A+T7U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmQxWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1Xw/+NWA2gp/yq/kVHOGV8ZbE/lmADEVEuT807QQ9+4zj4tz1XT2r\r\nttU0DhFKVGIl+LOm7BBoe1R09RETAFiG2ZUnW6br6pVk6ILyKjrXQJ9a3FJf\r\n+AqU561s2ep9r9a2L41ClJafkdDbd1ZUMSRgYn7xVjYk+oef7YZYLCpDvRNh\r\nFkbbDltIJrYU4SEf42jSmKafRLWMPo04/IZPl522y0s5wfiPGZRN2IbjqNrQ\r\n2Bu7aF7+FF6b2JQWC/7ycOnIUHxdU6dmO7rQg4hTGrG0klKOLys7zDKKChM6\r\nH2KWTkrupcnQqQd9xxU+siT38Cf0Zcg99jVMN2GRL3hOBskT8uvcKPeIgus2\r\njcGmpw7PE3+r/6ykMXcHVhj1Q5veL7mBU0Q1EwaXphLzDjKTeQ3+U5dwt1r+\r\nKlBIFVCUvUB04PGV4gCyJHOU2sTB5q/cd6yjJbWik1rxjfcZ17M7cR+BTwxj\r\nR5X8gCzzjEWnOxFm64AaXYSydhMyWT+K1rNdycx9RiP684xcsDDAxpJTXWiV\r\nfhQ7xh4ANE5iiggmuA6xb5wqLRZmlpxfM+vpYakKX8Ih1M+bq0MqpILhChjZ\r\neBpvxKUMSVL9yacyxs6Zmlirp8xeSaENzk1rfyvNMZySWyEOcrb/Odm5zKf3\r\nMcdYDMpKdOd6C2yHw3aacxtnRQo5FrxIFQ8=\r\n=Vx8W\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.27_1670974550136_0.6731082163948716"},"_hasShrinkwrap":false},"0.7.6-nightly.28":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.28","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.15","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.6","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.28](https://img.shields.io/badge/version-v0.7.6--nightly.28-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2c2da7af40b3f7cb31512fe7928789e2484fdabb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.28","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-E3Wok8hSvvejrdSvpODjYnZRgNTRZzI9ACs+7CmD5kfnqi4yd0dr7VEdonFQR2Gy0hbyCQRFqTAfsmzOBjtkiA==","shasum":"bbc5bbcca9c7d8fb3228a8208874ec2ceef08c52","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.28.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMjuovi7VU3jgGglA1efzT6gqHINRgpPPQzyNW2eyQXAiB1siyQWzo6RtohSKXZ+ULTLAJEwqp1kEgDCg6I/bYutw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjml3gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqvtg/9EMw5/vp33q7fCv4wtaKqsu2LmDQPD02wtQkUriGPVAPoJ9Kx\r\nCd/W2QWS1Oxz3pKu/GIP1iaE237c5bc/BmXr2TWLAxfm/zEXSwMGRc8iwx2W\r\n7emExOuKPZC6cjMefYmoKT8y/5w9goeWN0XUHdMBWHG4fJWak05e5XWYPiBj\r\nz9xVr0HrACvx8y4BfoMcQaKQizSqRtm2yBIWj+ek9APrnrUbOvQz5iRUIPF/\r\nO+vm8G94t3mnO3VCv2cs/Nkz3aIxiYZOKjBnWIV5DiheE+5y6jIm5ruhSzZ+\r\n3xfNbWEoJB9ET00/J2gszZaM4dNRuwfpS26EnzP29+Gwl6g/M34rKvm4h35J\r\n5FLP1CP1jmNK/r9jxy/2kYhRqOr4ewr9BYqusYioNjjmQpYNZPy0bZBBCTNc\r\nKIpHgtTyfmoGDUzCgdAmhHNUpG9XZ+N3M48L3PL9J92UOrqlxnRyvdjAQESm\r\n9lDYrR8KoxB5v6TjnOtvE5LHIJ4zY1cYJEitR7Fh71Sc+6HHErvrBMwTgDcB\r\npHMtpcWU6PEb+u+xAg9+5sjM+SQaH7CAxwzOyKIvBCKJ89miFT5fWA1h3dbZ\r\nzTzGKPtgAPfvlpkCTPJV0xTyydxfu+grDqeWW2IM8Zsf6E8zGOGHreTrXuCy\r\neC3GeJZ9SqIbBI3OhGFJ+of8g59GG8LbOGM=\r\n=lDAw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.28_1671060959964_0.42967496665316696"},"_hasShrinkwrap":false},"0.7.6-nightly.29":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.29","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.15","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.29](https://img.shields.io/badge/version-v0.7.6--nightly.29-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c5d955645a0e2e6d5f2bafea35103f5c4824da2e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.29","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Kd9bN5NkVDOELVLMIQomclFYUtskegLg0vG0SJ9IRy38W1gznS1QSHhB8mY57ev7ORlusqgFufYPjPei7znUzQ==","shasum":"89220282af0d47c544fe15bae4b36aff670352e2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.29.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOhCq+x14lelky+vlQ8UUdT2KiduikVv+fmNASWqz0jAiAsPUnm3FFhkHzl3s1flINEp3rmpJzK07hV1t767b1uxg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm69DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrshAAoWDUwyH0zJwqxjIIX7NBCS64wOaN9sNgavO53nrZY1vPfzor\r\nRjo9h80elZKfoeirmyZkbHO3Dr73xx3b+L2ZDjeHToxVi2jvP7X2cySPNq/i\r\nXX5BXHakSZjMjAXL1xC39M9x5fHjajzMAGhF+YsrzCgyNXeVoD5lyW57BQw3\r\ntBd4hvP5jWL0QnDiLjFxxMdRnmHI0nuxXTn4KTMkZ3FEdj4K9Jbn23R/W956\r\no1ucSi9rdcquIORd90GtLufDTnPtUgThc6z4jnDkp7qMoGtzVVfIXVpkBlob\r\njrq9aYw4p3gFGE/iuYD/IT+/bo5x08lsh81yXgSMdY0VT8aoVW11wfCj8LMI\r\nUcAf6p4RkbyhYlCTYzUXbcJpM1BYDo/Vvc34loG6B67z90hQxrGUVQamKLfb\r\naHtXbj2k8KCP9nCY6lUnI9cOsxhpP27yK0n2R5slzGBXAlIEpoK2gmzqy8aE\r\nb0az2LE3o8P2whKof7UCejUFAQjPD6JrNwj7cRmiMFaKfjmFfzSMxeGrJoCh\r\ntBnmaW3TrRHUmITtncYnahtJsyMpCqKt73Dwit5QdjZjNdYcTbGYxOvfjbrB\r\n1CINnDTX4lbSKhIF6UIn7+AGqAKomz6e2KqZhx115ib/aCD3+S1AIsLBK1z0\r\nXk6WHZZwsAr/FrxZnky9AnHn+pAEAe4ndLQ=\r\n=z+LQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.29_1671147331217_0.010055158796320685"},"_hasShrinkwrap":false},"0.7.6-nightly.30":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.30","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.16","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.30](https://img.shields.io/badge/version-v0.7.6--nightly.30-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"26a6c75a4d2086de91d5ed82432ccd45be7587c7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.30","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-09AqNfzU2LCU7bRR8zYmTk0JuBaJjKuMpXKkX+2OKEWCRK0+c3cjCodNYb7Y+5b8LIWhNye07LysufT1vBgaMA==","shasum":"a88c279c45e2192e50a835f9c210e53cfb964f8a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.30.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCynh8KaKIrM67zle6hRXdBLvt/UhSIGLr/rBWi65pIxgIgIG0Pz7AgwCl+yH4b2dujFTK3z18+ha994IAyZRxArxc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnQDdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8WA//c1Hpk47/0T2yEOb4kefccMCBnSY5wTKuhi5TN7Ot6OdPxEXf\r\nAJ76FizmhIfQkSjb1jE4l2bBfoHk99ue1EErcVHp2kQbLGErXWsxzhLYESCf\r\nixKLuwLuFB8rHwR1RPHibf9Uy3cXhQ18F8n4kWRK6ZhwP64yqQA2hhmhQarO\r\nYqCf7oXEAJIxeMtp/7z+rBcNkm+6uc9gPB8BtLrQhbsvYyxCilIigGMH4+wU\r\ncSCryOp8EKTsUAQm7k0MJkL89mNQRWX+DRctWgYOsUaQAgAfmj64kmb6VzSe\r\nlip+4Db+Xk+ftUCPLx0qyttEhRTJyv+Q6kJCVdJLUFMIpI00KKkVQV+JWJP9\r\nZdcIonO53opFA49Sr/idEN2uAuGdlY6MIxST+D04SwMzRaZ9LOR1YDf1rq+X\r\nqnUAYE0TU4trJPbRilm4EUhfkWl20RXH/idWPsEdG4DVEG0Ef20VrbZVmJMg\r\nHJ35aUJBF8AhhdTIzviIv6GL6liR7mJ21933BUGN2MDUeTW7zRLL4+vrpfjC\r\nYu0XOy4g5iVy4f+4tT6ZbL0jiFAB14Y52XAyu3UCrzpE9DMs5zvdT3mW/N2Z\r\nRvb7CehS8fCClzCr35ZBEJ2aJjbDRSMGJVWJ8nizDYjk5w4R7KUb+FV0ztF5\r\nS3m+y8NvTTDbCaa4QR95Bk41czAke9+tJGA=\r\n=ZcgM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.30_1671233757518_0.3046546171460831"},"_hasShrinkwrap":false},"0.7.6-nightly.31":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.31","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.31](https://img.shields.io/badge/version-v0.7.6--nightly.31-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cd4b0f8a14f08b70eec48601e20d40aec85583df","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.31","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ToCHMNVHSFoz3cRPznHWE4+bi6BrS02kV32LoUcHVcCbwEtPgTZDJjfO3MUgkpIyVTFCzaQrwM4WpsuVr/wI4w==","shasum":"ba22cc55c3be9268c5e354f5273b5a7fee670d4b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.31.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUeDkEBP+mUwDaUbkK1iaaESUnhpeHp2OHPZHQU1FlOAiEAtUTxEIKgxYP2KBFQHFdb42iBwJvduGzByCS+8mlOw7c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnlJTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp19xAAlkSkfENF2ZyMmPD7MpHcyAZ1sjCt+VilWFvnH4x4dB1fk1HY\r\nrXs3RP8xF766Mcgt1bqbjS8sgGvg/IhxZyfiyPALyGf9Tlx6SKL0fnjScHmk\r\ndsONwABUne+G8jgSzOXhg7P8mhdmAL/+6lfHforclYyyVJ6vtLjLxynsNOCg\r\nXUtpKrQyuLyGtHTJxUUmBtkPUTpsNBUaGRRNyGgS0BO1As/yC7GTCTezfzB0\r\nsdZOXY/e7+uG1iML3dNreWcwG/c/VBXNZQv/eRO7o1oft0JHy1L75SQkOu5M\r\nulPXPeWo6BG6VNw6kmQtBr+38Vp3qZ/d8Yz/gp0ZUA3QY8xIwAMU3mqNfwCk\r\nNOUs5shqjotHwDM2n/C7BRpBJANHxjjDehgKUE86m7+/vZAds73Y5QOFw6Ax\r\nAiPSmH9QoDmrB+dWws/7R9g0ZGMrrqBlEmhYMcIPb/Web1L958ItTAA9bZLM\r\nKDQOA1uqsYKJbJdl/qZPsWauO7PX/BRXV7mnFPuI3v4kmZ2iq+XVzma52bgz\r\nHqkx/VKP1CB3XmISv19rZGUmUmz9gk9FEyxUkWmeZkamfm+zSk36I+sIU5wy\r\nU8ToJIE/05DT5zGIcZ28LKKJIOuYr/lnu+6Ql/PiIYbLrRqJXtmtAUqHV1EM\r\nJtAOHwqmh4uS29dDgXyjP6MkMK2u5of2vQM=\r\n=+dsJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.31_1671320147704_0.7123625499207316"},"_hasShrinkwrap":false},"0.7.6-nightly.32":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.32","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.46.1","@typescript-eslint/parser":"^5.46.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.32](https://img.shields.io/badge/version-v0.7.6--nightly.32-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"790d3522c7690bc0f777a4945c9a2e3fab874130","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.32","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-uKE+17aUuHH0VzOJSvJJziU2PYENA5CIvEGTuB9f2rkkB9HJ1lBMRPO8NUvfMx4G4bT79DtSxn/lhNKOstB7Sg==","shasum":"24714035a626c2e04cd9bfa76e690edff6737db9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.32.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAm6I6+viLdGUVUwzLQgjVSzlgfGyQRVgck5Z4eR7TuAAiEA3cctqoO8rXbQimr/91GBWJB4QVX3KGMdpGI770CM6s8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjn6PSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqYxAAmIB/kOMv7O+eoWyeU9UOnDNbXQA07aIz5Zgw2e0sjBrsbIEC\r\n76BLTOrnzYhqZoegkwWcD6O/6DSBoTKEdGz2wRlbKVG2IMr3a+0Ea20SJdCW\r\nmEMfq9iHm2jVb94xIg2ojEfLYwzyhDObBoRITaijNJExQJEzDet2a8NOzO7O\r\nW6CzwylPG/DzPCgp3We6dM114BE1s5H49/ZkiOn0QIlcWzJMAp/p081ZGwec\r\nuwFL8Uka9BKKd0okPjkvWNK5QbEbDIIto9e81fuM75SANswBXRqM8cysKGyK\r\nEPMV4OUNUWcSz+EjYz9+7eTA7g0wZXmGCSBRahjG6SfA8jVut3PXBR38ghF+\r\nUZ7XBzh4G/zbLCxkPBGrEwe7F9JzqyoZFD6kKmqQdXklNwv8Yr4snKLXklj6\r\npNaNc33/8vA+jeFU7K9jei6xsdaRe6mmE67OSXu5U9uedv5NgLPIvQx5Rj26\r\n/nyw25CPY2w/8fUxM0NB6bkyAfcGVV8cGb20ukGFjaXvxVJA8n92t/Yn37j7\r\nJcWMFwNwhVwePDAmIJsKMw/K704VIFwhox8vvvG1jZbvVAevQB9++QFdUYRR\r\nGuGy8ExslgnvNUvmruOnUEvohyXfY77K7VK5jswBaD1XiESHKOhcBSV5aHsV\r\nHjKDYPmX8rm4xgTocxUlVomcnV/AFw+tELM=\r\n=03EY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.32_1671406546088_0.4846980121882043"},"_hasShrinkwrap":false},"0.7.6-nightly.33":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.33","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.33](https://img.shields.io/badge/version-v0.7.6--nightly.33-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"221fd2e6342dec7a9bfe84c3676cc6a7ab540b89","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.33","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Sx/P0i+UF6NLu7tMVI3DKLLY+pxGg5oMQEgPmNaG+ZD3Ts6Ss5E82jPgv2zugn5M9Vh2ytyBOL8cRc06LUbXUg==","shasum":"c3467200bf5e8c8d37430331734c622349fefdc6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.33.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFU3HaEGz753MWEL7ZL2qrHBFueL8qiv9wrdR4lHmLVfAiEA7iK7WAk2ec9EIhbtp7OFNDgDXgkXdbhhUesbjpJK/OY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoPVLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpinw//foWWySr3LMkX0js+YtZxAVZsfsAfJ+7s5ht9ByfoQdQT+mxC\r\nHRD/dhMfh7ZHzba9lRP/e1TW1JVHRo5Mu29Y0yi0KpeUZTaqJYq1OMpISzv1\r\nYaxomUwgoe6Tf9vflT/YXqS7lrK8Ue0VfK7cKggF4PXdihCSNsuUMRnAXAyk\r\nNlFAxBlHOEph7AQuT5ABcbJau9CZa3Z9b5BD+3eaWYjloOLv6ZP7SkSylMBl\r\nG9npQ89U8Ifc/5EGTl5Ce7FHG4M6R0VCzxjF8zCHXz385Po6BtYKVG4ESHff\r\nFhD/MaJIbJXWzrOe6blC+QBx2UGYleLtCaL7ePjZaqVtOqiPWKUUro+zb4Ni\r\nTLUaGNzog4MFP5ascKOjxBdTw0sIXyaddO53pbHpyQMdMD8k5cSQqIzrTTOr\r\nt/HNfKdLE388yHFL8BocmThNzjLtKGSETLX59uth1508uON5pXBaU6C/gDj2\r\n62UYoC22DPaoFTfVfFKN66Hq3C0+jYj0VL3YLgYyh0PjqEcJVpenUCmOrwZc\r\ne0PC0Z4KYs5sk6sBsTv8CXUC2ud2/2wSUo9o904s8NgMLw3X8jrDAqJNzHyQ\r\nZNhRO8eQ+L5oJvggyVgeibUP6sNHIZnCmSsJ2MH/qhEGSSQQoW9KkyGs0qP8\r\nS0UnzOm4OhzP3Lo+gNdRZGbp4V1cgjpi7IA=\r\n=rEKC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.33_1671492939105_0.2171867684805855"},"_hasShrinkwrap":false},"0.7.6-nightly.34":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.34","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.34](https://img.shields.io/badge/version-v0.7.6--nightly.34-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ca637cdfcbb11a8997931828d84734540679f1cc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.34","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xPNYASTHYt6PpypEpu5wvv35dU0d7RM7vacItseytYN2SCA9xEkR7vpnpOr5WR1JbIlhub9gxHHnxQcD2n3zUg==","shasum":"a8f985bbabcb2a73eff9fc90d8985a6d9ff59e9f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.34.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJwN0KYMLY6FpAUkzhzxj+LbqlYWJJxFOyim1yMlE6FgIgBmBpt92Zr6D3S4k4By66qp48yfx7BJFhS1Qi+vyf7s0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjokbdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqD2g/9GRI3cENZlsMzVqCMduqO0TMLoSc7FaZf5JvniAe1O2bwup3R\r\nv5Muo++xR/Hc5yVg0BV7sh5Vska9HUwJJaHj96T31f0KwQm6OFYcHcZqaIV1\r\nuEpBPCmg5BUWUZmjvjkErW1EaFvZYmTCNo552P+6lpdpkeiTfgCu6oB3UPbo\r\nC6WyoN9p1wadX9hYjeFAenYSEcInmkk4m4cagLtUpFAbKh/bWZdt6GNwQ9yU\r\npWHiSt84XPnJcqcm907J+Mqwj5FzyxPBlITsimQmzLuro6VKjax6B/yRLZZn\r\nJaTUeUULbSskRN9QvYJYOQOcM0RC/dHDkEDrCuVLQtHzcGCc0TAGJRXY3OvQ\r\nqIo+7qWWMP2kd8W86JnEpj2Sp2dgOvPFfxdg2pslXsR6SjOayqjssgXDgnal\r\n2W7bKNfYOS2MW51/DtBukMlsy9HsAPNMq9Xonjxz9DLmN6mKH5xLQnU2woS7\r\nkZ5yLQ3sQ5hei3vHk0y4+o9ZseHvut1NRV1cZjN80NC+zx1jiXjcdX/Mj0tB\r\n8a+hz8I9A5OMKN3vWXwZiBKRtOXB504CfIguD0hxvwrAr6V8R0V1RRRjYN14\r\ni3gqX/tlrpm83PqKgE4aM5NviYTHBSAI1NymBeHITMK3AznuQJTcWT/MwIgo\r\n5cLwNsmyLCtueFD5gTalAE/PDcqjjiRXvDc=\r\n=z8o4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.34_1671579357670_0.461578958073658"},"_hasShrinkwrap":false},"0.7.6-nightly.35":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.35","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.35](https://img.shields.io/badge/version-v0.7.6--nightly.35-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"93120d279b41d3e89d48d6eb4419d5eb8ea304aa","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.35","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Vzt2QY/Uw/AkjPHDKPxRXQk5kHCQiaVqIWz8ShaP/006qxU2KxG43krjarzeHX1/ccRQlN4rkVzeBMAGnk/aIg==","shasum":"a84b9f09890d9d252d1d4028013514dc513d2b01","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.35.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5XQVtma5E/AfUKU/B9um4/RoPGMgeXg0h6snM+yP8SwIgLsFEGcxTUveEJZY6xsDV5vRXnRWhql0L/+n4SCwokJk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjo5hQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+0w//TpEOvm/E0KX0MY8XDOviSHP357VNs5BugWfAV4GGtF9PQCCW\r\njK4ad1yavju9grZhSrnvGbtjYLhkhMUbwl+DCFrNZUUxQpWeoztNtVXCs06e\r\nBaK22RUYq10ZGz5nl+g/PI16DJ8J+B6PCcwShDMxKzi/A8CyPNqp1Dxi2y46\r\nhJ6ubJRuUhQEIaMfJs6dJKbMHlwX32ZVmt+a3hqM8GRstUckX6H5r7wFk64c\r\n6Vz0t1gDdWeaqU0QRYC7IL539nppLQKOJFy08LutHF+F1zsOBWkZv2+Hsl/Q\r\nDJ/YFKYujvWH9WIongFoJ/5L9mT7NRKGhATvOsyjLL8UOcfUXI2ON1auCxFa\r\nNez2U467ee3SxIINg0+cNc44qQUE+CTwlNOyXH93pEMUYysSOv1fobYjWG01\r\nrXSC6VVywYs/wHtKj0ie6cuuqV0QiDMPiyBUEIYkcA4GwocmqrjC0SvI53Ji\r\nQf+4+KFwJ6AxU9WeH+kTOWhRB8Jhq3qqWde3D81MsVaAlIKd5BXjGsUXh5y8\r\nAhaNEYjDygiImkhEn6n2FQiYAgd+dvJHwdsfdVMucWztOVGAOG6eAPb275er\r\nB5qtgqXyIG2vawtAbYD8WklU8TCyWbiMNsBzQDhLIivKUmPfazfxF/6r0RMy\r\njOkQ5gJQF7+UMCykJLohFunN0c8mpZvr9bc=\r\n=X/vt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.35_1671665744346_0.9762264355488892"},"_hasShrinkwrap":false},"0.7.6-nightly.36":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.36","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.36](https://img.shields.io/badge/version-v0.7.6--nightly.36-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6891b986c7913bf256b907b16e9c981604ebb495","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.36","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-6lAZLQKfR9Vj+4zdQNPMwS6QlqPHtanKPtMlVWrRtgFSCHjdNOxsQwZ3NNFEvhFD6klyWrpLLWHfyrVCc4wirg==","shasum":"25b359e634cb48b8bef3c66b5e0c241e88896aba","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.36.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4pk02FlBGjUk7WwGTHb+y2m1EDgQanMsnJAHKkt2f1wIhAJ/xQr/mmjkMEEBNnbH+9t9G79Hanb0FA2YFSypDr5N3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpOnNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvBQ//dyzTn0zFId8tZ6DjkQi5MYD8yALKoMhex+3iiUHfG0oWJ4tx\r\nhhSqeCY45FwUZw+nUJjtVmdTOdt37892VfpoeRDgwSJLOtitN0wyiLCuWLQB\r\nH/eIPjIQyVIExrPj+x+sRqS9f5LKcM8mHb+4Jn6oj3koElWvylnLjFaUcC9s\r\nqbw7Jgbo3L1Sxi9vY7QgVUf3xKWpIL2i1q5lNcFZqZvycPDYyfjZhchgtsOr\r\nPBddIEOlb6FK/y69tqt3ipc9ygBbs9vyeSuAxLu5OUHlOfrLUwWK+R3EVTJ8\r\nuwXz9TF41o67KL0zxAKNXdGf1YFZ4cxE+HnnpDjr0V04ZZXnbhwpT6R0ZO7t\r\nlJVFGC8zH7hHPhQNR/lJ+IycwQtge+7EbkSkdVjHJM5lvQd0BC18N2oY0HEE\r\nRfVThNJ7CO1GAdYHgVs27DYQLP927uFHUhAj3GW+yBj+qpZ/xrAs96Ftn98+\r\nsbs//i6+oK113lNOlruwM1zTKCe1k8O8FObf12GFRhNvT6v1VsZkM3lc8yZl\r\nW8PgL+X40yBrvcAgRz4bI+JAcGOkPdj7Z/S/SpQuCHwVEapOc4fmzVixE61L\r\nE51P9jqdlv81+xkaysTyu2HuB/GqNeVSe9GqX5Q8u535oUmmjoo9iFMztEyb\r\nPzM16SKnsgDKOyJIdkakZWQGQsBqSdumFDw=\r\n=J9Bi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.36_1671752141221_0.6398760314329881"},"_hasShrinkwrap":false},"0.7.6-nightly.37":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.37","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.37](https://img.shields.io/badge/version-v0.7.6--nightly.37-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6d9a2c14c62ab4074b4f30278bf1745405fcaaeb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.37","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-f1/5QTyuRJvDFhMNMiCIeQfEDowIJWoBTuhZ6NYZuJI/9RovNF9LlLjn1F46juDfZmqgKvQcqPQIdZqWcZh47Q==","shasum":"71029a43512fb1f48000fc2357456caa3ce7c713","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.37.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxiSJMf+9LIPtEVKIi0LIishZUHMbLkTUeeHHxZ/zXtwIhALoIMN67/q9x22mmllzfPSvU5/uY7898ZsyeBxZaeVyy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpjtVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqszw/9GhB8NqXOJYxpKmBT7SMz/YwuegrX2fdLejCDoDFXYJOwiYDb\r\nXEXfccznrWXb/amWkevWmXvr8rOnKVRGuvr2QaVjx+we/OwRNgS0/Mc0NmK4\r\ncy7X4csuUb80gUiHKMeKpiLTpsKlfYacCzegSFlNRw3vYC4zhCpbNE+fBi+x\r\nu2nd1ByOpLSGZHwzJpo6ZI7jt5TyRdkFsnrn6DL0eDSG0wjr6zVTaySDVytQ\r\nuPNwXxUh2SufaHcCqPNeEHMPiUgabMkQ57x6ljv0V8G/h8IAY3G3gBR44i5b\r\nqqkmrKP53+XMPZnWYSsQmPV31NRhBsGna2+6YOHTyJd0XLMbDzAFFxvQ9cHE\r\niQk/QHFpeDBS+uh4HykJXDsVrRbU2E6SAaccFCl2CGZ2g1JCD0vYIV/QxRm+\r\nZkpojMon5UbXR5ckjq9oEjALJvAAEh2BAm7BShb0oO8ELKDiSSAz1I6RT5Gs\r\nOLpDNKeCoprJQkwbbPjGyQMZgKk/peHh4SSsU9uHjMYcs39Nj10/dYmSByw5\r\nbpfguTf4h2S1pVfKWG/1NJr/G1s0gyj/XOf0MoEEOSoZx7DNJqMI9Ff3Wfrn\r\nZQHhGYuiCDHa2rLzIo+RZuKMncZJw0WUbzfsk1rNWcwmTF92Kc7Cefgswu/K\r\nBYlmmGrqsd0ng+iLHEPlLxiuunwUrvnxjQg=\r\n=PqGH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.37_1671838548939_0.49861730332094867"},"_hasShrinkwrap":false},"0.7.6-nightly.38":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.38","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.38](https://img.shields.io/badge/version-v0.7.6--nightly.38-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cb35f45bd70088bd42a118201044ad8d5d0916cf","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.38","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-2lSF4zPBMW5xn2sWTstWkPjMn6BB7HrpKED7be31z7zlEhbo1VVmcGG9J5Bd/kbocVwNa1aoqNwRZ1CJ5Q489Q==","shasum":"6bea437ce35d1886650d808e11c3622ce43c0048","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.38.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/LeYYs/AwXRhhDvkLUpHGNGG6fYduHU9z7g9tain8bAiBkwHvDFNh6MFpOae8Sd2ksurebS1l9pbUAKeYOnmX+Ew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjp4zOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmopow/8CyqTi29dt6uk5J762llNo55FrAP7q9iatMKdT2PyKAoNXNBc\r\nS6NigR1fJn9lckTh4AdsUWF57bxj+rclUgxUXjL7uYoK+aQHKOWAQ7IWRThE\r\neA1PMiOXIgGfeLBA/ABWnJkIJSj03KDlH5UtBaFOXNTp8X00dlvfnHyLVX5v\r\nstnW3z5gp3zM7yB0+EjLE4oaiDIfS9VjagvvmHkFy4dP4UYvybahKQyVyaVY\r\nd2gmyNOiG5Oavyc8wvmm6E+azDrIE7rD2q062vlhGZ6S2g7xNlY8NRjW1u25\r\nyzDL7Wrz4a0JboU1zIJOW2KY/n3xBv4WS8xYqBTCToMoLIMLwQlxbabDm0NG\r\n+MXs9VXp079WJbLC/Y6vTFB6FNLUh7JtgaP7tB7lJA0+t3ea0F4KDkAbkNNB\r\nVDTbByLpGolgPN1klsbVhl50XY0zucmjlViM/Tk54ab7x2LUvczDVdAtl8Gi\r\n+KOqdRUnr8Pv/EhQEHsBlniRh9Qj1Y3XM1F7uRI8GDX4JekgBA4j6KwC1qt1\r\ngPSkLW94EEEkLveKETvgYzMRoHZiZhh+qrmachp/XbLJKjpyjQZKTDmNFNbw\r\nooDzyQaFIlROR7qNLANk1mn02WUUJLvvcKOHsATWH9qiWJt+7E28ruytcLzY\r\napsL8MSR4VRgKK/3Br1B1rZziqs3hLMA4WQ=\r\n=EdK0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.38_1671924941869_0.08392634889388106"},"_hasShrinkwrap":false},"0.7.6-nightly.39":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.39","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.0","@typescript-eslint/parser":"^5.47.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.39](https://img.shields.io/badge/version-v0.7.6--nightly.39-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"041e7464465220377750e44352b723cd681664d7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.39","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HsaRNwkPT1lNacW7LkR+ynjwcUHW9PJl33uPdgr84QagPRLLvd2rl7g5VQrKkbIii/VAgH7hjG7hUZJwmOkgrQ==","shasum":"2e5ac6b5b3bcea8323aab289641d42390d95f087","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.39.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHx8CGSn9jOEkGLKKObLDxLUGtHZ6Q39JyyYeVoKYjxgAiEAk9PuwL4eHS8ho1aQJCjOv/8ISGlSdC0iqJnmvp5R0NM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqN5CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOJQ//Z9zZffvyX+FBiCBvNxj7htzBxMgmXTsHxNFWCH5f897NDQZg\r\nd34SCYKYJ9UbPTvMkM3bQbn+EsoUOMrWVL+O0I/pOjquS5y9DS/oc8Peyoi3\r\nqEEa8WhogqWh0J5gmU5BsIEdPKRnO1m7eFZOHYx+0vJvvFL4qUB+40L381MA\r\nofV4N6ZWvoof2dlh/2a4z8E8Ik1ADSe+bQsRPJQMwocdxhbQGk0ivT/SVSwy\r\nGg2olE0MieL0n10aOLlMCuRHRgsGgY69GDYZKFamWCEIOlj/MoXL3OZ6uvU+\r\nom7BJdt8wjr9pfDoaLaC/3gZImcWgjrVyblCjI9HVkUI1vrO7Ujlmot/lj8Y\r\n3c5t1csKGkStHxJQzF4j0mfkuKEbLywbyoGTRA0AzJWMCa/AErtwEw7kT+2v\r\nu3FX9vjtYxdKkxblkpemHv9gGebuJZAEsZXASMqUv3n4DLioJMThqUMn2u04\r\ned+E8F2gU3GVGwTWKXffDeDvjyOR5yTRVQzxtHgAq2m2yyY7BEk+QM3o/Jrz\r\nl0UZWJuJXZbc6udcSh+7jEFU1NGrHJHOp27MxVuEZVJSEsGrFfODRZCDdONn\r\ny+rqYwzMd96MZC8sYKd+bvyPLOkdFuyhqfottospmK0cIs15PI10Dm20AlMp\r\ny8Yx+t/Z0n8tAXnvl9YVt4SqOOlsJkv+R1M=\r\n=ZLBM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.39_1672011330291_0.7922661111256879"},"_hasShrinkwrap":false},"0.7.6-nightly.40":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.40","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.40](https://img.shields.io/badge/version-v0.7.6--nightly.40-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a92d3d9abb253dccad5f2ecd8f44b76016ca9ff5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.40","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-RBpUZh0C4dkkmXwyKo6lnID+wSmO1QiTCZ1rJW8bpktYfobcei66KOWRHKnxvfzQZfx1xNnP96rOn/zNBAqK+g==","shasum":"19b4ca63ae6f399b61c46c68e0d96cf0ffacfd63","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.40.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsjs4rGY3HTHHgidu3mWqATUG9uZku5FiuF1rUI1YJVAiEA7ZIrJLc4tu3tTTI+GQ48B6sMCKa2m+6dpJTdW/rACLk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqi/UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqT3xAAjhu7JMWHRGxvQT1i7XUwklh4JGR0qFLf8xeFpv7iuWW15Qu9\r\nbFXvlMtuleJBdh6HeOKyHPoRNkh+CnMGh3/stnpdU8+8tyOanrarxDYqDbC8\r\n0eV1ypc4WQ/T3olBfhBimOAJTzYX2So5UuYx9ZCQjhPc5usIzFJ83Di3SYzK\r\nDRd2+c6yI5qrm/3WQ+codG33DJ9D9hc+Ho4jaQFSHoHJMd0PrJsYOs2vXqk9\r\nBj9rbPbZW0+8GAnz/9dswnsBUa4DhJpTGTrBYyqiejPv0JlFxuzkn30JIi5K\r\ndq5GCYXxT6YRLfNY0RJ1sRNmPbmlGx0h8g2S/s5hnXsgSQ9SK/lTGJd4erqg\r\nwiOAF/ffOb6gEMfU9JUUziiPlMyGlr5IMrvyDqKkxWaGdl5RFBFD2KDPkf0J\r\nkxcQ9QyMsH1OzIOk3PE2gGdXaWZvkOdepLF3esbHl8Az5zcIKlD40Sktlrqv\r\nxvWlztbWQ+JOFgk+rcRbo+s7D0JiM/zaMN1i3GJQ6ZIGFOGvCstHvwjHx6bB\r\nC7tX1gFvm6444RQDEAlxycqR8BOaeowEVQm9r7KqQE3iPVCHYZrPvAM6xbrI\r\nPpPlIsnt72aPf0pYkeCXJCajxMrSqm6f5jsah+MkCFEDCxSIZbMawT3QoS/x\r\n08Z7digMDS8aRlYhGydknk8Z3TkaBFpG9xk=\r\n=W0Be\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.40_1672097748257_0.1328123123084466"},"_hasShrinkwrap":false},"0.7.6-nightly.41":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.41","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.5","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.41](https://img.shields.io/badge/version-v0.7.6--nightly.41-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b566eb10fe13d69d342c33e2771d24b59c0d9776","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.41","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-sajFAs0SSjRKMF515GqmTOBGTSXYCPOZihIKvN4rLYul5xIiwK5T4bImuHXJjq5V8D9uOKGsG0oVvJv+dwQodQ==","shasum":"fdde7d2ef6bb966d8853b17e1e4afa49a5f60648","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.41.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRIXD6d6F6XGBskZ0qngg9kO1VvKN6lD8+eXzFTE4HaAiEAsMKR2+1N/C21XIj3FROH9P6BDOQglszv1yDucGnr35s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjq4FCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoICw/9EIRry08EDnoBVIK/Ujaa8Wop5VMEQR/aRYApGxVlnKQn9v/l\r\nOrCoQ7uIOr8kwKIkxR8C3MJ+Qo6OyC9jbY5UtHeL3zRJ1UC743n9Hew5auQF\r\nKyah6iFCnQWhXBPVrFw2HirxgN7l4GX1ejj9N6Gg+WjvCt/blm35EaVPaKwW\r\n+Zdwx8Nnc/ex1CLPp2PLaftHjnX9q02HbXJZ1PP/GREzn7aayB7d68U/P8JB\r\na5VRFUU7yWpyJQHFJvhnN5XBEngQMcwLm9lFVd8qFY02jsuLhv0xo0xTfSL4\r\n8Qq4Jc7yyPiKdIIvubz2ykTvdN8DT1bwhuOdPCap5I+E7RuRnlSUfrB5+Aup\r\ni51AKIMYh5MBFS7XNwTnxs+Y3toMwb4kUYx/fBSb3G0xQh50ax9PCzfa4xuv\r\nWUQmS4tQl/ctbM1zHUNiE9b3HxHZV7jJpDs9aPP9HWIhVktoBHqayZ/2m5KP\r\nsy/bJxgNtyLycqe1OCnDCLwlSE1icOl2a8J+mXyHDzj+SdtM8ywesSCgicV0\r\ndOc8iOYJdlW2X9JNvvB0su4Zuj/PiZ1Qdndh1eLOJj52JkPQ+MGbMym5ixax\r\nl/S8PTI1ol4nbx5e/1DH1vaX3x56r2NwdIAlnrfQ9ie6A4p6UlRfzr1JCdPp\r\ny+bOsSALixcQXZbZEV3HuGDFB3Clvh61XCA=\r\n=jwAJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.41_1672184130399_0.960194568908431"},"_hasShrinkwrap":false},"0.7.6-nightly.42":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.42","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.5","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.42](https://img.shields.io/badge/version-v0.7.6--nightly.42-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"53f2855daf36a8b32c5f68fc6f933539e8c85f5e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.42","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-uEHHl8D5A+wn9Al9r4tzqw7grQtQl1HJGFs7NERcHqCTH+QuJsMSn0lsdMHw/0NYs+PPmmJ49vbFPiYL6xGsEQ==","shasum":"2872bdb96646dd67001b966d88c06597a82b72fa","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.42.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7zl0Vs5nP2lE+swZf9a5niSUbr4exDOCNZl+XLB+dFAiEAqpF5M9AksWRCk2v8ebqKo6+mCjzdfRdmChkl4SyOCls="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrNLbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHhg/+Piw9PBGl6+buyjxJPp9CXDAQHPkRk8J8T769aFK6PtX+0Oph\r\nPuGkvu9OUeHJkYeSwLzvrhNgMiaoednL747PdjeHqynLhon490s+thV273GS\r\nikpBZZcWP9bk8HPEGLSivDqK+gktufIbU1T7yXiYbxcKx1hNvFfWRvYIH1mT\r\n+1SILFDsr1Rhsm08r+S0hXh5ABS51/F3E4M437aDmXeljHqpgeUPdbjdJWeb\r\ngffZTr4STWzNG/IU4OypkxbPxcJ2OUFQWtQjDGgkpnpPDQOqK4ZU2qm5vN/e\r\nFXpCKsVPpZ9WFBHci9B25Cz7OB7yKHHapL5Izuekw4fhDILQqF9V7Wqy3yr1\r\nlrR2lMsw9DsXzitezTgbBlTbdictRcjSgNOwGUCOD3AiTmpwvdKX3X6gCyrf\r\nuetlAghwCZ8EYTlX5j5foihMR0bLtbFi+R30gQNkIfE1gwuagBqmjAr0jqrB\r\nbuzLTrdaSVUY6l+VsODBO7IU7yDH1i8+DYkoY/bHkVDb1dNn63K5dcyYF/cC\r\nD8qWsNZgKtGz646EjIPNYl4hJZ9cOO0z7pLZ12y6ztOCOgP/RVSeFt72X8MM\r\nte/3wcsS9gx2p70/JShnjpMkw/iM+CXdvP6Ve3ywFOA0f68OAQ5c0LBi2Qhb\r\n71hX8rgnCYWVWkfJUxsQiLZ3sirEDskb2YY=\r\n=KNtn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.42_1672270555493_0.17335485553416508"},"_hasShrinkwrap":false},"0.7.6-nightly.43":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.43","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.12.5","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.4","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.43](https://img.shields.io/badge/version-v0.7.6--nightly.43-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"25cd6d8593ceb4f1473a520edcf0f373a740e00c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.43","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Ajvu2B2w/WR5A4PhKbxUUF2nueZ1kU5BsTvOEKpU/d+nizLPmmG5VsD2VeycyHm230r9hy3ZdI9TwQXolYYIOQ==","shasum":"0f902b9844bfe17e427526cdf1694671726f096d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.43.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaZ28UNgTnRMKBoa+rOLZbuxn9Rrc9RZ5PvMzRCBskxAIhAL3sJCQzMpDW5NSWnarPaBdwepYvYvFLToHfNUPqt9GM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjriRHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvSBAAnEnmw+bQsmR0Y+whiXBfeurU0783Zu5LrEgpWK0Vd1gq0wnR\r\nf5+ZCEy4DpMcM33Ly8xft81H4J2xxJ/YQkHVzflH3oeKXZ1KUF/3jenPUl9s\r\nq/F/PrV7TFWnIw5oci2FINWa1etzS4qxFxL9GvN86HxwlQIHyAJh0WfLl6iC\r\ngSziBkod38r899dqsXtpP6b4QVGOVGHDJ0oao1Q3JgTO5FyrLVIRGxmDFwbU\r\n0Ef6mjosC/L8vRYOzZ+4Ofhmw/lC5oBKbLPBxj1IhX4LR1PrFpbPXE9his+e\r\np7rwN1ZKl/nPmAPPISzuE4C2Oz7w4aqpVw2XMmHEHVS5WAF32Z/y6Ps/6ibt\r\nchCAFiDL3Y5kR1PKmmOfBa3jE4kn2PjfNxKeqqtn1r+/osA2s+BNS2jyeJfk\r\nas7sT7exOAf+oTfRyUopNiURSZ/TDK7BZ7r3NQQnsG7awxCGEg6sW2qqSq6F\r\nNX0PT2TG3ad4MgXFYLi4oLrmAm76QaeG0BH9FSPfbgmElrEhwchgDv76JpCT\r\nJDwbmcWPAFKloQhrxyOHa/6/HVD7i60dFUU8M6Ha/zuF97kkHiS4HSAOSwNE\r\nM7dlVFCl3wGILUizF6hU9dBQUJcjwHXoyxsHyzeuhVkozwRCS1CyV7CfYH2Q\r\navKzrreVGWAm0KTUlvgs8TErI8w76HhB++k=\r\n=q0xj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.43_1672356935053_0.2829107788294474"},"_hasShrinkwrap":false},"0.7.6-nightly.44":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.44","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.1.7","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.44](https://img.shields.io/badge/version-v0.7.6--nightly.44-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"53c2f64f0ba1a9a1b2410661e0b13cfe26ea7bfd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.44","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-o8JWGnO+tqRHbqzbur1/Ovc52Oq9A//H9cFRVgtRrAMAiUtXwUIpzHpakP+Ns/tYly2md/wqFSVoIizF5tMJIQ==","shasum":"a29a7ea8091acb8ce6d194b7c0f2291419cd64cd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.44.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFNV/wGkZFh2fjwtp94bmHIUUxVGxoOqeq34VfssktpwIgReRA/iNAMle14LcsOfottpSqfXUVG2INKNsUkWvLPwU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjr3XIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9exAApMWLxIS+vOvszdrdkhA+yCONi4XTfpwhu/DT9VWRSI0Dy9O/\r\n9S57yD5ahhn0nwfcCijpFdKhq4Tusshh4XTuc6rPm55AeheyBLpt79GCgxpK\r\nTazRlcHMjw3cYFvkFs6TyTAEjjUNVQmBcFDF43hw1yH6wHi1dL5IKxYJ8Kii\r\nUMaqjoLEAaY1mWm5P0u2x2j48N8o43rDRynMtBJMvMZXp+Xpk4AIUfqsefXw\r\n8vNIBUTWnMh8MDdC5fuS1LOOh5dPI/2BAibLJuMhYcg0nSIx5s3hux4a4Ejq\r\nWhbOKxNXvV9K7f6eRbqDU7p4fzWd/qmoMVB7eNx4MIbJ1q8uFP5B3taA0HYO\r\nOcz02fx6XK2Ewi7sAu4x9FA8Q1ZyARIHM+zYEF+0b1g9pa8fYIIif7HNZzHr\r\nArD5lFucrHRwRDfF03CT57mTal04AkEFKhx4ASd9XOReIrmsewHU0DVugzl+\r\n9RUwOxrocS2eOybE2O+EKy8yRyoshq6Vbzuqkc5C/PYLWlUnEYKXV3079rM1\r\nC+2/dtueGnTPQsVoSSBo/tp6Zxr6wxscB/aPXtAav6JLB4O4E6csd1QRzV/1\r\nPOvDoxHawKBmoal3vKSGRAyJUwdFhcexiwe6OlJ8JQdskAm66GbOCTRcUhw+\r\nFynN1HEAFVRS6UlshGn4N0+ji3jjC/V8Et4=\r\n=mdpM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.44_1672443336099_0.905727560202807"},"_hasShrinkwrap":false},"0.7.6-nightly.45":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.45","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.45](https://img.shields.io/badge/version-v0.7.6--nightly.45-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"61c9463c17807e9fd10542b619679c14c63ccd38","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.45","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-OYMuYnrRofbCY4E7M+cb0WbmnGm7zVPtw2W3W7sl5/8ufVMvmJT0gU539723tlpVT0Ycv3KhNN9HZBT4WVqtQw==","shasum":"9050feec25edbd59b7b3914759aa59f3164d9f45","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.45.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHP4OlkCsjfx2S5KgVP9Vl+cylLs8hOUms3iGS6ryXfyAiEAmWhNmfWaMnkD+DTJdnlkGuSZfon/IMT8PcyiDdAnKKg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsMdNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMCRAAocvEKfQovIfpGQxcEMd/7oWYiCqWOrZZ43yM+7i0tEpXdkIp\r\nN+cv8Y4G6HMD7HCHVv1EfRoJsaHdsGCFTNxFDBJeniX1aM61kzM8wOdkSN2z\r\nHEUWF2dy0/QKzUJOdzx0x/B0COeWNOc5lhQn8rW1fZl/+1EfbFQDHjJ1PqPz\r\n7H/AVubiEPTiIyFujS7xM8TFHb2e19FFEjUnPOULVxE9e1iZ01KMVHejZm2H\r\nBhBHuW+6t1BjZmrKuANPKo/HVa35pc7F8jENKS+mCn6yi8VKNrG4bIr5rChJ\r\nXYn6CKfpVafM7whR4oGNtWObmXXosd+5PMp3ToQLWCj6l2q1lz9VhhoiM+R3\r\nrS8nu5fPBsD928idZ731YE1iDrL+bjpYWo6HaL1WbVXT1pK/WSeE59FZ41+k\r\nXfRC7I0dat3NDc/Gg4QCNZPgebMjb66WTL85SDQqvBR9YXeyOZmsRnBmaUxy\r\nFz3amVF+xYq+2UgMgsJoVd35us2EBf6SvgsppnlRys79VDqnDs1SLKGHlFXW\r\nj8lX81jO3ZdfbdKAW4unWEo/GgfS6Bb8m5U3ttpBQLniY6vYQbulpHI6Narz\r\npJu9K6UMyCVsPEgsQb5VBV5ZuIwplSdtQzYdZzcxOWDsQw3G72cBU6XXOS3B\r\n6BRgX/Kooo3rZ4YNmYnqh16PoBifho2RW8U=\r\n=FBYV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.45_1672529741423_0.9267406921901249"},"_hasShrinkwrap":false},"0.7.6-nightly.46":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.46","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.47.1","@typescript-eslint/parser":"^5.47.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.46](https://img.shields.io/badge/version-v0.7.6--nightly.46-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6f84c6f859edea742bb6238d19470dc3da60dd31","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.46","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-RE/FVc86FRO11d+eJ3bPX0ErNijKf/uZGNM+KZtJeqhB/5ejge0nB6KDZ1NccNvOJkCKbJ50HCIMauJbVPhSBA==","shasum":"9fe4a58a6121d0d91847b4a664bd6c2b992655d4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.46.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlxKKBW6FLDfHF8k85qfzKQVmwl7HIqKL89zs2MW88xQIgN1GVIrWCaYsW22aOV3nqslr/LJ4J3z+mMTe7Y0f4yUw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjshi/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopjQ//b9F76bxcdeo69CjikfV+wwTtNccrNaIEdtsz5yDQFrhzB/qw\r\nA5Cw+NN18lRlz2WU2DgH7DkfhQhbuxAJWkgyVoBHLDzmdpzrdcuhW1y9Su/2\r\nC7DJnbeAoKYCV1NH0dIwS706wsJ7H+4lxJ089Rq3hgWYniTQ5egbReQ6wbSW\r\nUgEJBpcjRm/c7Zk1pPc7wHmZv9BSxmmG0WqVE0DsGXSuhOWQAljOfFIQSa7w\r\nG2cLrggBHHDKzYuQLPpAuyI+jUOA4E3FZX/xFYKTLZhIo5TOIF6pq/jythPb\r\nnRC90CaItHpWUs1ezO/UzJOjaFB3MYZMobQm4VMkDeO7gQdpSBrLQF4DuSca\r\nCDKtv0fl3QOvxzY8Gdt8EGtCyXHTFX1cyDIRXMZYmretx2G1JlcygJs4p4AB\r\nIw5ZjiAkDewUGP7AO3x5FPL2/RxQvu18MyPFRn2fuYgrmif5O1loEHu6X3Ct\r\nxwkxszU3kFhy2SMVVoCZE8/O/U48dt/hLlsHPkZNgngEbGl/w2F7ZmaDb8+v\r\nJpHEi6NsAlqFkUCKCG+lf+JyzAxmlxsZKhyFGjHiBvrZ4rFFh+vzCh3k7Mv2\r\nBqoBpoevCE6OxOWEXoULLuOrMQ9rVpLksGs5OBYSwtvoYJDX1+sV13bYdYRe\r\nIfSWP68sVFRBUhhd/e3W3/kIp2vojJe/ctQ=\r\n=HKol\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.46_1672616127184_0.8569285487682317"},"_hasShrinkwrap":false},"0.7.6-nightly.47":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.47","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.4","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.2","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.47](https://img.shields.io/badge/version-v0.7.6--nightly.47-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dd39a6713ccee2e305015940bd9f82f1701eaef7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.47","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-SuAL5eH4t3PBvCdaUeoJahfiac4IfzFXBCZSTK/PJ9wTZcM9OKwjUpQSLdX10qxhxrj76veJ5OLu0pZTu5u8Rg==","shasum":"cc54a3848c907d28dd36c96d36cf8c986efed1c4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.47.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWtNax5NdBOMIxR/I6VoKRPAOmd/4wnbpZRx6Y9KLsmAiEAqCrW6xxV9qObAJGRbFVYEOY81/7n1aGNEWU/AkwiG0U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjs2pRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPtw/+Jk5UkwodbuhlUJKyX22MziwSMMT3KIELz1CwEDIcHcsteSDq\r\nWN+npftqP/HyGBrqlkjcgOXTGFmePn2YD9go+MieJL5KXujDbhLHedzYZJ5G\r\n7qiosOmSaFM5pY1LteMzwFunbk8lgMOFIR87uyyevYoTrD800/9N292sBad0\r\nuEBX6/yup+XXYrHGTe1c2Bc3fYw2MRpDk4FX2HPaP/WC76+OWoSDZyioMfKx\r\nfBOg6mpB3VjSEeXQlsPZDI89WP7cM9Pz0doKYbrGpCo+6n0/NQ4XHCnNvc9v\r\nUFW6ucdT1ZR8X2Hj1iogfzFZzoFytdFMwOTvR3JuVUZZIoMRvPC0ml5Iiupu\r\nDqgL66vST3re+Wfwk8o60AP8EqMDy7/G4gp0HEPNHE6vjzSca1GngUxr3p6z\r\nBakWECmX0D7gMfnruDs6/aiqLckNZLlw4WovsvxhSD/lQDQYE8ASwRTD8Zaf\r\n8StZ4tezM9QaMBsCwEkpA1hRabJiRPKtX0jlntGw+WJfJ4JtqtTBZhA/wqQc\r\nues1ydDyEDEiFPEObe8zDKkfDBy9lVTz8vtRCkaaaob5ciYjzrmUfZV0FvMK\r\nOSnYXmhbrxOhieQwmQKeOh46LFnrVY2kjBPYixdZjHP6Kj5PJV4tBnjJdtTe\r\njVkw2YLgbXPHQs98lDaXcy2yurOuNcwwNR8=\r\n=wiKa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.47_1672702545746_0.4007742861967689"},"_hasShrinkwrap":false},"0.7.6-nightly.48":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.48","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.48](https://img.shields.io/badge/version-v0.7.6--nightly.48-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3581dc948ba0e7a82a8818eccecc828a979a36ca","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.48","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-5Edf/ALY37L7b0zbuRN/+Kcl7bfc0sdZUkb3xNVNYAhDwRm72sLoz4d8tb3kpBwHYJbWLM618zz0intR9Y13og==","shasum":"f3aa08c5f30aa40e174d92b8a867ffb67a8f653d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.48.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEW4EHd/r2vLN3dwunnKtH5up+vPhyue2odOMCPtXo1gIgLqTe0b62hAidrSNOLyIbVtG2NGXyDK8N79rcmdIwICs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtLvjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5rw/8Drdq6GAWwnPTdYv3Kf1FzqXmOLciAldZ6nVZ+VyETxh7Ysxe\r\nGthD4sV4QZNUyQpDAnO7IpI1Z/EqQ69dr+S2kKQXwKziCFAVvUYT3vF+bvah\r\nTyoO74BYwPR7oQ72iPqoo2M2g1ZrtVT/Pn+IVy2F3rlHCBK4jSXyivkUSGFc\r\nzXlIE9SWQBImXOx0qbk2/Unsd03fokoG8tnr93ck1rI3FiMzja1aF5K84hNB\r\nX8At8VJFy3/G66Kh5B1u760lNa/BLEGspBPdk7OtVeIDmWluY+U6Yevn5r5I\r\ny/yYZdp8C8wm2vJgOKAo91EMhuVN72ZytL58f/jAMucZoZPjuXzyoWBHqLPn\r\n5PLNo3ipq5B62hg4YKcTCJoImO3ZBmHN37euyAm43sH9EjyPdzfIMtqxaX7v\r\n7Rtm3hK8v8B47G7+7xRM1w7EQIz8n+I51O2gmjFs4cfpmJ2Ka05uYGq8Zj24\r\nw69A88X7j639jILXVNXdiUbVO14K0gs4zuIUXzqy6kzsQ7VRO91jnoQpRg2+\r\nmaCkJiftrMXnqnbfF3JX9mBP2rwJ5+zkbGvwhE51gIbmh9XdPcJdhNBq8kjj\r\nzcJvaZd2MngpADvHhJU6M20uOlTIHfsaRYlN9LFAOZP7MQH+NWEVT8nquFEF\r\nJe2lBdRS3RD6Lw5QZKZgU+coKbti4BwewCI=\r\n=wj4M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.48_1672788963369_0.6857840182914459"},"_hasShrinkwrap":false},"0.7.6-nightly.49":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.49","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.4","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.49](https://img.shields.io/badge/version-v0.7.6--nightly.49-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"917a8e25a5dcd71cbe78aaf3bb76123978a78847","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.49","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Wy9Big5NfHTsEnHqcjcgl61bwuW5xlSzs4lUPD2SlUq9wxVhSAHV6lCEvXFXr3tfyW58AAgWHPixfHeQg7xD3w==","shasum":"5402dc93ff6addddda57a5e0051f6cfca3e3aad9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.49.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMxFxHPsmfabYKekxHqLSahTeKzYbt2DQqb2gnta/kxQIhAKnCvRy2Soan7OFXebVYjFqcNPyRjiyYkRhEJNP4KplO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtg1QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0iw//UTk7pJEQ6qscQNnW7Hf//E+u3x77xlvdQzY/R+nUTV0HDxen\r\nHQiXR3feDDKP3fIvSE7PUnH7/2fe/2Ms5n9IVe1B1WruEAPB1XI6LOrDDcou\r\n5yQemc+dpubqPJ8FEZ04ac0epJZ9Gs5CvFRfpHh2+H+564EVWo3fYRyW057f\r\nF61qJh1Z7W5sQ6wYZG4HrqIimLvDiAMaK4xnzKggDHa+GpUIN9CO86HneY5K\r\n9yt+Xi4aQ1qgvHL7NhZdhaLQCHdXrQdeBUSagHDT4ZXE3mdiz3yJKoxuqPpc\r\nY7uRPh7fTLIdbW7kE28mA6FoFs+AGFBEKLju1CzNYLjD58orZ8Ts0gK1xawV\r\n4nu+BtaYrFoAoWQDbqZTk2CWGE1av1CrKgp3ZvjXoMh08nyBm8ckMfNauOVJ\r\nmkFwuQj638q87rylS3Ad2AnlnZ3sCFIjSxbHdQ/+q3sFtirF41Q7AXwfS+gp\r\nycJP6OTKaheGTywm3ws6R7II9njIDn1gh+DKMGXTmYc8YFUAjH7Vh+DARIvx\r\nANeEdED/OLV6TTCrR931McHoXbuc6yqb3XV5mZchXZD0lLoDlbNmSzZmKfIg\r\neCdXftYA2TtrS3Gt+Q/1Dd21t4GUEPXCQVv+WN0miAm6C/Te1H/NkEpBZg7s\r\nrvfv2eS7pGlJ+c92ReR5V6qbLzh/zTTSEdk=\r\n=ZckR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.49_1672875344694_0.1022323673533796"},"_hasShrinkwrap":false},"0.7.6-nightly.50":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.50","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.0","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.5","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.50](https://img.shields.io/badge/version-v0.7.6--nightly.50-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eba6257f31bdbc6e7f1ceec354712d04cc992275","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.50","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9jyIuHzkogz/2awYQh61DSoB6DFCvHr+ac1fFYZJsSezz9sLFZ9OYxo+4UApwVCuS/BgsiJg8kOKy96gHwthaw==","shasum":"7b438401f0b0a31224c1177edc7d2ad1bdc8eaf3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.50.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEs7t7nHHAA+V0hRUOnvsRY1UB/UraMRp11UVP8pjIejAiEAvgDHr+/98DkokGSi9cSEWs6UnAdOFixH00f3IDx0tQg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt163ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmom5Q//br/e3U0PHJ+q4mAJzkXiu+z8dVguwhTx9/eTeShIlvbsUNLN\r\n2v3qAtWx7n2p995V42Ak7LsG461AIblz/2AoyftFZe28n9hgMey4V/hjdfcb\r\nZi1kBQITwiiuL1+1xrowQOwJ4h1U14W92p+U09Fo0CCr/GSO0NlNNA/8yeO1\r\nEpFg8/5HzlvDB+SEeyprv4ktxtoGJxrBEoin8cU8YjH8B6/SkkofFMFz4ujU\r\njxRw/gUl9fPpv/n5R5kmJqh/9lktra0AVUXIqTSgl09wHbdo+9X4XeaOixx6\r\nbk1CCd9OwyDzXWkKak6iZlUIw5xSf0dKgP+swSZZiadaDHRAYLTtNJHOG86h\r\ntu9sPK0VmRTHgd5jIEiDrH5PVkyL8Z+I8rldZuwzlILVCtRnvNTLegoLS3Kc\r\nH/n4ZZ8K6Oo3o7A3xoxPuGR40SBn4zEVohKy2Sc5NsKMpTpL5CBYQfmHCn5I\r\naADgxXabz9Gd6ZigMAdmsy/WQh8AOxMWlj0ZDObZPUQdpaZ+KFYWSwG90Qfa\r\nDKMvqPN2Y/b2xQtgmzblnmrcIF+zahZaX0ULg+zTNTiomtOkGUuXncnJYTD0\r\n8z8bXufKUTbg1fuFD0PYGRZZR6CwzG8ZAkTw01laofiKm9UA6EE8xT8JTzBY\r\nFu5srvHNaE1kbl+u+hy31xSBBz9hUUW1eNY=\r\n=/YCk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.50_1672961719472_0.8178114302560064"},"_hasShrinkwrap":false},"0.7.6-nightly.51":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.51","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.1","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.51](https://img.shields.io/badge/version-v0.7.6--nightly.51-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ce583fd5b945f63d6a70a805d0bce4873d611693","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.51","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-YKmrzRZIlfC+GZSXIifJZQwIbfKPNJ+kP2Bzz+bgCuX3rMlBmNrVknx3n+TTq5G8kGGR3yFVH64nywreNY9P3g==","shasum":"381d2510b49efd6c30fea40d41052a6a56856a8c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.51.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8+U2Hs2JPfs3RzD+Dcq7p5+1Z4aBSaAKCWfCGam/8EAiEAiLhMKATEGAL1fN2GkdLBsum90XECeRA7hxvaW8zRiEY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuLBuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYqQ/9HuNB/j+A19/jG+XXf/xR3JVODGPsD2pRQrwEYD8aVfJSt6ZI\r\nHDqdyTaWs/q0Jnug+ahINuGZQTzpeOD7R2ljcZ4yBg5PYU05F4vbgHNk5L+F\r\n00NkXDj26gD3H83lh9JRtI63dnb56KXAYC+w2pcH95BBtVa2ouMThrogmIzF\r\nBYRYBhUagGDtMQ1UzthAtAtf0HlGfklalRAToX7+2bQ5MAL1q3gf8Lq9TP36\r\n0nx1kmMtR/U6VH8ggpfgAOhIiHxv6qQLgz94WtOt0SFkPLyf20twEvFbY3nH\r\nNVk2R5WUqXU29LGqdmpo2hrCzTLyNYWWFDsJcTzx4ElETuBVb99VMsAA+RuG\r\n92tmFzuDYRd0ErAtDUi6I2tdJXxSnFQrThHGNdHSsOBSA86nehSvvUnyNFoR\r\nHtb2B4Tm+sfrhamsDu27MMsbJAmOuMAAiWL1A1pQjoe3UmKD0CFluzGBYAIS\r\ntTdLZXstXL8IVoOPp2G1UCxxgqubI/kZjqDlXuSIIb5ErtkwKzu9yvduQt3i\r\nVSBGGNYs4D+E0oW/OC/QGhEFVq/LKOBzUPBguRZxpipKyV1+j8SI2vpTF9Th\r\nHoQcpoMNbTCoBh/ixC8OhZ0qdKPnHgPDcn03E/ksiUmJZtxGnBz3ClpB/wrY\r\nSCXGxwWnN4W21Dt6wFhiIt5ZVW6PGij6wUc=\r\n=CJEA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.51_1673048173788_0.3714035059979863"},"_hasShrinkwrap":false},"0.7.6-nightly.52":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.52","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.52](https://img.shields.io/badge/version-v0.7.6--nightly.52-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2e935e7eb699b4c30ea1bc2401ebfd1760e89363","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.52","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-fszI2Iqy+s8d9P6SK2mFg42k0qIh2YhhjZdNpCjFdAJdvOaI7WK+dEjG7Fzj9I+T6Ks9MtJRZJhYaDELWGVH5g==","shasum":"c88669a7a0daf1c24492cb3196430a9c8c3f0ed8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.52.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpgLgInAXOboND7/mpfPnbzzyC1SKjyLvKMCvdZTAb6wIgXVOI/thJrfJ7diEWrVqpFUR+oWXgkOM77C88LNXlWeM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjugHfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovchAAlxyYSw98uhp2P4dC9RIxyc0OEveJ6imkSAoMHOgZukYPVV9S\r\n1k1erEBG0wChZtUO9nONldGxXRtn1Mn8xPqinsi+fj53epSvogVSVgacGBjs\r\naDlO5baJDohjfkbQ8rQlGAgNY0U3wDyBrsTlA5aV9HNaeCnFO1Sy8aT1eeis\r\n5vRBctsCBJU1Pgx60D+SCDHkH9t6yULUbopotQwRlj1yastbVjDxOYKwhw22\r\nXf62dMO/vVypCMbyYCn51D1eA/rVw7BSeSzZqzOFctq+XMe9/eGqm8oNsmhB\r\ny+uC4gmPL+h/cfx4kk9b5VHd/sLHDUCAx1Jr6fs7/3Xq9WYoTh4rqOa0QE8+\r\nnyGCcGOsIlH9crl0c5CS/mlLzXuQzF8stshTqa1Y10xEXfJ4YUwEDCOb23Pt\r\nMVx7pj1wNRZsRZvZB9/SngwPdtKsOElDw50XiIoCxPGTVTsydxJb/1JYuXn+\r\nn0q7qYlQzpwMIQ3u0cShxpomWFGkR64ueT8yd0FM3eU0omI70WSjpaIlFfQj\r\nkEdqLBDA8h7b5Dr9qk5ZNvR/7JCLs77QunWAqha4yYYQIO+swIlthLEzdTlr\r\nB1qFYVFFPYzgVg5UC9sDACFOcy6r241OsVcshFPSTzAXr5bF8EOPC4L8rbM+\r\n/QO4HjiGndzXDXPGVwaf2tSfSpnT6LeyGys=\r\n=x+DO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.52_1673134559163_0.8743732703804592"},"_hasShrinkwrap":false},"0.7.6-nightly.53":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.53","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.53](https://img.shields.io/badge/version-v0.7.6--nightly.53-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"032cff7cc4d68c0c63b9eaf65549288a86d78f3a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.53","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-po719/Y/JRCIoQNMy45Me2Fsqp3WbCjlBnbRCP0hl+YhA25VG3NA4Ix0UvCgvZrAZQsnnzMwbcjHnwJRqvQ3Gw==","shasum":"ae374d3046d99d03622d4e401679dfb8d35c1e50","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.53.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6OyK/h8jf5k59mwsLMaSX+Ftb8GMBsPrX7XEfbdlxaAiByhfQztX5oBkMeugtm6IwzdZSAZbI/ubDdRrw45UUcKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju1NUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPJhAAgfWKoGgo6lUzZ6E+2VuBJ9NZe55D1Nm6Zx+nCE6e/Me/HccA\r\nrbUGr7unadj2awflOAa0+MTWCronpp72G1Ddx+4xH58JXPGvqNUdkb8vCPgq\r\nEndZjMjyC9B+ec3BgUsDi9b/oQbrS68VnQiUuWFmvcWQdhBFWQXnp7zC70P2\r\nsK9pkhqrGPh4e3CjqaxD3Z5AlFzdJBq0yWPtqNkvSS/alJf6kxK63noZN5SV\r\nhEG6k7DSJx3Vfkr3przIOYoMhwI9TYoXH/7Cb6er4IBfTBggygOFYu/H3t5C\r\nS9dUY9x38EoN09P8DWaTqon/VOT4h9012U4vO32ep2X9QhUAbq3HMXEyESei\r\n1wJYfVkYtaXtw8IYINntxDm2vLeClQj+5lULBY42fjAub2i+1K904IceVuK4\r\n3NLw/tmEWmyulBlhorAUQERkiqLC0yegjvhYKyy4liiTDOFEN8xn39QICO42\r\n0vLwk0lEhBVFR7hz3JjFiASOHSW4CAhL8FawvREMVZb5P08XtHvY4+tJHRAw\r\nxKqpljN5JM1hEYGR7/ZgjuTk/dAK+u+w/tDloah2y5AcYVOO+fHKRKu2gMWB\r\nc/tKnF+FVR1Rmkkf0AzGCJ3h8e0YY+uxIn3CETiZToviXO/qeWpOrNcLcfOV\r\nxzUcFJIa8m2l032XF52GbJg3fEi6r35o8QY=\r\n=yL5T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.53_1673220948105_0.13895465589095513"},"_hasShrinkwrap":false},"0.7.6-nightly.54":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.54","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.54](https://img.shields.io/badge/version-v0.7.6--nightly.54-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b4a04f0060985dfe34e7eb2bcf4aac14f7a3a9da","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.54","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-zXlP92hTXT1VX1I0w8eBS1fS3/WcV4kn4ULv6pLku2vyvBO6u8ujmYEuvFEp0u2mEu9tIsgSOh5J5kqPMXuYYQ==","shasum":"bdf4b5f607e6987ca397bc0c1f15b382e0244352","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.54.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC9eymikjwDp07fsruWJuDMKwggEMXXMoqkkkhEQ8ZysAiEA5wfstg3aorC9JDKU0D+M67qxEdRT9tnVZZFtdjqhXhw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvKTUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYoA/+KNyPzhQ/yBUoynWPiouh7BLU2UOos1M7jXdw5ux9hwtirmRI\r\nePg/YYOY16y2UeV+tNgNmJPkRuoh93SK5vK+/RFOC+0fZcATG5gXxV2NuTW/\r\nCFgZ9SHq6JgyX/mNEXYLfc9WlRoMgEOMK8mYIeBM7yiWaATaY/d8UbaQ/ELL\r\nh/dm/sVPn14rWCrmCRoW/9czP+ntuGFI3gzvUa2TsM4QkGs6HxH7gNSG96LL\r\nkvbMExOQRvhOUO39tTHR2rmztDf3WpemlRs8qrqKBv5XOGjCXLLItOodEiQD\r\nZ80madnnPhRGRHq3JJjY/TL7qdQ//1CXHMd34jwAOrQAb98qxW3+p2BHlGHo\r\nkN+BY3R/LHc3zsPQNBpxCE//qLwongBHA0XZrzWvRtIwYQa58a4nNm07APw2\r\nlOvjEZCrCsLFV6zXFOyTfzPNGxkA7URQxqL3MifomYiiblZG4ONymgVjzOYA\r\nSNo2uAmgCmBZ54VMVIakbppvaUiGF8+nyoB7F22s3QqYsSKzyhkgZMb6DAar\r\nAqmcGVlX3a6piwT8lPZAnKnFVFfdjB4iqL5L845IyhgXFE2L1qHzcns+x5Lx\r\n13vpRP0AM0GGDNDwBuksM6mlkkHfyqxeBQVpJQ0S/Gm0WTTO9LvyYJQUGCGh\r\nRtLoR41nUTdO6Aprhh3AT58d4MD0XLtDdO4=\r\n=inRE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.54_1673307348316_0.45708179035601204"},"_hasShrinkwrap":false},"0.7.6-nightly.55":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.55","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.3","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.55](https://img.shields.io/badge/version-v0.7.6--nightly.55-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"481ffc2c4507195e5387f0d0fe7c94604ba17963","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.55","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-YzSorhzDrnMzj1QmMxVHXyRdY/sRlNo3s4VsJf50UcJOU1US4GdEVE/Pm9nzMlOcVJyM0Qp/4/oQSWAcWfswOA==","shasum":"54d7341aa5e6ae6dff2a39567a2e1bd23771ac25","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.55.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+oLaqFcIZp38SzmQGGDse9diQH6w+WgCAtv/i2o3KqAiAk4180ID3Hl7lKcDK8hFZB92tA1/wrvdJxUrDj8UMiKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvfZCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphnQ//em/rMJW3SAmZXELcxNTCaEEWHk2V6aNFig7pxgQEqfZYNi81\r\nRs6tVrhVCDuiZ3lT2d5D3btluqvVkNHGlc/Rze3OnvVRIGfrSTuZZB6eEI1/\r\nkuozyKm0abbH1QoBJVi998nAisshbR5Qc7gnnlzh/jbUM+DiOOU1wZnuN3q5\r\nCBb/WAcjHcPCwKnNdZPicF5doL0HBn8Phmn9irKeKUqzMVMNb2/f6IpZtwm/\r\nqQZ/kveZWI9hrNVV0D8Ou25PG7n1tt5MIAFssBh1VDQjmZoH2UXK8D4yzoU5\r\npL99kxtIi4tZHzjM0NvtmXvDsuk1kA56AaEEAiC1NxWG3Bk263GbExpxkIE/\r\nguTw7LJsiqpV3l/8gpnc3m5yJ8OfQJYRFMx89jY3/z/FdBJbAiloVJZ8WQKN\r\nnTHzYnMHcXbR6dyKIrfTny3WFI/q31/YFfCZ9+S4bpsJvoZ0UuATTY5AtUyI\r\npMNs3bQfCCHAYeAW36tP5+u76yPWeEMJ5BXYY9QfsBa3xBQfi5oe4F0vFyX3\r\nt/5QhiNL8IaK+LnBhuOkBT3DzyTB1e+aLxrH9KXe1cVFZ64ZqD361+kN8t6G\r\n+Yl2HnPHrCduJpuUkIOZN8k/aGWPcYoKgaALWxJO97UxOE4Dc4zG2GjFNSaY\r\npkr4mm7Nwx5ybdCDXPO02hiYeKdJuuybjY0=\r\n=bI9H\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.55_1673393730157_0.6381461516670968"},"_hasShrinkwrap":false},"0.7.6-nightly.56":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.56","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.4","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.56](https://img.shields.io/badge/version-v0.7.6--nightly.56-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ace2fe0d7842f7f7f9b3a417f88d4bd81e5c77cf","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.56","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-dsJGq/h737disnhfydNReS1JjgPSK7AwLgHHgizOabKdlQ+KfPPPSO4AT27bKLytQd3ntASDTpXAUJcnmHlmGA==","shasum":"66f87756b7b4bd511f33b924b1b045abb1ea9951","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.56.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy8Fp9j51B9h+jkxbIABgbWWNVHZ7pc9towSLQdnHRnQIhANPcJESx9js+9r8VwKMmiYqnmeCz0CgS5+taz2IojSQx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv0faACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmocrg//YjUjkEkAe5A+PaM1WZrJdNo9wIvLce8jIYvjinYhLiT/HyAN\r\nPvV25MW73ls1dliIYsxDYvEDQwctgO93H4mjtGeTgyi6WWj4wy1xZv8WrsAg\r\nzGk3ed9I0EzWVM7kxdFafrp/E65j3CzHo10mhMHq5zczF+8qTwbyIdYEfGqG\r\n5rDIrYImrES8fjxEDbWFPBD3VbHqMBKTU6jZGfgwPljrtOTU7XHuRvKfKF60\r\nPsnjGqiBGx7zl61n5Y0duy0tqYnujIG8/PkhLMGlMRmSMAFCv0LkgXFsm+Ce\r\nmt3cgkuB3rXLKRu0uv7awjoyB/GpHquCuQ4+8aWmem1fsd7UGrG/yqYQlO5q\r\nBKTjA6QGQWsf19a+vxWVdSMNn1BP/ckkXRBla5mY5sG4o0Wiug+Nc/itgxJf\r\n+5CFjyk9ytjc9c/r5lXgbbp9uhvQwrkShkgGod4y/zB7ZkwPDwQegg+9Mhqw\r\njYtr5sZznGi/u2AGWUUvrhNktshYtbW06KwxW+pwoyyrSjXvGxFYI7MyCr/f\r\noYBiNonQ2ojPo4xeXr68lwjxKeU0Yepzr3erpk0zSAecAA6JmF00T9gEsGjt\r\nQkPj7zSGcDHilm9RoWIpHFRN7XjDhF3H61Azm+KBeZQClBWWz2VQ8RTDPo6j\r\nTp8kSaEVz8Et6UJ7ElPGtcQmaZ4v1v5M1vc=\r\n=YrAY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.56_1673480154071_0.5455807286507246"},"_hasShrinkwrap":false},"0.7.6-nightly.57":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.57","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.4","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.57](https://img.shields.io/badge/version-v0.7.6--nightly.57-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a3297bb1bfb2978ec7c2a8989fbd276d03346396","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.57","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-3PWlkb8Jf4nyjtzi8QQVhepi2TZK0Fgp7WTbs/VAJ5rHBnHb5Xh63YKF7jsLcdhKgOqWrpUJhVVM4tnMmutDgg==","shasum":"c6bb392d6359443db363c441c700d0571670e2b5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.57.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGX13qwH1SBsNVVw4b4FLWEyalnYaAU3eqAE2uaK6K7AiEAlL+v0jcc8a5LEbVA3UonKAXv/ff0GOr1MR99pxLaNw4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwJlJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJuQ//ZGoonRy2V8NQM7W4Ez42gdmhuq8C2Xk63pM9i9fYwtNXAs1F\r\nD4FCUPsb360ywXnFLh6JASwZDraaZ2cJ9Sku8FHaueLd4Kxp3B47TILBzC/K\r\nb84ZDwnSS5Dn6UClB2t0yrGt5isdrSuR++4SaX9BDYVbfJIE3OzO2sddrOzc\r\nmgJDVj+NaCHgGw6dpc4A1RoXB4N1BapvDasRx+jOyYPgqDFHeDXhJ8peTwvl\r\nuYrjPyYTQBiNrfvSrWoQ91M3TkDMlxDRD6PzuuxSWBWKv83i+EXgqfi9PD+r\r\npHXdU3YvLObPVuaPVfoTDCp/4D9CP4PbtkseYlBL0fuB4CfxNzowXXLCse8o\r\nGKHh0LTkzRc3hhTu/LuK2LCwWR0oODMtoF5AebHGY187es2l7Sxwk6qD8nzQ\r\ncnri+xKJLwcYcx73DY7M52uDJ4MEFlb2xxkW2iNygoOH2J235Gj2pvPx9mfh\r\nnfTjodQJUlJak5y7yWidCdggjo2yRjB+ImJ0r7+RWjd/pBx5vyPm4YjMxEoN\r\nHkcIqcklTS+uRlIRw/7tePH8CySBEqmGP+G9NbBxu7HFD40LcpIdumicxepe\r\nwsSSpZgQ2hPaQUTya6Z5MdDnBLDwSO676z2hYXURw13yhqHHX/kl8HT71/gh\r\nKGkZLh4JLeJ5WXACiqcoWvR38FIZnlX66uw=\r\n=p6pi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.57_1673566537135_0.5197062543600424"},"_hasShrinkwrap":false},"0.7.6-nightly.58":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.58","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.2","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.58](https://img.shields.io/badge/version-v0.7.6--nightly.58-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"572286fbb939cfc5bd59d7c9137d7880845b30f2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.58","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-aXoeh9ZdXOuTfKXMZDWMiq/ItgRj2x/w9yxDF4vfiybIxbCJEH4opl3TwBa/J5xuHe+larjvZA5v2p5ovi2hmg==","shasum":"0d1e46b7dbd2be7faf2f7ee7793710155468e668","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.58.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtHdg+WodorrPsqRgwJesE3T/zWFCYUB2qBhhBGi8PaAiAjSwCAYFZ8Y5CVZeQRtlGyXe2LV5x5GWuOwyPich/zCg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwerOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpULw/+ME4sMMy0aztrs6LIk4XamlKgNq5g1OaqSYV3NnEnd0emq4uZ\r\nZGbCdwNH7rsPJvAR8R+TJcHSu4qyrHbaDzh+Z5r6op5tgRq3MMheD3draSjA\r\nBKThrZLuxEbULQhGmiAhKEq+KFEo8SDR7R4jVA04X+h9VZDgUtsDYqXp1vEM\r\n+0OnKri142ffQgQBGbdS4ZerW7wDzdZfMcDgB5WjB2soKdG5qN+ECPv2uCw6\r\n3efViCmuidYZRBptPyqfRaAXvmvaTtLghdvhgfhrDOGOLbfEmIveHoRMhzbC\r\nUIqJLL2Lgb8GN772JoCQZPudw65Y/vwkFhN+ubcIMyCxrl51xYmDky6Ue/vL\r\nE2xfWQDyw3/W3HC/UfuudD7ZE/ZU770qAxVX1luL5/HvWvdjXtKee09Xcx8D\r\ncps76D30U1ToyemQZrJIhQWIO8oO1QxqDaSlPNJYfdv0Rke64ZDZ+q8CpGza\r\noMS9DxHAQV9uN1D68Hx1Ag3OJirbWN3AAT0xgi092xxfT3/GPDF3Zs1vB1hG\r\ndMZ5EkjTyIBy3vQ3L3PVEvI8j8vJyvJr0WM0qmRNOHS/HzxSyOutFWtmKHLw\r\nzZF84q7WLqMZVUd4bp+czgSZ7SBLx24wQ6brFwePZgzMExTLnkKNlou03c9w\r\nJ6lVlzV73lx+UOtBvhKFyDOTkqNNRV4Pu9A=\r\n=BIi1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.58_1673652942026_0.46489387891061407"},"_hasShrinkwrap":false},"0.7.6-nightly.59":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.59","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.59](https://img.shields.io/badge/version-v0.7.6--nightly.59-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"808706770f0c528c0944c2f2b1123a5ba0b5f7d1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.59","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-XrHj5CyqrPR+aRVdDQFpMVQi7Bud0I6xh4FtnHi1uVTyursq31u8/eR8kUnbUGZErwr2z5onUvSmhmx+lt3v/g==","shasum":"d5b5f72cab241fbc3372a017415b295e4976a96d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.59.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqicgRyBJbgshqR6GqKpdyPaDdkPt2eNhDXkqonqJzAwIhAIrWH8cnt+BHRxKbMYmUpe6DdH7t3VAQ4U03U19kPQ5f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwzxGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLiBAAnvTmlxd/ETkf6CQR8VFO1MpovYiXQtfmAi4hlN0181yg8Exu\r\nmcknUonqdGWv9x4loKn1BxReVpbiqd11gS1hykoFTZX8UBmyoj2w2A2PtmnP\r\nQ7aAhyFYCbs+06xI7Y81M7RNSWLc5NPG8/xpjJocFdtoYuRN8fnB3gD8cYy6\r\nkb06a0vbvkD/GR1MOM6dGLvNRH+BZYbDgj2r3PxdFcoi/KosHwLx2zvvS4hs\r\nhEJTqrO944D/amLF2fnhWWjrRnR9RfKIoRVXcHseZqhB+cjPS4lbqKRqraxc\r\ngm6mx+Xv5gv4c7F/X4Y102TUbakJIKnWiHw1UpsVj5r/GoqoguEd5Dhcj37r\r\nhr0yvPmfihE6XIQ0ifbKGeTL4m+TkpQhdusmPDqLCYtzn13Pqqqy3xGxbGPK\r\nP/CHL6b5ZEcOt5hOz9gMeDEtZJDAtaUyuKtjHh2eHklxAogzc+E59BNWK7EN\r\n7AlxFChF6yHF+YSK3AV0yLStQ3B+JQdX2FxA7y/70jNN1F1jp4+dGskM9SOh\r\nAYULS+urs6BtOOvRH0ebbayzy2h9T1HE/BC801kQEAkXBdrwu0UKIfVMS9UK\r\nr8vD/Jb85yKA6/SrX/cealwxcVRv381jeIiN9Ab1rEA1Lt5s4CoBvCQzmnu7\r\nfG7b5reVJ+VWhErow+BPizYDa8/XQyifWms=\r\n=GVvd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.59_1673739334075_0.31062629884486714"},"_hasShrinkwrap":false},"0.7.6-nightly.60":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.60","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.0","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.60](https://img.shields.io/badge/version-v0.7.6--nightly.60-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f1dd0e7f2d6940c430bea0e22293efc88b37d36a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.60","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-+ZDjsT40oPVhb+FF/tJWODmzwBGd17oW6dB5aTP+zxWACwUzwhDQLV/6MWSel3lF/wE0kJ4yLFptdSMPhq2ieA==","shasum":"91c66fc2f1891c8442afe739990bd3cd729c9978","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.60.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz0xqR74yNdbivtBgZifoE24CvC3Q7pwkXRZ4njzTWmQIhAJ5rrsa6KsrosrtDXbGr+QO/T8x7RAJjlvXkI613KVHr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxI3OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBjRAAjXoUlVU7aE+o7YQTCIqZX42hPauoHvc9zMfyIcu3pN9QjwW7\r\nYhwZxPjPK8x9fBinkKewhafj/zVPqpKC7RRpJey6qgMgKvjD3jlhBbMjuCb4\r\nbZghbTxPHgh6fj6V//15q8sNl6LRYABSRMGzzXkXFrFUVQWwiXtb45iHoLPV\r\na9h0c3puvICZrr5iSkBPvOxNj74QUnycHstqLzYbvh50NVr9XKZGP0SsDtjx\r\nJawAFxSTre4G2FV6KXZF4OMk5yU9EFmiS6IR67InZInQfxlE5lUbJiIE/btc\r\nRGF6ukR47PZ+GimubnWIZHHUh9nJ8Ck0nHLcjPBjniksRswH1ykfFL024aEn\r\nVRStDTPZ9XpAWlVPXGG7S5aaXP6lYQCDg7/arcuwE7D5Ityn6Bo0e8bMfDis\r\nO/dr6DohBF2vli4NmEmXdFgSAzr2HstYcHNmhVEy01B7XVRYF5nD1nD3PlO+\r\n6dAj4tGzK2+qJ+DODfVPAGhsraHBz4m5zjKPemtGhAWz4IWJu/jj2c2OaNJW\r\nBCJ7vuvqKpa4UBMEd8MyexvUa0++XybKEws2QHTNOuiS5GIeSRb4pINS5Y7L\r\ncIFOnle3hvoR8lEIE9cirNrnhKxPi44/yK2mdxoVYhbutPTQ/xm0s2GtH+ES\r\n8+zTANDvufqQpCZ5kC/Ns6wBHhaC9hyYHus=\r\n=B/uX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.60_1673825741992_0.8270068099924399"},"_hasShrinkwrap":false},"0.7.6-nightly.61":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.61","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.61](https://img.shields.io/badge/version-v0.7.6--nightly.61-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0a3fdb5ef39f2b118447253347fef494bb603598","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.61","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-1fxMJfhkV0BWstovQbmC7qT/278vDMJ8F4lxrjvpeNs6/v/6QwhQoPlTAxmiQNXy33UpapGqY9Xm3u5MCwqtFg==","shasum":"5cb53a5a359abe38e1380d02d40119e5465ad0c2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.61.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCexAOSPGRdcdBpjRc1mgBNZRO2iI0o3p6j4xNSaRS1BAIhAOUruviEnIB9Yoaq2yQJkJrSj67Leb5jTbkK3jNfwr1v"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxd9kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJgg//a0GDNHZJ55Rz1GoI2DUpv6fVGOqfApCHqMYaMdVSYuuwfLwM\r\n8e4xtkDgzxKvHo9B4tk/E1WLYOULkH6UtyftfKl5fwZTbPrpsgfh67L3gpHF\r\nqeYv3cn2MgcMeQz8o2ifYV3Isg8P0HmRlNdTzDgttTnnFFP7BzJTQcQzhdO+\r\nGYVfHLGkkWlZ7xwmCT/C6vCqdHeGR9513Hvf1W+vGHr7Kg+NrV/nokAWooEq\r\nw5LPloh+A6yasgQPvBl7KWpFypnqOG8j3CCS1Yj61a1Vigw1URT2Ej7sEXlI\r\nvCHEiHQB/8O7gFaI0R1TaofUhlJ9PGPzKVYZ787EpiqOZ9Eh5Fsh7mGS27MD\r\nvhdcV629TLrbhEGrz8PO+jHuCF+Km2tO/52u5a8O9saQS4khaO1Sv6uMKzRe\r\nI3iY56iXPX7HsNn07HbWJDWgAQ6m6gzowZ5rNlbsX/aIJdU6Fj+iSLLQnDL9\r\nQONYS9PmJewk9JbxTku8cMzs53J6JrE9ZIp/doH+Szju79q2hx9q334g5Qs5\r\ngsPbA8Z/SDX6zAvGlb3M0R71oeke9Ns5uE+As6Z4cJS9WUGIfQ9ocuOGAOUc\r\n5eVLgL1ngCX3NwEV7y7cqux2lUtTOaQzW9QeqXE8NSCyjJxxDZbOkIhHeYKI\r\nFNKI7L2dgi2o+zxaQFLeTVbAw/WO0ilr/So=\r\n=AQMD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.61_1673912164687_0.5869998437572528"},"_hasShrinkwrap":false},"0.7.6-nightly.62":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.62","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.5","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.62](https://img.shields.io/badge/version-v0.7.6--nightly.62-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2f5ed610c685a98e22a6f4bded3e889f407a2ba6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.62","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-N/m2+QI9sSdfwqWw0sdEg2t3sDxywdybhqKLtxZLZ4eOqKpoglI0UUwZfoJwF6e8qnMJ31G1Xh25lFYrCZjhTg==","shasum":"00fcdccb0661a6541b2399d2b24ce8278ca07bd1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.62.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHi3VruCoRASjnjlKMQL7fDNNPjTTFF72k6/cCzUUSayAiB87g6W//FSHo0LEUo+KbermezpfNom0B0k9I3wPrVE+g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxzDTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp37Q/6AyD/ZtSwyTPC+bcE/OuF0xkZWbgZSk4BBVFRiWMjjG0IkG3F\r\nyym0PhfbXBlvaugKat/eXMYO1/MeQEsz04Oga2BVNa9sRsKXZx+qxwR8Hq6u\r\nQ7bs1n7syH/YOxrR4Lvwjn0D3dIEjJoQTOAUaRqpCuoR6khs9ze7K+E52yq/\r\n1cdaq4dF3wr39Y4H4Mzzr7kxw7cagKvwJyexzaSVPgVqnl0u6GmorUuW1+fz\r\nnxgfsD9mTwyaSZvQOQ//BLpmHpIgyUnGxmuFaY59TSICETdrK49FS/CsJhBh\r\nEl8TKmCOav5S9zHUwOC1SiRJM/3RomOY9fB/AGhgbsWHM+4zqmO9XFGv38sB\r\njQkO+DmuA3V2z4uxnxX4EYKesaaAW8t/QXYYvf5sbtAIKlCcS/gF4M6GjAP2\r\nwpqaDy9dzMTzuoNHtk3nOO3AQWCCjle8eZrCMKVe31og1sdeyR3gsOo4DNQc\r\nIQzwzhYF6TPPadgXuikMNJAPTL8QWluBH92pgJ2H4CD7di+UbMFHmXZM3aPi\r\nq6QvjsAHQLPSyr/hZCZQIj4NCg9gL+RW85O4XYhfayE06rql0VldzAWO5fZD\r\nmzYqnn/NLfxYvnVqYGXskUJRScZ25hqUDkKaGb8GS+88lFaVSdoouw3YxHHi\r\nMRH5JvMGOEcC7o4qDKqiAxjZv/s3kFTJBMc=\r\n=6w68\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.62_1673998546950_0.5531788219720013"},"_hasShrinkwrap":false},"0.7.6-nightly.63":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.63","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.6","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.63](https://img.shields.io/badge/version-v0.7.6--nightly.63-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"63b38159a7bbc2a7ff89a8472928071cf04000d4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.63","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Cpy/05kmkbEU8lYXWNcRhoaXZr1mXTWzhVXuv2bQD8XU7Z9T494uxvejz3kPT7VuFsxtTHZP0g6N80FodNvllA==","shasum":"0d8e1602675f206a1b4ba8b76a73b07b9ec669d2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.63.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzHbUlgHAgfyL1Om2MJWgWCl3lBWAplxUm9FROEna33AiAchLoKC9+E/+AR9bSYMpFJJpAaiiYauk+l7gwT2PjNWQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyIJoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgJBAAovWzWFGSIgu1PXaL2RP9qZ4s0pr3IEODJ80RRdgRcSvNzDtM\r\nZvppq7c/y5Gyg3uO53p0ddQgxuJ/bcZ1htkUsG0biQ1Fj1sX1z+LXiLj+dzk\r\nsUudRVzbuaywAyXui5tFimnINOWivn2RdXGceK1o9HNS6Uaz5OQQPZ/JiH3J\r\nHki/0AaDlisIrfmPaXaKcBBLjpElLGEDCIqyYsgKtedDztT/jvOfk6cRY+HE\r\nnG5tLpzIvKXXU5FrUaSaiEsumklL+hsYYWJPyxyoUsY41nj/+gQcjf3bWHXY\r\nsVCdzR+UXZoId2xANWZnFy7UR8PAVwexakmEn6fX+jf0rFNlUN2Pxg+Jn2H5\r\n8aVC8JLqOpbsue1UJTs7aiRv2skHrEYHQkIJgiiENDTnvy6PgfoVo5WEzXAL\r\nVpom31oe9VrrsKc53Bh8K7dfyO5lk+IaL2GczBwDT2dQLy+1qBaewKAwnZ/f\r\ne2fgC/VPIAWn7RXUrpIyydg3TpsN5Wlj8br/Ekd5scdNT2QrYnWguZmfNFUo\r\na90Q6xqnT/0a8MHh15SKiZYbpuZwssKGLhVTsY6TWlcRvFwnna2KXrt9H4nP\r\nvNsWOxKVXXFd24cdO1NcsWvK157Qz7VEESrT+FPn6EXWgWE8Va9GERv72L3X\r\no/b4McqlgzHdJ9GpN6CR50JKQfJehdAFk5M=\r\n=bz42\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.63_1674084968434_0.23896102473672665"},"_hasShrinkwrap":false},"0.7.6-nightly.64":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.64","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.6","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.64](https://img.shields.io/badge/version-v0.7.6--nightly.64-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4214be30b4722c5a5cc3283094422c2e2b281bd7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.64","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-mAcxbHzjyowOHAzZwUcMeAFrU9+D2hrE8o6j2iqMQ2xYptDp1gKwNov/ssJb9C2s3NTpOcZufEp6J6VnA0RKAA==","shasum":"6343d365ebfc20f114e36e69eadeb3d72fa9e140","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.64.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1Wt2fX7DBO7vvQpcSHRsNf5SYv0PRLm6asDSypSMKIAiBGVf9NYL6xCCrRJLAJoToJ3zKbQC5cuGUHO6lUtIpSoQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjydPeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyVQ/+ILA4zUg9dPd9Kqea54JmKUUtvaRXW/KhZL666DbS7wDt3hqi\r\n0ZEs8OH591+jQslBUGt0ZgiwkSM/yQokUAvKlZhcKa+6hbI6JNZ0TXl75zBx\r\nbvipKu9dsMXmPbucNcnACx/wNxkxPNfUJkpjwYyZor8z2WjrmQ6ftOVdGmcO\r\nzRZEM7uJEy/4kfTP5IW7t/HE6Lr0BrcNMivg36zfGhFtcxCkWIX4ODde9/Op\r\nsn1qLSCclX2PgZfS3iQh3h3G+pxX/ofSITxYbQ1ZhsY1w6EspixwjIEyAQdX\r\nxTQnk7H12gxdPjUa1I3mzGgzPs//pLg6mP/PslmDqGzSFG/4FKa7dONpajJr\r\nc07lJ4Tgp3GNOE3FlkB5ZUxPkTCuiRKJEZnL81XXXs5VU5Xby1ChPSDCqEkK\r\nTaFh6AlBWEJlB+eO5BlbaErYdOFvENwofo7UH0INllhahj9pYmqiI/5Q9GyS\r\nRX39ceG6i9vojkalpnLhj19uJSGfalkNZxjVCfRr09Wm0sGv018a3acpMjr8\r\nqR0zmD5j6qiEJD3VSn2qmtsS9g7PqyqIAXlV5VJY9PB9P0R2WXlVx1kRWJ8X\r\nGp8Th0KITigChCbT/GLJnQ9a6f3t2++9EcQNDWB40b6g5MWCTYaHGNkfhflI\r\nNNLEC3T18v26wrKaTsa9G7tKKReDx+PvXkU=\r\n=oi2X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.64_1674171358531_0.03495933834484921"},"_hasShrinkwrap":false},"0.7.6-nightly.65":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.65","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.7","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.65](https://img.shields.io/badge/version-v0.7.6--nightly.65-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6e1a1733d63b9e409486232a8d19584765061f76","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.65","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ROOz3wK3Q6/B0vhqnYs5KfHmL9A6Xo1ntOXHP09jUuTSwL5JMlqzJTLiLBsaofGgGLeBhPrSufpATqO6KI8+Xw==","shasum":"0e6f60825551e872c831b55bf201122144bebf7e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.65.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB575F77Qdl6M5Qxu7rEaQKFHVl0Aq+xt04ns3XC87bCAiACHS0hOhYMB8NjJFCKKriTNfZPnmRMdvKjMj81Djn9Lw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyyVEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoWA/+P4VmyRca3eMiITnrIBqfm3p9Kf5LblmxPrj60fpPqMyJ+uT/\r\nAJOr0kC9PLmNwnkyMpWGmDm+MmAfe1e+WB+rPAHOS2PBbETXMKbpG5rHlhaX\r\npfr3k3jRLH6rcUKXeQFjLDACE548nNihcBEN2kyjCs3+wAP4JjMqda5MJs6l\r\nEiAYUi/345qfq6FZggnIR52yUJHkvA7shdlyXZOphMl/fmdz1JhpELnxe9rj\r\nsUnOqZi4Db4t6WjWoTURs8ZVRzJJrGHoUh9l0/8dspmHLvBizrK7VAOyq3iW\r\nBYpAxOU9YwF1l9G3eLa99YOuW2Aq1XAIMTelpMwdJ0WlhDveIHECJj/9guFk\r\nYrwuSUWj0MNXwCrH3t242JBYqLxNLWXN5WEDV5D8nda2+Va42m1tHbcc2El8\r\nzI0Xnj0OwU1nDg96dwzFJwYBMCuFg2ylkR4O8anmxV3faEWtUvi8+QkBq89Y\r\nWN0aVcNFyp10AsvE/Cx5NHwjQEPUCHMHLlg2tUlpEFjADv96+fQINARQnZqk\r\nvW0cTh6+CG5QCjcD6aTF9ZAPhrMKUtPxe0c2wl5J3nlMurer+DXdmEqldt93\r\njp4++sV0EOVEEojVW5vF0cCI/d5MWT8lecxMVjnEiSa33DS/IhQ5/n5mSyyW\r\nfzxQxXEHm5vXsuW0WKJuTP2RoOtjtZZALIw=\r\n=ARZr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.65_1674257732604_0.6150805664064352"},"_hasShrinkwrap":false},"0.7.6-nightly.66":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.66","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.7","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.66](https://img.shields.io/badge/version-v0.7.6--nightly.66-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cf68c97e06886dd42666c8584131ee216ca69b25","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.66","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-9DBiSjGGhnwh94grkQmVRX8ug2fIG9qmPZc/Iza+3Y8kwEPlj+4Td5ev6L9zibY1Hlxslf9JjBMrBPkvxMralA==","shasum":"3dc810b5c5b9cdeb4f4dbffa11151b24a7933c49","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.66.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9ZmBXCuy+TGyzk+9obY/4gqrCrKbq4Xjcbt3N/JxObAiATIn72xkrWpLMeexIh6FhsxZ8tq7naqzdVy1xFk9ZLtA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzHbHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkAQ/8D5nHbJNhznyvatnQSFwAyAyQdF1HCyrflXCEboa+3aIS8gmM\r\nxNaCqPW1s/A1JBxhEHz5GU2wMv9sbIIu9rpfIb31I1u+v+BdpKJJWvjlH85p\r\nPHlcBiy4NxCenVAtMnoiJkVAC6F1QbJy4XLtWu+RvPcsDyT0ZH+FV3LjOONG\r\nofJfB05zaHCPxB/BBVXpZzONb3v5g2myZsMrIPBgCJbPt5MK8LMcjVXp8gcK\r\no3X4zlI2oczLIEpC6GL3eua1Nf5WaK04mQSWm9e6zEbTZEi3T8ZNxhllD3au\r\nOACKhT7XJPjSHdNSYppvw4wR5sAR2o4GwJlPUWS7FYkxdwIgs9Fz2hvLrRMx\r\nLeih83TYPXwsPlvhy6R7/YjVOzIAeEZax7nVBPsOKitZKspzbXrvWVBqNO7B\r\nEltNGzbd9XgNNAxRFpmK5REqywDCpH9IV09Qovd6YFT1G5dVe38OY3U0FFTj\r\nz+GMBGcvz18a0bI1CYErWr+SUb4+bEcY/wiyd/V7k6/rzCB82bBzf/SERdAk\r\nkqvJ9+4bdag3d44RCddvTvPHv4gu/HLWwRhTHkxEhZCx+zIgNUWysdCspud1\r\neVcupprBaxIHdAnWg1FAwg9ySAB9nNaNc99OALGZdkiYmbI2+B8vzm9kqzZ7\r\n0JS//dBgzbYMntVxgpnTVGgTyjOKn+WWNq0=\r\n=7xrm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.66_1674344135788_0.07358574744127533"},"_hasShrinkwrap":false},"0.7.6-nightly.67":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.67","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.7","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.67](https://img.shields.io/badge/version-v0.7.6--nightly.67-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a6592c9083b0de113dde03db425952bf392ef00d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.67","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-zEvsQaebSViXXJia1AQ/E8Su87mBsomWEi+dN9o+1UyrII/LnQW1QKGSZvD3UyzLk6UTn6iLYmdkRsDBzJv3Wg==","shasum":"19ad66481e2934ef97693a90d5944e014f6355c8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.67.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEDTXSKps6KaVqivBByNv46w9oEsG4NmPpBq9Sv202/AiA5QtNnpVqwJEXCojdSb0XuZyol/QtG9MWvqUJdLHex5Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzchfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9DRAAlVyH2JsVux1LuGDAm0mDMUUjP91wHIExjHecQsp2LaTELBvb\r\n4RJ1kj0+g/qc8mZL0RWYsRB+fs+Ya/O2TfvVnIt0/C6WEzrdDwQ7vFwY8Ohy\r\nBzTsuT/DPa5UFeEjq23CV3obZLHmxz/cgsHb8hB/zK4nPtG8K0BiQ3Vi7Wih\r\nvuAbiBQAox3+F7nPzkKMvf4n0/7sx2pXXpJI6KUmFKruputoOn/p+PqjvQ45\r\nVAfuP8hhWW+s5Ouy9/LZX5VqIE6TxEK0vsq2nnKDFezEVdDuvC2nNt71fnnj\r\nxq3m33lbXRqcovTXXbIkL2nEUaXBkYVNyBBBzXp43aczXgsXZkfGsRJRdmga\r\nej9S4Z+nFtQkI9cr6vUEBAgDFiVf+OcCshuIlYrUZqoLnUHLZiSe8z/4C12i\r\nJi/Ba7DU+72IYd76zRgLSW5B22qMvNAatVdCrxWYcs+CLy0Ncfil5VKYtlnX\r\nCNYiW2wli8suA49xcI1t2YcvQ1ywIn2uJ++QbO8qdx2MNinzCfe/t94k3WPy\r\np15US2Om75nULQ52VOaqFeOlmTdR8Hnimn4Whc1vo1Cg8uGEmfyl3XDQ7lhG\r\nxZW33JT7TWlM/AGP8rfeFrT3IQe7frIYSeMeqWF3nOmQLRZimueKKMBnp0ay\r\n7bhaNc1gCwYqLTU+78vlEkpuKqEfd2GW+OA=\r\n=jhUY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.67_1674430559693_0.41963310751149807"},"_hasShrinkwrap":false},"0.7.6-nightly.68":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.68","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.8","husky":"^8.0.3","jest":"^29.3.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.68](https://img.shields.io/badge/version-v0.7.6--nightly.68-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d4416b826e1e369e4445c92a8efbafcfca1e9feb","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.68","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-D2BBNiTSVqa0/zSRi64vyYEG+bIR0pT7rJFC5+3sbT3T86chjKOC/dSthv8UI3vWSyZhTj14nhKS1mG6LPpzWA==","shasum":"ba86345041605520fefed4cf9ebaaf4bbac8b268","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.68.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhz4P3fADtgqo0oubyOAe366TDOmG5jU3lBvZ4Dhs9NAiEAyYv51f+Px+lBn4WD4TveQXXpRt2zsTPKE1fC3Ffc0Y0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzxnAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNNxAAgauuVRXlGaHzzc9jt4UgfaLV/MnruK2LeHuYA9B7ibfjwQWC\r\nXkenkWA/vg+1ZAA09JzpPP68FhPbKABFJ/KMhF48G41rsOmt23KIrOWwcsUT\r\nIdFQpj6P1imQidOBj6lQ8nz9rrEulyKZZwGSNL7zpXPfZ3LgJC9QKlb4/65Z\r\n+1mGF2wWAsMUj46HkMRIEUFOxpBO2NA4MjfHJzN7h7SBG9FN2sPWojnMgB7B\r\n7NCZSSKYTBhIRk6AwMz/lF3LYWSAyhBZr4rZMC4bR8nrXuoYHLuvD+94S/qB\r\nyqTeeERga6vctcPYiqgc5FcKa5h8334Kh2/XthjvgacSTK1wQm43q6M9YW+P\r\nhV3E27q1c0I5M0Tscpz/FblUZoNk97tMeMt/OJONpOgdo4ZBkFr5ad84oexE\r\nsGYcmCBKXOshAjIsUqIeo60idn+HrE0tdjshTqToeO0R2kzxyCrjQcacGMS2\r\nOky3Y/ynDlWNTgw1yWhE/eJqFMub54qUGNRY9z0iR5FnHVXWULMVuxuSEMe+\r\n9aGeYUtCu8NRnyoQ1B5ox1Eq5WlfYH8gI7t1FYC/ROge1rks9o99z4yLctIS\r\nUsIWrovn7dSiRlOFEude5wPnpcq80MN+3NHXRBgSCakr6Bp0P262p1t2u6w6\r\nCNpvL/LwXPlFWlfAJlt7aaxNSOY/A247yeQ=\r\n=HSfm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.68_1674516927804_0.2847769204614208"},"_hasShrinkwrap":false},"0.7.6-nightly.69":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.69","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.2.6","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.8","husky":"^8.0.3","jest":"^29.4.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.69](https://img.shields.io/badge/version-v0.7.6--nightly.69-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1db22f09444e9be10bb348ca38a7b3d22f232490","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.69","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-8jaYD9zUJMBFZu8U18e9ms7rnssXmQ0GNz4mWbk0WPXTEy+zGCgJUxLan32mjkx/qpGTRB9G7xOok51LvRIsHg==","shasum":"adc1fdc9e2f5309f67daab1c7174fb212c1fd954","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.69.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJu5D+chwUN8v2+SXRTPtag0l1hD343yY14BYDDZNu7wIgAJwe713Ws48EAc+JMU2EhwCdL9F9HNiFl/NuGz2HaRk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0GtUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoolg//UkWAAz0GInOzUnGJhLPDzFwnSpKPJ/RYt/rCqfb7WEK/UPWe\r\nsOll1++f6YMUP7ZIkkgrQXaAC7XiiYMnO6oPvt5aI2HTr0IbWSRWE58GFVjy\r\nvqNvTVBfoGEOIfsV2VMMILMOcu91UgoVgsYk3KhDcNBVtTCtqqzfXp+nuhxt\r\nDjOOh8Zhr06CedPQI4ZKCBHZWSGayovIoHv46X9yhs4bFQEVcWCxj6INEFgq\r\nmrABLhx/k56EHunM6RIlIhF/TUSLk+DP0pr2ZZZ/3AtvtalZNxPhbJcFBBYT\r\n6UGdoDZNlSVqVspsu82gisf7NsOn+YTNGBfv5CjwzbHK+rw9wquTBsuHQHzz\r\nFQubwD8AcEKFRz1MSrTH2V8Ti7BbdpZO0/VG9tk8+JJ4kSaIxc/ncSWKOEDA\r\njrizqmvyzaQiwnR6uur1nf5x7JmWOMc7w7pTyKaAM9+LnFYFmqc8zfPcgAvs\r\nMxAfCWBkc3k6/cQ7PAY7NDB3bPBeRh+muvwTEWh6lo6huVUkCW5VlyANBm6h\r\nma+xU2Q4eW1pApP/L4g4A0+4eGEHEc8GNL2Qfm5Ce/SrfN603wUpWt712tv6\r\n4veeBex9W4D0N7QDyPtE9iGdfTF9fAEnvyOQIYSDYzlXShCUoPNZ3GYtCV1g\r\njPKRdLH3Ug2+bLxf9HX+FeOgEtZz9oTyOsQ=\r\n=iwQn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.69_1674603348622_0.8201301079255123"},"_hasShrinkwrap":false},"0.7.6-nightly.70":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.70","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.8","husky":"^8.0.3","jest":"^29.4.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.70](https://img.shields.io/badge/version-v0.7.6--nightly.70-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3b6f371ae224dadd6cb4eaf6943b886d6aa2904c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.70","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-fMP5PT3wZUvCv7q+JbthENRTukKQFdcVvaP7y+ZYSRp9GBK0BVcm+nZeL3HG+aX/SWmO0Oe+LkQ87GZdbS05PQ==","shasum":"70483b685ec3fc4a007cfbc90e819c294eab80cd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.70.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUdQ9n9tFM9g+0hFvRSsMcK6Yao/q0XRUfUp+ZHpDA0wIgFYk0cxhEflPx/9phCOdy9LQuUHbOL78QucW3OCp9jpk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0bzEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKXQ/+OiSLaYc9AYvXI5ym0+TvLsU9DZcpC+D/DiREroCrSefQhnX/\r\ntmNVdDqZlw8tSWxh31aPfqagA+RGaQoYS61RDoxeRrS7QNws8ShMVABnXp0r\r\n/jbYcSv3A8Jfb7fFlW3uGmBbixivwaqjzb8vCWdaG/qhCx8QoIQXj3PaddtG\r\n7UinZT0UDWREPKGtrjFZnzl0H3uTZTNMbZlhC228IKyZ+DgoxgL4LixnG0Q4\r\npOhwfrIYl43ZG7EsR/AppxHxbeig7csmgYTC7nCEGD7NgLKfJj9/zMLiAUNL\r\nbICpEJq80JcpEEQcicVpXauYdQGbgKxkdFZ7ywmJwSvckWPSGS2WUEuGXzq1\r\noi1dOqAuv8yp5cmgTpWixQ5kASSuMvoSgcnT3+16SNmNL96zy1hBU26OROe0\r\nwnczxmNK31PUViwKe18GpwZg/C2yUagGev+cCON6Fet7oL0bnx0ZfGoaJui/\r\n6FoF34OdyZrQncQxD5EZt3NsC+YsJ2BzKFQvX/uAUP7+Idqb+eElFblL6CBm\r\nnqeOhOrlTukugb6bRDIXMP+cBy+tTOWKkCpxU9X9CjXcEs+oiUORrcrLuLBf\r\nBV6eSSN8lMBCPQcPQVcLzxZZ6izR9JBOl7P3PxcWTFso5nKffl5nFq+mwma2\r\nxaz5IZFWWQ1I6FOcT8OcZ7Fngl+Vo83zBOI=\r\n=gYDT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.70_1674689732242_0.39075032783060615"},"_hasShrinkwrap":false},"0.7.6-nightly.71":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.71","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.8","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.71](https://img.shields.io/badge/version-v0.7.6--nightly.71-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"faaa85a21521edfdab10ebc96bcce46bd9516b2e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.71","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ngBxbin3BKe/rTom2Hc2yB9kD5TFLJhgxY6pj2iKFvNiBSaNDD7CFR7m5UICnjxEZnpU9kktDIVTOeQPmmPpAw==","shasum":"ad9cbac5d43b36036d794a1f9779de314e597392","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.71.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpfJKqgh4vz7LROmWRuqZY/dRp7HHFKJmvu/6dJwsW4AIgCBsy6hX4xnOIrOtaCG7u/+8BGzlgxL2k7loXFUi730A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0w4+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtHxAAkoluk4d80gzxAWCylItudjnKj5imi7gLxew49SHRZW/SQb73\r\np/Pg9l3pOuE7CXMZD8reO2ReJPJpjxMbrDxB2+YOeXb9uhVG4IMdVEfMGh15\r\n+OCkNo+/2yTUnSiUnQfZsZIm89YU/0SbLo/5TVIAfudXuuzik88ZmPGeTn59\r\nBvC8y6x/7jDjIVQ5BP/dhhvmUUyWgMTjyYKE3E0Wqq6Za+l2KPe1CPwlnDI4\r\nxQUKVJZLJkgP8mhPkxPUKgodU62WO6FZHyCQVBdCTZRjYyinOBm5l8wU0xXc\r\ndP4CawzMm5fhaRoe1tIUyQ3V/1JV2wUcjMm9Tvskux2n06Vbkgl7KxbC69w2\r\nnQ+jnbjQk3uy18mcQpqZH+r9PAEDd+6DatE+6hwNwHZrBNxy83r2yO8ggqZk\r\nLbj3O7YBmUKPfjRCODdCTDKlPk4mqwX5v4cLdqv4SUyLg++j70qHFl4TzA8p\r\n5jEDQ91zxFZIpPImgmdvF1FSVhG1T4vaWMbDuV59OQxi9qs+aPI9E3M8vBcZ\r\nptmiR3yiITyetu7werB3O4IhDs+g/OQd4eCmJQbVm63DbNCFPN4RarvlIP2r\r\nmgMZfWgd09eLCwjHI0UfsnS3LQXIoBCtTrQCeLEdPqBzY3UiRh3DnncEUru+\r\nX7Qxdwu0b06d3kaWzhRqLrilfUGL/PqSA/o=\r\n=gH6i\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.71_1674776125958_0.7253257331408476"},"_hasShrinkwrap":false},"0.7.6-nightly.72":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.6-nightly.72","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.9","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.6-nightly.72](https://img.shields.io/badge/version-v0.7.6--nightly.72-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"08110cd9a3ce472e32fa220b6d13286f472ed7e8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.6-nightly.72","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-wjaBymVbnVsBHm309jrXRc/U4ISYhMQRBFTOQ+tJD58o9pDynN3Xxkhzs/+gmcQLbrrzXC6jQAPjs5P7hwxPBw==","shasum":"d139de05209143346c938e8ab6c321b333bc8550","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.6-nightly.72.tgz","fileCount":10,"unpackedSize":30908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdoZYjFjCmvYTkpg8RImbjvCozpRTaDSoN3xpRgOgawAiANw6JZnBBbVOsEOwCZCLNGS5immxWUuHp93OgV9p9FkA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1F/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZYw/7B5Ea4Drgc4CWAgSHEiSV0M5zb+nvqqDgYV5LDQe66Z97fBmD\r\njqWIhVZGBA1XB8jJ0XbUsun4OI9lFugtqS2CPQihs6+kKGlug4OX7BCn8x7G\r\nslEr04f1dIpbxopFlxQ2Qlhaevyn0PsyXX9XqzWVo2If5UoKh+RhKSunPUXF\r\nSoq5x2aoYl42HlvRwxgR+yBwLS2KmdJfQTyNiLLY5HmIg4dbZOAMdwCoQw2i\r\nZwNSm81Qe5PrBA44ypHzASHt7GCNhg3IpQDAB7LuW0WdxqZ0pIbyP3CR5Krp\r\nPrT5bgUhdKQSFMDDgVRIV+/2+kFOqhr76GOmb8z3jQSCWFwV+/hsQw2ohTMt\r\nwsFI0E02VfLd8M0dS1tO02jnLQFx+JiiQ3uvh08tcLT2wrRcswzMn82HEHgI\r\nckLHywQrIkG2a50xv3Hza5PLzSUXkfIbcJfDdMuJPEBdkweCfLbdYYSyyVYv\r\nJXKxEhSP+8iPTIasNfwURfHGmmCK4JX4Y8kw6I0f2loqayw1L+OhzGJ3l+WE\r\nhGx+uljX17NhjlkuPgS3PmrvL/nOZtIu4EBt5PtbURD6yrKw/ECPc4c1ZY5T\r\nJXx8UpQZUCkCZ+g1F9L0VrJ39qcSgT7JqiXv1xmXCu82WTRPpTzVf6aWLYNn\r\nyYRiDYbIkgZNRML+I6+/knFU1WtaSgRI9m4=\r\n=zdEK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.6-nightly.72_1674862536494_0.0848128754029982"},"_hasShrinkwrap":false},"0.7.7-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.7.4","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.4","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.1](https://img.shields.io/badge/version-v0.7.7--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9eb2eb269cfd0d578acabd92f1e2004a4481caf8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-xdZkBpnfM4FS6oFlzPMjvppBpfmG08sfQ790q4LxbGfmZD55zWR1cm6Lt663qNNKKfTmS3xbdIG+hHpXz/BLiQ==","shasum":"d3f921c3ba9d6f924e4e6f6b3d59161cc2a82313","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.1.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/D98JMfFzJClBe6S6sH/kgCpQgqfIlSQvtUwlekZc/AIhAO6n90A7f8Nm0Y4+Cq/nhOJ/O90/0kvzgdW0UAXqFRrf"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1wLUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOwQ//bajOo4XaWt1hAVqGpSF4eBiurHSm6oAS4UETYtf+ddO+i9Jq\r\nJINRheQNOlAknwAroevbuOfWOsiviu4OMjl4SpSD2vZAxBRNKdzSkLQIxXPg\r\nHDqvwMc/ktJRKlJaT8YPwle0K0pcOhqcr0ScLDILUL95lCGWxF7C/rOFulN7\r\nsyyaBBlAks+XhIKHxprsCPbYXZuE9i36XNooxCbfxFNmLuSMbIagoqYvC4Oq\r\nQzCc50YAJl1P8pTndh+/CG4Bv/29r7Zx47KFF8PL3mqK9OrZddi+cnegFf4Y\r\nkDRqdh3I03y2+l3a/s5iat242owCYGXY7HbfCC1cUel3C/yOmom4ervRBBq7\r\ncas+uB2DasnZABljrLIKRckxkbpoaD9K4BC8NEmVFftOrjJ8Zcek5p29EbMS\r\n6PdxqWdpFX206uDB20fqH9wGEk3bsRka31pkPns2VZrhsW8J+3/cp2W1yKxX\r\ne4kkB/NKBULuJDNKW5xluY5z3PF8ABE8xH5RBuJghjyw/7NpaCUa8jDJtuvJ\r\nZ9uto+iB1GL8rqSC46+DK+QQoHi9vrEy+UhNDwDiNLs4xfKXCH8PMZBtOLSq\r\nUHJ9LPzIbu2oBDoiQzbG1xtlZ057nMzYfN714LLiLR9U6+SwjUAvsPi61+i6\r\n6TEXMzS6O/9+JPKpju7+3/q6mdeEbxal8bc=\r\n=gLu0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.1_1675035348462_0.07934015259256988"},"_hasShrinkwrap":false},"0.7.7-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.49.0","@typescript-eslint/parser":"^5.49.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.7.4","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.2](https://img.shields.io/badge/version-v0.7.7--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2220a41cbf8f3877914876923c559721cbb631a1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.2","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-EH2oW0xixMxntuHUO7U/5Jo92clWwO+pKCV+PaB3HzakfJoDGaIWXBODqY1aWiM7KptHFr+FId1u1SqEa0lUBw==","shasum":"90b3e0a621afce8b6bae7118173dc3fd06210c70","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.2.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbzyMW8Nvm770/hgEnqg7aqanZPSTVaLUV044aWPPAEAiEArUwuv7PRb0xJfZIFcQMlAGih5Zs0U3k220VWOkn8XGY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2FRAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpyqg/+N3+McbqKBfFB6V5b2nBOD+Mni2TA5DQRBJkdU/KGv8UF6VE5\r\nesU/rST5LGVWGjMuWCe/e7VltqmAiER1Di2Gvq9adzYT5JXZRh0jHuLtOyr9\r\n3mzsfyU6qP6BSKtBRf2oKQoUbrKxXjMN3MunM6H9gi3OEg4fHOXXpp/OPEYH\r\nTS/K4XKpJ6E3fMeaHwdhRC5jgCHKlwiu1nNmkoY6LoR6Wvj8WJPePKjPwkeh\r\nucy7f4ajb0cs4DICRxp+31Os5EjdFSZxMHp8HJQ3ztRyA4H6pR69qH4qlMpy\r\ncotzG/ppcHW8nogSEjOdgcNekXUMauT92bapy1rTo5inT1BOi0inoeB8vfRx\r\nOACbOG2Ac77MeSgs4kJzdL7Ei/j0m607gXIR1dFeUc/DHuormkCVYYcCtOmg\r\nd+u0j2rY85cXcSB88j6WvId2kAqpra5wo3ju6ARiWOpvrFYpqciAO7i+jreS\r\n5V2Tx4Iq+9fm79g9Khl8xAjJHj74Qtn6T+hU9wS1mtUGPaXe18ng3l0ItQoM\r\nU6zHauGV8kSkrZbx7zGPAPSFTGNd01L1LfHzTzFS3BNTnqk2lTQFqFgawISp\r\nlow1gM6rOTF7mq7HEZWY+awr56HbsD1T/Mq6Ha/m0ApYkBDx2IphgpV+Rg78\r\novhszhBJ1d1NV/m8uju/N38lrp0yvue7BVk=\r\n=RkZa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.2_1675121728176_0.5826476726248382"},"_hasShrinkwrap":false},"0.7.7-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.7.5","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.3](https://img.shields.io/badge/version-v0.7.7--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c23ad02488dcea8ed1e3aa0a0e507bb1a681bbfd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.3","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-3by9zuJ7aXRh4Yf8KBiadb4cHUVIXSXQY25UQZmJEZ0VUmMrgtYFKdxuNGHHSNk/fEgto95Fr5fzIw0hBmf9sA==","shasum":"13e75e9ddb86e8f758c1254564ad459def7e98bd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.3.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDan3FXKDJ7SkDAqv4SrwoX8ld/Z42o1mSC59UCi4l2vAIhAMb4e8J/BtFm3wxwv52WKAqG4ag5mWVGlxFvH07uIDLR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2aXDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+RRAAhb6JB5Dpb5IGu8nsN2Y8rjNSTyDCst3a8fCAWwh8wa2xRCGs\r\nSAOpSsM17qHncmqLh3Gg/Fh0GpjUpJv6N3rXPPhRPTDjdOkTxWzi6vkfNwnI\r\nDqhcjaCkNdy7c3bD9QAMn5ywQL9J1T4DUlsW5SKymcUTtNeo3MfqZfiiH2N0\r\nBvemuC72aYE80H5C5XSOzi3NmUOvm31eJYIgjOKPuysd/7pXx+4QdwvnGsjm\r\nyg1jm5bDtfHvv+6gq1iBJV83lSuiwjDAyRsDKDKZvgjRCAkwn0VJsWQRuKDP\r\ndP2X2BR+IVCPvl/pad7QCLL3lh5OsTw2ZnEqJkmWskWZaD5/un38PlwzhTmB\r\n/KQB31sO3Eqc/3NlZk0KeZ0c8SZk3WMhQUKh1M72BNcUG2hZ7K0B9z06ds1g\r\nUdm50Mr5OT30kJB6HO/3rNxTtUcaM8yesQbewyupPF7iDVsVLgPb7Im1IsUX\r\naWZLDV92Q3GqOx1cykaupCi7X+xyNPd9U+O0Riczl3ULPVI58HMdHHyuQ/rL\r\natSi1cJOxUWlUqQQZYFY60e+5X1CXQmdiuGkE+K2A/cLf3D+MBrgeqFn2BBt\r\nG1uJQjU+6UvF4+bDEGLVZbtTVVEvyHSKYQDL0+wt4Bh7B8cpTOVvNQJSmziO\r\n8nJ6/B5Tr0YMvcEBlcGzj4aBogKdBVsbXAM=\r\n=BIBB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.3_1675208131492_0.3158877170388812"},"_hasShrinkwrap":false},"0.7.7-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.7.5","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.4](https://img.shields.io/badge/version-v0.7.7--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1ca03c8996461a4dab88788fad8cc03e1d2bf302","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.4","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-bADlEEAGWxOlX1qlWKKtL8JjMpp6Gnarr7ZoRQQ2sRUMS3TdQwOsoUNnI49FMQ1Tfn7gxeKHvO6K4LYNF1OA1w==","shasum":"cf882b62e474383d313cf551d676af7dcd65203e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.4.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOz+7mawcn3gQAnKmfH3pzd6VYBZsF9mTN7POA+eDRUAIgNM77ns1jbK+zjFOSO+l3kI+ZZ+B3z0vQPpmsYa+G3mo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2vdSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyVw/+I2MTZUqdPtFcXPTDG/46jn7TYn5TATuutBnUvh9yHZWThuBE\r\n0tx5rPImtkdAoi8kXJN8L9ZnU3o0ro5sIXsMNKVN69rQyu+HE9qZml4vIrBG\r\nLDmlqduau+Q9amBFRnnlkrLY29d/rhNlYHVTPVKIBTy1jO7WHKSHNpwEdGWJ\r\nV73sufvlfoHhF8zS3r+DQFDuRWE+NKVk/rhBxjP1V4hjxgRTAP8zzuPCGbQ/\r\nwRvg+05J3kbaN2LLhQ6fBez6Ii1qRRGaa2UCN5wHYWZsw0lLdklF4Bccfaoi\r\nxtQlBUroPX5yLsygVwG2vws10eobPKge+ft56ZLNEikoptQp3vOfH64cGWaD\r\nRkTdFYh2hGT+AgEdXxqsEqHTHp0veOGGv4ZjagLBCXCTakA42FPVPIMo8+Jy\r\nt/eyD7M/xqXmMXXrS/bMMc10bruYHFbe892Pd8nPIjP0IZiZ31JVSgZR/EGr\r\ne9poKJ7zKk7nlwUlnvR+nFDI+tfu9qVxXEBa9RfaiMeknfKQtY3ci29oAsMn\r\n1X77iNA9zVa7m2N069gZPpau3cw5qdbtMUto2+by8dcgZDEN7ykH1wq7RyO9\r\nb973TgijfZh5BLQoct2HS1g0mAAWDa+pnTfL2Phy+xlMTJf4LvVLYdPbg1S1\r\n0an2XunPJRoBatKFYWnq2n7rjm0GjU075AE=\r\n=Nplp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.4_1675294546064_0.0246055522563724"},"_hasShrinkwrap":false},"0.7.7-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.13.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.7.5","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.5](https://img.shields.io/badge/version-v0.7.7--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"420938c5420b022b3663c9df622e2a667db52d16","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.5","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ZoRot2INqhGGX5H5uMidnoAanW/Y17dT2iKoMtzcez5TT0RSS0Q3Euz6USsfCIVWlSXA3JKVQK/v+2HqelJvjg==","shasum":"6341ff5530c9b7688285c5303e382cd45d474514","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.5.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERKM2rCjUw4rcq5SZepFh++DU2WaJrdG3yl9m2MKdvkAiEAlGQvjJbX1NJECgzzORFnXXX7ZQq4Q3V0bwSKVSc3XHw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3EjKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+gBAAoC8pEDTEoB+i5J0UVQlaVa0xTWtbMNd+aQATVS7typA94hoh\r\npEDriZdTnoorkGI4R7JjF/sKmSrmSYjnaVCbzsGcExPdj8V1RQvzvTu2l4+2\r\nyBSczhf7toalLJAE1h/G+59p/oJfaGLhvZCvr2Ne+hgiu951euoMon/UdoRn\r\njLBRAC/+h26JZjbseZLu758NZvywLR1Hv9vPzjIloBt+zB9z4eOuDNTTUuok\r\n7OVmthphHVTZIpjoJ7SENHFz4RPaDrfcZroL268Muyf1uM6ojbwsqON+eRQf\r\neIbVMclaskJItvEPca3+pBrLX5FoT2uhDCDSYWucD1l++cur2TxNXef1gEhK\r\n+MTAcRklm/7GQ5eX70t8OEGSDFvYHrJtyrc5XXWlm5QED7RKYn5xyF4LF4DA\r\nPl0mZrJE7sjIfHelQOa+K48vVWZ8JM2YpDDpSXWj08aqARp1Zp0fJFzU9Cml\r\nbrioet6Gradz53K/74muONGTUxa2rX3nKhUEkz5sDMgiHC61f+HFeUKFlOxi\r\nyNWKRL+qaL64DIibJPtlNukHfqR2eYzaVBPLiESV8HFycyP0Osk1jh6/7NgI\r\n+yBncJz3PStBl+DymSBhh9KMTMJLYGHa71Op+sLy7+KU7KfeyqfAKgLeRUFe\r\n7Auugcd8bbMSsJKAcpZDCveggR0Jn8qVIys=\r\n=hqcQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.5_1675380938259_0.8877525973027198"},"_hasShrinkwrap":false},"0.7.7-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.18","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.6](https://img.shields.io/badge/version-v0.7.7--nightly.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2af3387c24f896447d6f281f0c3a98cc69d42e16","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.6","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-zgHrKnIxAwMetPX/dPQ6Vgc9SL4S2zh53+aP3PiaqEPdD7Wmw4kbSL+yMSRuREqVzF+BM7R27WV052kj3dbr1g==","shasum":"fb728a917b46ed72232df1a96f2bd45278fc7e13","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.6.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD77P4+h+VqHTWzwMyuaI0z7YYyUHdEKd9XRhVne5AWQwIhAKIRPTYPs5asHTMSlWeRmdeFsNTbzSqeQmMVYszp7ZUP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3ZpjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUPg/+LTLh37xDqSi8Xu7Dxkpq2w6qZBy9hFujCc1VsVTXYu5BDX71\r\nbm8b+lW6U23eadW5viWPiXVEE6i5++bgEHYkY5QSejmeZilkAV0qS+drI/gQ\r\nt9XmmKNf2WhprRi6GZSaitAVuoXn/RtC/CmCj3RUpludfy1UHdKDqqHEkJov\r\ncYfACdcJUrnOX6yAPJgjA8ZZPT7oc8fO+WVVH9NCUV7bsTQTCVh4d6RVeQWB\r\nEoGzLmf5jiUW7ploD7aQEjmBoszYg1LZyFgBfaDR0YiVw5z5K8zlagj1zxJU\r\ngO6PdELbxp9GPDaN/yYckf1BZemJ61tdnEaLX1MUT8mPgmkBIf7c3ihBPj4D\r\n6fQ9gcxYK72wRr3PlLc0Mtn2ZzHIQdgZpk72oHBcSwpAWBGGDHJ005y2S5Zl\r\nJSXRPkcDgYdqMxmtM7fNr4kLnbOi7QTb/YG04rwdrnE2d+/mTUMhIUHJIF1J\r\n/Pn5LfKhi3wd0/ij+N7TpTWPZeK4kFFxsASIVtGyyxM7GiQ0RRzZk8YQGCF1\r\nQY0wmOnGQWezoPaAhVNRSaXrKJ19r8ohrrx52tkwSpgn2Rc/D5spYxceIASc\r\n2ZIz/1sRjWPF6rsef2C0mF46o7/6m/P/Iq2a5egRH7kcj6neyfN/2eaV8CFc\r\n7JO45kSndC9YhsiwWqrrdT85tXQJJnTIfIc=\r\n=ba7n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.6_1675467363567_0.15916962830138548"},"_hasShrinkwrap":false},"0.7.7-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.19","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.7](https://img.shields.io/badge/version-v0.7.7--nightly.7-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f760eceeacfe9cea1eb9ba401948d8dc7f9599cf","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.7","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-r0jxJLORugmZv/M/AiX+KRuPE/CdrNwM7g9nIfaVZv2CoenizF9In5WAYB4XQQ5VYyqYeSoFSS+/RRvlOaDJEg==","shasum":"6690531d4779ac5ebb8cd495de6091402ec0d7fe","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.7.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZAypt6XnplcJuyjRTtxrsP2xG5JOLUzwlhZzgbLBGCAiAN0FmrOJLT9k7/ruQVMXWtF3zhCO0+F0QdUunR0Onuow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3uvfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfOg//Vow9SbaeS8hlai/Nu10gI3ATF1JZd9e3q9f9IbypGR1AOD6Z\r\nrUwYeIJIaCkkwDKa244KoAFEnYPjllXzqvAajol0ZbOuela28DNa3HEATwon\r\nbibAFHgP2TKAAi7AQ2scbSr4SARv4MGlMPbsxm0N+kHenmcLYFYGIFt6T0pS\r\n1OZ8BSXLHjQdtIFbqK4ljOEEJxbK7jpKFo6D8D5LKhqBVJwPXYMzdmcFvKt8\r\nC3Dy3tNoW767C9De7tMJKbeOIcfWb2uZT+F3Xg34XeTeikxzUhW7v+jPI2Rj\r\nmpMebh8unRFpyMZZ5F0HYTWDi/aljCFjFGslowQPDF+waq4tz6tgNgHCNikF\r\n9pgc1U3gE4oyBFoSUhG5RVOux7BrTcdi2dNCAPTWATqFdg/6lDaHyyIUdQ9y\r\nx4Iljwo6qUnTLEK70IlLbcRAyxPXhmFEa3RVhZ0ts6ogGhvkfeLvsXsD0YYh\r\n02hAM1ZHvDCXjjwF0JFf98IuCWQWk1kpaZ1aWF+yLZFU5bpGL6zl27pXHZTI\r\nH3afoMd7l9Co4djufK3BWLH1xTSzikN67e3L69EAy9y7QIMz5zFLueWVDT9p\r\ntMSabRGHHiNT4aPBZrt4UJc9wnW2WvKjswSFGaum6zwoCQwXOAE+BiHjHzNp\r\n8yjdRuTcGLKwTPpZ5yjt3K7vFtkYJIHhyxc=\r\n=NA15\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.7_1675553759711_0.9464412283052381"},"_hasShrinkwrap":false},"0.7.7-nightly.8":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.8","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.19","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.8](https://img.shields.io/badge/version-v0.7.7--nightly.8-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"01fb4e6b196bfdf5ea63d75e2b06c95181b8bcf4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.8","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-M882qrln9lgs/98y32eH6ycyX02GZmURaBBT1at02SPwU2kV7ivsITD6BULMO/MuJFkD73SCHt9+rlboEJg/qg==","shasum":"d09a6d7966a09d0e99dc939761dc38684255b116","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.8.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtVcsPKHv1fh5jkzv0FF1Dnxcq58pc8+oM1e20awisQAIhAI8FF5fIqgPQc0j8mvcy9MElsH0AgOAEBNCTNdsH1CtO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4D1DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFow/+Owj9ykzUl7zfZEwt3jwqjgwg5A9tHKYIXi9awkYkEyt/Sf29\r\n6CidE7aS3pWb2nbz0NGvtzwvUStEacGIQmvE2WqvmAXo048GRnDW8KfORB4p\r\nHXnwZ0046ZZ2IpW6KQq6C8OPhg0FjlJw4kvJ6Uqdh9utTbdR8yVJ5rKvdBax\r\nlAyHCWoGE8DQnZIHyLxnccR6tHTZnYItbgQG//Pd0fRTKuxfLfb4DCs43gDj\r\ntWxAWFZRuatiSafF1yfkP9eCDXe9wc0zIInjy6fPx/BXwsfylumLJZ45uak3\r\nTXJEumcXDxWzGd9gMZU44PABctFtZSPN9AVq5Qc/XA+nORhTuP/+z2sHCwas\r\nXe3fXj6HFmOmt+ZSaQtbaLYDRnp428Srlpl6v0adqlOWvta/K4FYqKJ/SDK8\r\nXauQ5OpXPcgx0X6SP5iMd7i0qFECxL9OD2XmaldkEFTDf1h9kjDIBKvvU24U\r\nctJIpcUKtymA07B7XunhDFcACCvdZaOFiAqtl686WNDXQJVexA8Ytde3V3wf\r\n/lQ5oGDfcZdRaecr2v6jdvfGD/4Ie0xDlXAEBQufvEAh1+kTdYbfot5z4Ak0\r\nidXZZQs3rTgJEMUvE+G3dmNBbgusBOzS9j/FMTVsI/BBGCFODuKwmAAzO8Zl\r\n7iRWsov1EeGvwfHhU19TiS3Uzgk/vTgEgg0=\r\n=RKA1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.8_1675640130847_0.38563090008218226"},"_hasShrinkwrap":false},"0.7.7-nightly.9":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.9","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.11.19","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.9](https://img.shields.io/badge/version-v0.7.7--nightly.9-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b9c152abd2978cd17684bcdddfba191f4ecbfbad","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.9","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-GU2+HlliyAgj9u9juc7L6hFie6kiCdASDe7KuaTC1WGIuETsfmj+tw3Rg5rzgApY4qESLR+c8vJ4QYdvOo9DTw==","shasum":"e057d8acbe2d5a506dc016e40205c07c740219f6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.9.tgz","fileCount":10,"unpackedSize":31041,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA24iepxDrpV5Aalh8fYyp4nXUfzUlmfKvGzHCiVLJMwIgfMtYESESbXhF/GwDtiM80+tCZmpLsqGxZIEG35nwx/c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4Y7oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqePQ/9H47lGORb3l6AfhfaYasmG8RWeIgrJt0+9wt7jDEgboKLHBNN\r\nSEMe+Kz9Vao4mdIjAeUYm0YZgpQsejdDHx8nTfnUdjHgb5gIQ9GgqFZIjiXg\r\nahaaTKjgXSisvuMtpC3Yb6tc0gz22hVnoYGVB7QKHZFqevX6dGa/HG278Bye\r\nHv5SAqEjGuIW8wmumND07YRAeSMFzMGmQoiPIx2/RglhjKhX4mYEKK1g2haE\r\nb/kPjLfRQZD6qffizmYdsK3cGxKauOcNHyXi+vFL/IKlgj9PRWKTIohZ5QeZ\r\nwyR3E7DaZRKd0hSSfV4DmEfZW2iYToATtuh/wp3R11cA2e8/eXJ9uswJNZDJ\r\nWgxRgc/szsalb1BG1N/y6u5djaRY2/2D3I+8oI9idOPCWNfLBiWp3IQR+1/O\r\nAkC+tQHWWgvYubKWHrONcFspBhm9CTNrTL5mUE8Nd/+VhNZvrEXxU5FVVcm2\r\nnamez5Wp/AdKl/grN/fZ7aheGupT34jbU31WeHMqnJZ+UH+visVUuI8FAWT/\r\nBVsuZa2sFuv+sUJ5Dr9LkjVrotRRW0QQBM7xRP0VrXtW78cy+1YHN5ygr7gz\r\nMOxxyqMrb9wWM/44Hy3f/zw3EuG0UZ62pvN8HCluFbdJlax+QPmjuzsmHWJX\r\nkviOdz2kp2wAWYIk3IjgUV3IPQJdlfK3nQ0=\r\n=lzMh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.9_1675726568438_0.23037928751409864"},"_hasShrinkwrap":false},"0.7.7-nightly.10":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.10","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.13.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.2","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.3","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.10](https://img.shields.io/badge/version-v0.7.7--nightly.10-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8f5d15c23ad7004a63b9d39df7f6296c9f9fc748","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.10","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-iQkqPwcBxLHWjXx6Rrh+DS2/DI2o0wXxq/cKUsJ4BDhcy8U161n1WutfiqjLFz3UGNNYT4uJhfOpuni0kxZeCw==","shasum":"1087f0e3301fd1b76a033b52c02a32673b1279dd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.10.tgz","fileCount":10,"unpackedSize":31043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/4TOjxItAf36HNA1f/68khiIuctWrz4lJxXpQevqdwAiANWy7FyPYwlDgNt708J/pl9dpDqABOvLMWY8XgratTlg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4uBWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSlg/+LS1+hB0Bi5q9Rpgi2f8zlhkUJTj8rkf4WiTLILlOrPRb3sec\r\ndSW7wD4AP+mByooXi4Ugh6hwHvNFK1NnmKwqm/7P4o19SBovGsWllzhnccmA\r\n+/YICRVkb3Z9MHCBEvQsGXdrxPzGEHVymlD8EjbHAjG6/B+ITKhR2YDEarKJ\r\nXhRjy7hnDJCj//+pPsQg5+SPfhJei/vf9yofOEvGAu+qYlQjKWqadwlCZEY6\r\naTdY08XVhpkTFA9HPXLTZCnC+fG/T/Ou8GBsCKFVh7/jo19wI38osmO1gWxY\r\nWdGlceRxcKDhFJaOBKfyvKel9joLaC9PedDo1n4VHxlQVs7uSgwpLWhpXPC8\r\nDBMaabouP6UZbIYVrqJ3ESSXPLe1RASu+rmC+8oh1AELNOsmnk0sxuvGl3y3\r\nMZm5iJ176YOxy1l6JJMDX61x+bRAHr93miNJrbcuV+c9Sc66NC+D3yEPIiBJ\r\nexD3Qkv/VGmbq38MnSwvoVIZ4GpCTaXWPN8iIAr4fbtp/jrzi5NAbI7PcytP\r\ngXMjkmPcXEQ0rc/DsYUmnw9tgfGMGmjUm3TKl/DF1YD8maj4Zc7G36Gjb5HZ\r\nr+WRPPodm0QAV2hFv1gsHfy1BV1rc9Q1Zx3+6t11tbnsVU4w7Ux65SbU2PZa\r\nHQ+Ic15oJXfcH5MMCiubwKWjemUxx8k25cw=\r\n=N3PA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.10_1675812950637_0.4549558314726099"},"_hasShrinkwrap":false},"0.7.7-nightly.11":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.11","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.13.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.2","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.11](https://img.shields.io/badge/version-v0.7.7--nightly.11-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b9eaadd467b5f0955ab57bea6c204f76697b4868","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.11","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Q+G4BGKpIarq9HjgNeSelUzAQ/LZdwqF/GS8he2FqwUfldGwYtd7FQSpmdrWGqvvGLnGOZnXn+mQykPJDBPKKg==","shasum":"8aef14d8a6baa51b7c0327d7329fc0ea3323f38d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.11.tgz","fileCount":10,"unpackedSize":31043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQF41EessC/5jpbU+DK8FRljRGxQslI5m9bsi75gi9HAiB5uvbrwR/QhCbnUW+pCghTCrhet93Q3e9PIvMupfOonw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5DHBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBTA//RkpLGNddo5q5GnKsxbox4LCOtshKZRyBKm/76auT+JwuO7Go\r\nxkhupjRtyyExRbGDZ1h89xerxcHOMql2wE4fBX/pZOPY1Zhk0BX3IG1Vj6fT\r\ngeQqUbhRjkDocYMV3xX4FDo5G/My5boZ1Csy4zOxmhOA+uwxl3Hah/OWgNBv\r\nCB3oc4UBZN8iNTzbWN5HQNrWKG7fZ0Y7oemaPnKxNMPOOfD1HXHp43NqF5lV\r\nQlgvfjmQe2iPrphTabYYgDzjkQzC94w8U2z5LCGXbiTulmvP/qmYtnGAmHFY\r\nEkFY01G/0ji2diNj5mK4oeu/+gvtk4W6+t+EQ81s8vJjMZZF+nBJhxZmcS8M\r\nNlObhxURAmkvJ47+8qq1vCQgVCTrtFoiy4eXD+/D8MQgtgMVvwTbz9VC238r\r\n0rijTZ0LBhWtRI4T+FEG8YPy6ZQvpqAoFYR1gvIiYnTUE+u/CCUkQpwUnzep\r\nyJIe4OWnpDwuMMPQaTcIJJ00RM4nRI754azqc3EQWrcku4e/n0gb3/Pd6Wu1\r\njudY1v8D9GanU5inhYhkb4InRvwmxGcD+PwpNUAraXKnO7OsnsYZYU1/RvJU\r\nquUxt+TZ2UlAXmJahdp6+OBsDL2uC717cXtFAiH0PAWbv9j8ty/LJAg1tp1D\r\nN8PQCcbAkVJEVgYNbYdo/cQM6KxlSIruoKI=\r\n=dfcu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.11_1675899329280_0.4407256950358587"},"_hasShrinkwrap":false},"0.7.7-nightly.12":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.12","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.13.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.2","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.12](https://img.shields.io/badge/version-v0.7.7--nightly.12-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c07863b8af724fe258282cae05c89ea0488f04f3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.12","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-xin3tv5vwPlw3PzZVTENf8TtvmURJo+mBI97uVHxWt2wGrHXxtCJsa2y6V4D9MYG3mFKyc4v03djUhfU9QlmTQ==","shasum":"6b354cbf2d695c80994de9499e0ddc072e8aee72","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.12.tgz","fileCount":10,"unpackedSize":31043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpxQZd6QILvUzWvD9keONj25pEWknuHkfzvdzIz6YABAiEA8XuEyh/ZkEsvmgVwlyMOh/Q9/XRWLv6ifRPltad7NKI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5YNzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmhBAAjeGosNPApWgnXJ8rWZg7EQfEcILoaii4CC2v2NM/07HUMB4a\r\nTPmZNzZLLWHCIAEFiMWZFO+cOlP8zdTPnspkF1V4RYMjJjPCF74d6MZ3xu5v\r\nm970T2JaxLkrwE1SACkHMmTmlOj5S0YfvtddOyWKrGFK6qDEPfGSvSK7eG/F\r\nozJ+bwXQhraQ0ry/aUwUccGuS1F/Ml75SQicceveiKp2Kny15QqnjG1oaB8D\r\nJEFGJkJMcY5/jTIWDvAGkbh6am3bIvp2zxJUqFCj2nj+T+njw6qInB66vE2P\r\nE4W/U6GgPuy0qH4PDXMv7wzJQN5QagYiP6rQBwStV3nN6918Yfp88SkKqvPZ\r\n9TlaqkwQE9BuFkbsmJNNzAZRpDn022vEIc56PRG3EhMbKhSWFwYzWzRhFSx9\r\nf/4TADwm47oP2ptnhmvb3b0U6D6+DXIP66v5Gso1yvIvIuMSK6mE/hrGxSrD\r\niNLH86ga/R5+1zu+aAHQEfRDk6E7R3ubyemyO6wDcd6En3JpNHF8dk1IwGZ8\r\naOa7Mk7F5+K4mjLQld8h8SLl9fzk1uNK9SGivVHwqK4eaLSKKkfZJ7pfMUVN\r\nvN9ojUeFFitEokJ442FcV4zZTBx1+aW1oYFgh1+0QYnuV7weqTvA37KdJbs2\r\niqP8iocNXdppXAo4CLvHXc76pgbt7BkUhQg=\r\n=Ismp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.12_1675985778869_0.5500292435364658"},"_hasShrinkwrap":false},"0.7.7-nightly.13":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.13","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec 'ts-node app/core/bot.ts'","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown '**/*.{md,json,ts,js}'","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.13.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.51.0","@typescript-eslint/parser":"^5.51.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.8.0","husky":"^8.0.3","jest":"^29.4.2","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.6.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.13](https://img.shields.io/badge/version-v0.7.7--nightly.13-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8fb265a9b17483c605abc3c8d7f1134cf4f36000","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.13","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-W3G26rB6KyU4RNKMXqB3Zx/utK9RhCoEY3TM3zdTbCbliSCD+rN3lmVJq8bmkFNCKCJ/XBzMEjEVOATSgxZ+Xg==","shasum":"daaf41d3b122694074c7959a54ba7c3df077e378","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.13.tgz","fileCount":10,"unpackedSize":31043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEQTEbj+YZXUttoaNVaEIFFa00efacTj/r7f9/hTjHjQIgBVwTQpelRzQUcbiIMrTPhmAslzod9Qe6uZQNgouy2Ec="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5tTQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqP7hAAjiEIudbtYXxZjWYARmUooWbSxrAhWzy4hNSvsIlQHArU9esz\r\nJdmQ2PoPhkLwTTqQFca2yT4bCU8juYyx+pcd5zqYM884z9OF2gIItXpvsTWG\r\nXgnJkqbYP9XJaBvYdQO5b7sBD9Z2WdFO57v9g3EB+fMduwY24iBru9paPoGR\r\nehjqCRX6KhavAqershn3O+TXErJO/TR8WOAtGN5QyNnD4kQsXgrtvQQvSvqS\r\nVpabcJdnryPcrrKajg1xQG8W2jUfJcxSTCL287w4DkenoX4ketj3ZFssWXP8\r\n6TIhEmQWomvjbtnNlwxcz3LVvZy1y9/XyXPDjqOTl7qPZ5tUh5Cc2f+STKA9\r\nVTXQl5x8X9JApkfQX/To5oB1XxAIVYZ6pfzcKH/nAgPqSJhEVgMe6XCtcWL+\r\nLQvtwOsqlcb95SGBm8DEREBUuY/krK8DEuLJ9YTB24LcfTP/Hy29aTVrw9Eb\r\nI43NFHd5Rv/8YAZi8nOVsNIyfavrbcpIdgGDiYrvHQo+PaLB6BSACQyWLMFz\r\nZduHeQv3X6z0y0lzsVXSFQszI2UXmuQ6B9xyQlRU5mGbfmwRdSzcXFcqB3Yw\r\nVbRjRzqHr2ANUR+9/1Jg154ByqR16nfpl81ZxsP7mORrgudffyIniaPUCfW3\r\ntRT0z5j236S1M7RdwQp4u9kYfGkQ2jf5H/8=\r\n=sIQB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.13_1676072144007_0.9519190695764197"},"_hasShrinkwrap":false},"0.7.7-nightly.14":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.14","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.0"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.14](https://img.shields.io/badge/version-v0.7.7--nightly.14-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0e9237e35469caea29d20d1512dfcff4da0d55aa","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.14","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-rnuPOhR+hIlR2q3ri9iDAwwNm1GLUzI5+5AAlsQJ2PUPhTitU5muO1P7iI5QgQQUgMZ7XGKwn7zHC3ow0hfFzg==","shasum":"6ebb23e21378ba3ab0603730680d2ab623b12d8e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.14.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBivFgGnQTlk0WetkBAMyqGlPMMDe3ve2PvTDckN8MiAiAta/bslaox7qee5NF82+5eMaIYSwxFEnbFDT4H3rR6jw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8WDlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmreag//TowY503L4S3IudjBdPUtuxsvT401e8E3FJJfGDaOqHdHw2qp\r\nzqzOmD0bdps9RAjJs0qn91j3YMa4+U4i4UeDuCNoYCnw2+pQ5znCDiuaGXpG\r\n6c+/1nL74dplBrdH7h9hiuXQxMw5V6Tom8DSNvtmkV7a6sD326x2N2MBfYTx\r\n+MNKTedy0zRxbY3f/VIVx9jE1cujsydhXBKCt3wAIDkHkIAubqGeCi4+2KtJ\r\nIT3NXRb5LnMHfsWke22R1d5Fy4yuEVGtDTaupWH0oBhUdM0nhbgOsuPn1Dvk\r\nw4mt0r4EhKKLUXlm+6OncOASxQZ5IXxJApcWnQIQpjTj4q2pd23mwcMX9bfr\r\nLTfRmFOZfbYDeTgKdBRGY5BkQa4CQU5fMzoi5Apgwbc0c4i9zcDwTUFow+Fk\r\nS+1oEj0uC0rncVAZ2KYom/so7N6ZneskpCxsNuKpHNhBU1uN2h+T6nZF3ZQ4\r\n55FcqryK/IbqvjxTeFRqhdsTZC4ZVsAW4414B7Qnoc8JbL75nXOXO9PdLaKC\r\n2h0gMKx5IDuGZRrhaoDRgUs5gCdplJacku8vRICtXAyf1Ttmn4Ykdj9qvAy5\r\ntt09/2yCuK6WS6kEmGqll7aihj5YhUyEDH/TtescVoU3M/bzO1eRDRGkSNkb\r\n4y+330p52lICxS6D/TbYAjN42AD9airHepo=\r\n=kQ0o\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.14_1676763365452_0.5741483211958931"},"_hasShrinkwrap":false},"0.7.7-nightly.15":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.15","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.15","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.0"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.15](https://img.shields.io/badge/version-v0.7.7--nightly.15-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f5e68ec39edce4a765380a5dd1665f376ef38e44","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.15","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-9N7kw9Jq9cK8l9j5Ek7t4Us8MJ4sfEIZf9Ck8W7hmvZ+quSQxQvRPl4TV/cHhmUidlM6cAWkESl4kpqcYktFsQ==","shasum":"6f16c94fe69bcb8fa471c5e76ba94df16fc10198","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.15.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQ65DtHQJbTBquodlZmjK68FGcCk2aO3aMlS6wPb8U8AiEAoRoQFMcNXx8T5CUvK7IPHHZeqpkBkG+GL8GWlqKkXxA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8rJpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRjQ//Q+LC3XAAVCHwDjhoqMZ+QbBgImTaFVeUNoQh7mLbmu0GYzTI\r\nhPEjeMVy1wxo7d3E4WUAld/zTyQVD3Y1MxEn3e1r0HwizkHeZ6oxLZepOmnt\r\nhtzWLuEKxtOtEkrWGx+vBmw2yC1JerXG6hW+CYL6Rl1LpgowKef5LC46BOof\r\n2aASa9FEHtmedia56trWIIr8K7y1mTr/aWR71cIuaw56kr6ndR4JRpmwkRM7\r\nIm4/PxttiHx7Vwe3VNzBvYsqqXv2r1UxTGC98PGgNQ/8+o9xiM3q0xrcp/Gh\r\n1MpVNkadEAeYoS2vzkvlIvlfFScLS7ma8A61sOhNBJpoZJb2QBtu/tcYoImR\r\nrusOtwRaQCVfvHluAB1zRb7YNn6W4OO2MjcjKkEsbAfjd1yC0sslHZtbikLJ\r\nix2S7dBJYVWP4oQZjs+zkgDIZ8H2UTjlEKe72Vm+Fx8mXyFFgappVDVSNjBo\r\nRQX+V8+LLVMlCGKc4n4MThHWf9kwiasKzM9sWjDfcRMxeaCofpUrAFZAxnhj\r\na1Oi/+cPc8v81Lj7iIVgbqmev2G1L/1swvUJ1ZFuGC188QYHk+29LEZMjuF+\r\nPyj286EZF1xxbN5WaufnAPKquk4tsIkIEM+ETFH3fDys83ub+fFUGaBH+/xZ\r\nuDmJDSGyUep+giWF6DAPXEiJ1v+a++M4DbM=\r\n=LcsU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.15_1676849769408_0.9835756142470569"},"_hasShrinkwrap":false},"0.7.7-nightly.16":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.16","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.0"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.16](https://img.shields.io/badge/version-v0.7.7--nightly.16-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"330e2496c6095ef466100a5ae319fc35ef985a07","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.16","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-lw5q9c4jLyi+7U2CANj8LHczlS7+ZMDYCTXn2Mox8e7PkZNg7EbYYzcKzReDAj5nTZsOy9VMMFqs6inX6QCQ3w==","shasum":"b5231fd451daeb27949d7aaacbd77e493d2cfe44","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.16.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEcWqGW9VTelVPFvjhrvMrKRda09u7tpEYnLtZ9zSuIFAiAYmOepMsE0wHBT2+epP/xi2H7Um4Y/WUxkyJ74Sc6VKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9APFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9Dg/9EX+q8PNNiS80yAiM+7JS4HLW9S/sdWyhCt+f7HjXEAIqBipa\r\nE99yila3sQIlbo2t02opFc4oBAPOFzg46jH4T/rzLGWOmTlEIZtPGkCSYBpd\r\nVYRbrV1dgLYbxr/1urMvmNd3qWwR4/eQs84gv2hkucBnrMGtEnLCsGX5TmNk\r\ny6S9B/rMJiF7+xt9+Up8xkrjay2uc4UdUR7udLMZ3NK0EUJiKxHGLhYygNsN\r\n9SeO7CjQBtJA2WhViCxZ1tLGmAB7i96hXc8mcWbMBQiUOfilqUp8iFiJ1Za3\r\nxadNDsOLlxI4Maw1cXajZ5xAC7R70zScbKiw1T7YzP7NjFpiXU44IuggrZFN\r\nTzG9lwTCeuwcxwx1tb2lUfsI0iIb2wO2NjI2DjhL3rIjyn2HYnELRwhYHZVM\r\nMhp7xONw1yrR5eq5KG76RxJgvj6dp7FSy3vIaVNN1IDMysHLEohLkIUSIvGG\r\n9p26xUeXUgB/MS+Tv4RuOx+raXgB/8QsODkQ3AVMllX1I3zxmqVhJKwFA3tT\r\nSVJRYyYbdlw0F93dS8KfEpFLtGInMXVJoiEbY9Ua4TDIppliXmJe3FNnVnB2\r\nQrkcwo4BGQM7RC716I8ewtuD/Q7rCBdMg5pbOMeh6qGCbUM9bKitOYH0ptAd\r\nXGq/umPhE/CrYcNi9wJA0LV76+DJDmE5r2s=\r\n=b3BF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.16_1676936133661_0.7123110153129708"},"_hasShrinkwrap":false},"0.7.7-nightly.17":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.17","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.17](https://img.shields.io/badge/version-v0.7.7--nightly.17-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6d08ce9ff73ec4edd653bc824f61d55dabea4c78","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.17","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-gChY228kqsL3uTRUGLOwcMPFn6J2LfARViDmcPCaGBUPweM5mhBAhgNnTlfitqPttd7rukzeTnxj1qiO3oGp4A==","shasum":"509d4c8475e2fffe8369c6cc64513ec94cd98798","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.17.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDp6dyFf1OH8RXoCrb3VBqIawyAzsuFyyA8kqLXheVzdAiEAtFvPkfjLTSnr2r+qhAuMSe89TuEFGjjg3OYm8gHUyjw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9VVBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKMBAAkKtH+l47iQXdJ99y8NgN0JzrTKaE8uYLXUNRv4ND/O5kgpno\r\nLcOfRQNx3fIpU0SlRjeS1Rdi+dH33HsukNyc9ESL4c1IS4SNxx2XpA16Ydao\r\nz3sMJlNdkgbBulJz38VL7WrAi7d9AbJBryHS9c5wAoD3gp17w5wSTkby9n+e\r\n5p7LrSojnpXC6CgmONXzBCFh/e9uCU7HfavShsV01zOj86Y3uGLyPPEC+PTf\r\n61S44hZXVYXcplnZX7K5xz4Ier2wwFtj9n7JAIiL7yTPvfy1l0bvK6v1pF13\r\nCKqRIKZmnTTNLKZBjdpp8UotEZOpFDz7yOiop2oWf/zJHptpkFm0t/V6ogUk\r\nGVGhcp1Xi4rje2qxri37OvxlZMUyhpXBGSaKEWK/tiqzanoiyupZhVmBo7c6\r\n/JCMgHCKIgvTHJJb0H59ZxmiKxug1Tog2FEnNFQaf8QoBSHOxB9tSWZiXlOo\r\nCUwd1HZ4X97zV7OyL5WE+eI2ITXw/UjImDWHyPPoUDLhSr256NsB1RrQ9T1k\r\n8SY1/ywXA0u6+eTj/pMbXy84rZNfjOtmKqeP2tZiBIYhsgPats8HI1/fW0g6\r\n0FyvMHsbEGTLK4ALdqKnkfB08xe59r9Dewm8nr4/+mQXgOgzmRc4rB73HNTq\r\nJfi7n8SJ1g+0SjYPLGyyryOPHjJeUi6KCQM=\r\n=v2FX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.17_1677022528824_0.759458833653639"},"_hasShrinkwrap":false},"0.7.7-nightly.18":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.18","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.0","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.18](https://img.shields.io/badge/version-v0.7.7--nightly.18-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dc3cec9cf14d78530e1adecf3d249a63f2fd3a7c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.18","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-dwkmZ+dDpb/gSmDOQJwvsO/ch/MLVi+5j1Y7hbvCojZDIoTFSQz0MoWOm1IUfWQDF5KgWhhcRCM655Zn0rvrlw==","shasum":"37643321e11d889013d0463ef04460c37e3c17c5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.18.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDDnwrHfGUHXPZvqcngI1YQlre7ALQ+FQFdGELFteIb6AiBaKL6oASFZO32xrsHDJiOQ6f2q/sJTJ01zXND0leLSKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9qbLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtxBAAn/Ps1pOXqkugQGiZ8zo95xXH6O0SQ6pQbJ3h/4GRLBFErsX5\r\nGyLhBkFgAETxBRY59qbRySKtgrMBE4SUSTvHZH+F1XXe7agDWpo7CGbR6Yg0\r\nUK3bAcVyY/fcUtUkJoJiWMvI6CEnDXnLoWO5Mto6DJ32TxmzEmH0bJ4100T3\r\nCcOxf22VCJxKH6OwKnu6fg23IN+VCDzsfs5uJmnM3aObS+Y+S9r9m3NCScpT\r\nRgqyVrOMIHrDggR0KANdRF28YwViQjPzV8tS8wNWWbQ0Zm2v6OZQfhpzxcSd\r\naYI41dST6fLPUaHbi3CxbsIwLxF/fvM3A3N3BdvoUA6q+IsjBCvQoSOZ0SQF\r\nF8+p7zXRUplHArbrEcfO1D2ppEVOHjNFf5nyqfrjg99fQ6QHDVylau+qNYp5\r\n1bnFwusXKBZ6jeBn0LGAiFq+n+dN7WHm28idnNAWEYo/GSJ7BrxtuWr/ZBG+\r\nYPYUPh+MJsgyC7VlwtJviHTdi9T6GOKEWtu6CxvAfwY19nFpN5oRTLnaMQAI\r\nkRI9FXtsMB4sg6xFzLm6jB7tweLfn+7nXGU1yTJ/N2rImYvh9HsbEKvq4S94\r\n5L32b5fsTbY3PwA/+yCkEVWF1fhJg52UGadY+mvRXVGqyk8vlTjou/ejtwwb\r\n9EV4nweUSMQz1YI6uzoF3o/ZyUBOO2SP0yw=\r\n=Rr82\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.18_1677108939769_0.9215784098625983"},"_hasShrinkwrap":false},"0.7.7-nightly.19":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.19","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.1","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.19](https://img.shields.io/badge/version-v0.7.7--nightly.19-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d258fedc92694e4e4a2b12ecc61758f80d10e196","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.19","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-ppTreSQAHf/dMQ6rxG6IQ11wW7a/Z2NazPkaBTzJzu1xDQw/sJP/ygGBP8UrKnw1weiAL8m7sqUDNQxpEesEcQ==","shasum":"032998eb8e5203d6cd3ad07f11bf43a1544ced2d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.19.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3X2nJT2vTo31ZIbKrChbzTZNlXtGZpdol8RDSzR6HjAIgaz9EmNRwAjvH+MOy4jzfknlEGaA5cKS5U+Sb+vmcgV0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9/hdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSqQ//eIYAmtI+MbyL8R21nYxV484DV2g1iAXvokFeYyn4Ma+tm8yq\r\ns32lcQvVrjQMvgcY6gVdCo3u1NqnMSmLlyu7TQU0G6Qcu4fOVvLcgVh7xw49\r\nshE6bDCLETKRnAiXPqvY4MqCnbdNAsm0hHihkqr3gZySiERyHnWPlXDgkvpc\r\nc3icbR7cTyxUBvV//v5fcxvSEiVWcCZG9737bqQsf34aU6BrodWxPPmzgbNt\r\n/JknS7tFd81iQYlTDBVyQ063fg9/KTQJ7gFga2PuZbeiTcaso+YIMR6hcX9R\r\nr4ciOKDao0/UvBCcfLHI8jSR75p2yPG2C7VOp6nV5fSpbJTkhjUFif7Lrs1h\r\npK0akqhRfNNCZiwqIbfSSbxYlLuH2DjMgBXo1uruZEjEsXztAnq4s8A617mg\r\nIkD+CjVE0hrGHFP4Pkg92pzcSb5L2VwEhPbm9dMJzf/JWXCDFSWiHjJviEI9\r\nF9MZVZs2rmEWrwov9uCgr5K2OC4dKORzxbNcZCKQ5NhZhOmswbiTYS9Iz0SA\r\nEAQPtPmCEZ7uvD06LmuFzgNAGZCdnzBWEL5z7DTlVLNkGlE2QN3VtAZPHKMU\r\nRjbVSzazN48AfRiluYoctqZeGnXI2IOWA9PoiU2sGUW0jG6ezSl3xo8hXEJ6\r\naxAbm27KRLapd9CgYQpo1Gcg6plVobbjQTA=\r\n=fLTH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.19_1677195357711_0.3302228354881207"},"_hasShrinkwrap":false},"0.7.7-nightly.20":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.20","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.1","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.20](https://img.shields.io/badge/version-v0.7.7--nightly.20-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5b79d51008705e1fae32cdb1de1713423d45b1ea","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.20","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-++qc+1Ivw7UBRcxZKSRyxAoxmn1JyXFxiuUL69E519fF0wMxAupS4greAy1STA9SxABgUZ1JoR350W+1ierHhg==","shasum":"6f7a92e4361ee20661dbf860d296cc73b71a4bc8","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.20.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGMycXGvet8ixTH8Wy9HfdBo2UBClGB2nFev4iUz3oBAiEAhA4CA+kmoPMv7vFy5Hhqj7XRytnPTQwqRgaSV++pVcg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+Um/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2HQ//e2X9AXMyVxZpfhLBoau+OW7A7GgwFmJUMyPmH1Qx5r9ORirm\r\nfZuVO0GkndHdpw6yWdG/b46Pl7ZlC4sjLWXNf5z5cddYPy2LSnCLn2BtU7f3\r\nRgpzHnQeR6QwEzU1xi+bZnRkKs/rVz25T/mITHQD+PlprvFDhlLnwsJ3sFmF\r\n8KdXRy1JR4hwod81R81IubnfNhK5QrekOHsrGqlBWmFA62qpRcZ2vt0OMGG5\r\nu60h5OtPqJAyx9dF4W0oscBPimURXHizSKlRD++3nt2CQzTHkL7b0gh2/Hux\r\ngN5xcC57YQu8LIhIe+w/8+hG9Qb103t67sZVnn27VjAwwXwTeX1SPKvoj5Hf\r\nAUarnloOM6wBJDkvoRsnOIcCEdS4x09SiivdWOhx1djVcjf0/He5+9QKzvC7\r\nGT8q/L6hyPISoK8lzU4ztaosYGe9dMJu+IIEE8WT67Pnhw5o4M5xPUAsgk2X\r\nvMQmJhLM0dP/VCVuZ/TZ93UfehFlrKNhb9fuknN5yd5fU13HwICe4Jy5cwaa\r\nx7jm2/kTfin3+nzpLHENyCfiZS77DbKwLQ5iKWTdT8AHnhnZ95oSAo2H2CP+\r\nMzbY8+9ryOI+C9o7ymYpniGVuGkYZysRLhAKea5EgenxmpCs/NpLq6k+nIQa\r\nYOKCd54dFdjeDjIdJrgE8Iq0vhlVqRCmBVU=\r\n=tQ9p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.20_1677281726986_0.5550194540325954"},"_hasShrinkwrap":false},"0.7.7-nightly.21":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.21","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.1","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.21](https://img.shields.io/badge/version-v0.7.7--nightly.21-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"79ba3200b6b3f5a6f7e9f4e3fc304fad20766fb9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.21","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-uRClyZ/Jt7pL/ha7mUP+PclO3uaKT51nRXenoswLz4cGg/4fkmPXSeU8Zfhp0Coj1d63BHEPOiqgPhlU0kAZRQ==","shasum":"e3006f8dc33230c25ce70215d106201d5e2cc621","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.21.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrlWH5M1QbvgtihLbMF2PXjLRVBOb4DIfWnuGNjpP4SgIhAJe2SAS9MeIq7CP90nniv+xTpEQrbvC/L1YNdsJ5wXYK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+ptQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmDQ//fWRxyGLEbzAl1AwDVuYbc/ApAEXUrMy3P7/geJBBvedrNbxU\r\nLU4NAqO0UFatLZhds8pb7BFZjBYAQ1iWqpC0A0KSxiPjBk6kPOOKb0IsXZ+x\r\nu3oDz94M2/DyrPdY3H8lBkhvwZLWH4OVbQhqw/mUxdVxtXw6gTg26IB/VK7V\r\n8BGypTeQgez+Mz/i+2HQUmWTf3QitsBGwbk8mt5gdzMDf38lHKVUCd/ICTLg\r\neOUKrqL6flWdZsV2X5rluXhRdPMhEq/eTv5gFSFXvDCsfS1tn65Hb4RgsfMS\r\niGCKuM9oen5Ha1FwTR3UZk5JkUl/5QHa9IVeNhw5bUHYgYdRhNOSEEYSzjpo\r\nfYFkkhqvgRehQjh4up688QDwyLfOccjW9DgX5RAn/5ortzour+gYI7z8LbgR\r\niIMoPOZrNvNDDdlNDHH8/3H/jRTFvVo2EEx4SIwbdyBTEOR+nPaXgE7TT0B5\r\n5hOlN0LIl0XKJ+7CSeYHdlzEmngMdavLfyEkPsqsJzFME6xafVcw/B/udL+T\r\nVIvobbXS1Mu0jf4rN1oAFBzT6QpUx29SrXxGdPF4zafyxXz7ESzBNtEbS7m+\r\n5WdWYB5jtQ9WGa4rCXZxY6sxsabRG5F+kUxGrU5oDKbrHr+nYlqHnLkMeXnW\r\nq/KqWMFLnSemxL9jwt6NhvidYqsCjuJUp50=\r\n=uR86\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.21_1677368144575_0.5714629361138097"},"_hasShrinkwrap":false},"0.7.7-nightly.22":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.22","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.22](https://img.shields.io/badge/version-v0.7.7--nightly.22-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bc0c741d84b9126844f72a3da982162bfac5be9a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.22","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-U0yIipTsSBlVWKDoGKSywuLdbMdmgZaW3bbx6pCHT/YXsvDGl4VQzj6+dyLFoMv6ECtxIn1ZLJeBv4xc94FkeQ==","shasum":"6b6c5949590ecd9646c9bfbedccd96d17fc7e40d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.22.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkYiywpHFO21pHWrxVswgMK2cDTfPNCrMRxki3srEVMAiEA4tUHds8Glu9aLMQPKf6QBea/dDHf/Soqt1ZptU9P5yA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj++zXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjThAAg/j5c0vwQr1e46M330JIWlQvDpmPMHIwbjdthlUTCmaYomAE\r\nKwVZTRyyJ7Jak/S+1jRyfvteFW10E5MkFmlQ9yLz91l6VZ3jZxpgJuffOPby\r\nWuzubPkUFnNuMJRYp7QAb7C88+1pe6XXipXL4orVbYFfXlh+icSk2A4thA5K\r\neN9o0yPgJ0SiDn2/xNWCggepUXxkMpbHnre6H7cbG0cEpOgyOJ/PIQ6tYG+T\r\nvokqtZTHT2e1nfEKjGXTioFFrGIbTJmbyDctsM3+YVkyFxiWjPGeOvTzxvq/\r\nCqPW7yumdRt2HQie9Aj439g2LhxeJeL4KuadZkod7GTndLEP3kmTnlXiLOWQ\r\nWhceaspLBsJSWDqP1syDro+CCUZxejf7nOV2xzpr6f4khRN/5wgonKpWkhdO\r\n7/TKzW7A1nXKcQmIxmwTfZ8aWE0Mkj2C8kOqcwH2KrD7luR7RhQLSKQWRdDZ\r\nIYJCjSAl5BjI78K3Sd+4IG5Rdy3bmbFCcXq2rSdktWxmHKUFQTHJtc+8xYlA\r\noK7Ejp1POLlFt+z3HmGMOpYpDZTd7/if+c5xACqWC8PtPWQs4zrh8nJxb8Oc\r\nvUxSAVYWu64CIxSsL8D0Xo07qGKTjGFbrdS6N6xWUQxcIqCLu1Raaydg20gr\r\nXlhacobe6m9Wywkd6AKR1w32fVkt+ZkJ1nc=\r\n=Y7I5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.22_1677454551708_0.0747247141489642"},"_hasShrinkwrap":false},"0.7.7-nightly.23":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.7-nightly.23","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","dotenv":"^16.0.3","grammy":"^1.14.1","mongoose":"^5.13.16","pm2":"^5.2.2"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.54.0","@typescript-eslint/parser":"^5.54.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.0.0","husky":"^8.0.3","jest":"^29.4.3","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.20","prettier":"^2.8.4","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^4.9.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.7-nightly.23](https://img.shields.io/badge/version-v0.7.7--nightly.23-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"44e35c03aafc2aa0cf901efc5b4efc2ca4b2c604","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.7-nightly.23","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-atQ12PD79lh5a0YJ+ig2oey8+yd1mDSWrtXcvsbyQWXUfwLncmpoNRVS9zAzuHQoYdgVIrR3bnYsrI875Ych6Q==","shasum":"a49fe3b6a0bb41896b8a54a1cb0cd89254893682","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.7-nightly.23.tgz","fileCount":10,"unpackedSize":31595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICTNX4TWTLzutb+fQKMUmY1w/koNMZc/zzl4U0OWcwlvAiBUQY8hqkPj51cCeQo4SjEnKDPgKeknMKUR1hKBeqsKLw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/T5JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcWQ/+O3u+2r5P/o4OXtd2aikuVf7mGUSkyv1VETxM0JyZnAXv6aHv\r\nrNIW0LHtpMvMnxUg87v0uHM6Z5pFweLa7EhNcJ6WzkmbxCzji0kLE2LNuS4h\r\nHOLI2DI6nWYXiXPkVvAHf1cNAzmuHb/pWUjG9ZKslN0jOCyxTVbvd3wejhsF\r\nUlfe8PWSGZOx+Mw9XOz+XCDPO3b/PhtfVYFyeZcB9NeTDH22kLOoP691agiQ\r\n0/el0T6ArvsjtM9ZmKmUZMnGBHS4ePlxP5ZLtmrnCb7PznUtGouaRCh4kkIk\r\nY6RSfOhlyxi2r4vT2gpCSzaAIPBSfHpIykDZQvJE9JV5pEvSWTBZ3VS/0/fz\r\nx8RKb3YVjVcBgRIaJtsR/JmoSdvwqlgurLTvYkqnTi+IeRSWqIDqHJrCAV76\r\nAIe/k19D+9Z8sH5kDAFA4Pg09sY9tJV/iokcwtcz30eOwOjPvTjXQqqFWUMW\r\n+ROCpwRXIRExsFhQbsATmZLBDberKx8LTAq39smTdEAEr72ieiRbFKLFP6O4\r\nSc+pUsrMZaiPIYkbfyPYjuFEj48I3VOtgSGHicy6vs/8Nh/5a8l9e7mYqw34\r\nVRYPYU/9MQaXh7tifhWj3NSCWrv3vTiR8/8GcLQFE5jz6CIS+LftWBVRdAtO\r\ntjeJUQI2R4kvF1oJuDv8WnzVfHhaZWC3a0M=\r\n=BzbY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.7-nightly.23_1677540937696_0.8675001964248872"},"_hasShrinkwrap":false},"0.7.9-nightly.1":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.1","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.16","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.0","@typescript-eslint/parser":"^5.57.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.0.5","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.1](https://img.shields.io/badge/version-v0.7.9--nightly.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8b522ea6eb265080dd7073a4c5bc0a7b0eeed8ba","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-XSxGJF3Yy/JKaFqdh/v52uO++RXkE18SRw5XvF6Zlw/dy1+BOJnUE2ifHz2/sp0cv5sHzukKStjWuECwTi4fiw==","shasum":"07ddc61593e7c74f6bbd5f64d3c819c30112be72","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.1.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpoQcYd+PllNTDTpZyH9WJjaV1/7LPM0poWLskjN14XAiEA/TzYSpF8aJJYm1X2E8FV9Avuwf+wdZmOMPjt387yQIE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKL/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRuw/7BwcahZngI9EgU6WLTp+hPLQlzbinyUiND1X4/wrEqWizu7jb\r\nsG1rKX7MT2229Mn80NFEHDkZpnbUw3kldtLxmCV8vgxONUvVj4X10sEBDuTV\r\n7sw/KFMBa2ZaKcI8DXrugjMv01zvNrYLKtYU+e0V+RtpcLy3j4aBJGib5GT5\r\nkYKTx9hfDrOfc5f7V3xXvgD6eiVSaiYQGsH/gEGhwjfwFptKcqvqaRHG3ucZ\r\nDYKZRyqOYTVdCHaopbCs4K8SGxnbfdllO66EHr/aqjCZHUz2jxbuh2/ta9p8\r\nyFka1KSPf4HOHD8RnTRKbqNv1xwIAKNvaJYdYp3ovwelI4p/gtQEAVvH/2J8\r\nuiY1v5VF/Bbi2fYww4O8/xggHM6L9MKst5ghWAaFXYydiLcOLhZhr62OsUU4\r\ngOaAg10pRxhNkaaDdga5nN3Rblwg+I9B7eTj3kdcKC3qKvyCeDe2qNZdT636\r\n6XbWizJoapFreKCmhR8UIyEn+eW3aPoxJOJ4kA58NL2nKw/qNxTvXewctKKW\r\nB1Z/zWQmNNAO95gJJZ3RMAMAZDrEFXqbiZF9jpPMzE+7J14VUA3EIyx4/wnq\r\nGkGOf1lejlst+JfMeT94ZWJzejbDXx/aJ422AYL6n8O0/vYW6X9lBoa5x9S/\r\n66w3GAffaVS5g4vZMipodaCb9zcwE2sUULs=\r\n=2Vvt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.1_1680392136403_0.05072081215202573"},"_hasShrinkwrap":false},"0.7.9-nightly.2":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.2","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.16","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.0","@typescript-eslint/parser":"^5.57.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.2](https://img.shields.io/badge/version-v0.7.9--nightly.2-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e9ba01cba47c6c9a7045e5356ef47070a044f8e2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.2","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-SZd7u91hA4ndrNv5CUCYu589hVgJ8uWOqFpxXj9LiK9auIjcqGxmhY8DUsUyWKL8n7hpAu6D4iiaM0sEePVeYw==","shasum":"860df50eaa5c32f5f86b358a9eef19afd8d40137","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.2.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwSSpBAM8p333ZfkTME6/KLBXgfSCuoxGdb6mJF7qjfwIgZ1m8toRPdvqpQ6eeX0luVC0zAS2XNrR9wJiuHX+AacU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKhE6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4sA/+JHP1ukzWi2wwg8JGszr8Ei2DC6y4uJEnsabS4+/yGelKF4/u\r\ntcjOcmfn6Cq1HRl06AiC0vxXcbYU7A0cj4OIujqbzoIsbquT101imC0cUAft\r\n9YrL5/5dDd1nWIOJfnfz6tf28RXafdYaZBxbQWvjf9vehzoMUBmBOORtcWoN\r\nMASnMI+vfoe1XeCZW5fs6yZpeLzQXWXNF5c0UIRpv0cE8BcEcj5/gZiBxACI\r\ndWZcXw8dG+qB6OgwwPewSe4anLC5GNZCcU2EZKBHS8zZyLwuwFQfTsckfz3U\r\ng1RlhJfPwH7GbZcd/81JDPKT2Wzf7jG8urrulBvIW9zgZnec97OKDuKrZBPZ\r\n2O0MVzF5xw5dwNsznKZRpj3+KlhRVAgZz7mt+WiLyisuJ7cs8gN6g/eI/for\r\nO0qRiRX1XH7rTew9V2DhJftUD6QMAhUSq4faAi/tqrTfKgHcMKkzv5BK8bXL\r\nxRH9/KyXZFZORpuE31+j7FY0PObmJoqvWNVH7Ns797CLGPt+k5VEklK7ioav\r\nBddP4HHu7aVrhuLQWFHWHuo5BCM1n1Y/WU6oI21s7S2MNs7DZp30glW8qSew\r\nxEZzUF06M77hFXDSBqA+GIckaVdC3IrkMDhypuAWZljnZtnkXt2mk3xA6e2I\r\nFYWxhjLAxQeIx+D7xoMUrWKxAhBVjeuhqjg=\r\n=M4tw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.2_1680478521959_0.6039358445595346"},"_hasShrinkwrap":false},"0.7.9-nightly.3":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.3","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.16","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.3](https://img.shields.io/badge/version-v0.7.9--nightly.3-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"46dc93592df04e63de847764edc2376026bb2e2b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.3","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-5Ule+fSqdMWYljeLk1ISGnJnrerKH92JLSreXIuLkxqNpV5Q2K8cMdNWz70vU/CCy17ZXxm9l6dAXoxZgB9DIg==","shasum":"b7abf02b544ec40e120f562bc84af18936f76955","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.3.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHHHWCxkOFeeaX5l6P8I+OQWNFKwwBahoBfhBxa62L3wIhAPJ2EJee8O0yq/WeY3u5JBdFKtLzAcsRP7/B/5RUnys5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkK2LFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLnA//XPsoH0TB1foMrt+O3jsO3hy7qp8iY51EZnCMGFINDJfIGZOF\r\n4NbaElaJyzxU0NZeOgRwJhOXiS9F+agPB9MkzXE0bUF7NxeNAlojyu6EF0Se\r\niYsjiZzLMJ/X60DFBXFJbOehaIcyIEGCZaI7T63VcqGJLdpPDaLIbuEBp/7Y\r\nD5zvQSbO31kX9MeJBPU4UxlOyuqjoVum31tCLmg/7DNNf5cx4ftnMWaEUsLD\r\nuiTynp7y3U1hfuRYeSsjFJ/kJep1gifWLL+ZMFjg9jXoWNgQzbZigb822AAh\r\nz3+TcYS3d574tlgbAGsklH27HQVJANBQNLEPbwiUw0y2StAgm6JNLVUMqI9f\r\njK9zqIns/K1mo1lSR28D1GeDDmimW/5EqibRgjFODklJ4dXJ8Xi+YmGKzLC9\r\njSOL3bZFwGqvG1JuSRIjMycqEdIz94rZFfNVt7/abZKAY22DLT2vgsoJjEEj\r\nt9WzMbGUc+rhLg2MW5VH+adrWyG0Yh3hQ4t+4lar6Mys+R/1foSb84X0lifX\r\nqRBYq5SNt+Yz0Z0rx1aYTyDWUCadiHj/ZRKS/lPhn5HzC+GeqRBbGVuEe85V\r\n3vAB1hwAEP0YO4iifKOwlFV/vsb59jyKbO4qF0U2EuKzxKgUx/zWdSoY8Rgm\r\nB4gS1ZY6oH6VulFoE4+VH0TU++LpjobLXuk=\r\n=YePQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.3_1680564933393_0.09689715188621384"},"_hasShrinkwrap":false},"0.7.9-nightly.4":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.4","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.4](https://img.shields.io/badge/version-v0.7.9--nightly.4-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0e905c022fb2351bd418e4f74ada0790ae301899","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.4","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-AAOcYLqNVG3uQdsWXJUeetFJGIZFOjc8/T0puLGFH83u0Zw6WDjXBROSMsHIvDm0BdaEmfa570m+D3e+ywSd3A==","shasum":"719d34fc3ebeb90c8a326dbdb39f285f7732d649","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.4.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOgDI70rfqjSB81CUBQ4VA9vgBZSiEXdgPY3t9oOewCwIhAJNXngnP+cgj3psgZ0GvRU8xpaR1bGXYr5rkaxAeukzG"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLLQ4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXLw/+KHQiDSzS+dtJb07AnNtdWckT11q0j77WAjioCecH5CJm3Q//\r\nOvC3kV8eM4GnWqqGGJ6BFNNZ9tgqiGVetucQGjWgrG8r/PXWfVQAZlZQ+rYR\r\nXUkCCluyS0ltjhRFmX57BWwpvR65QHFn9HG2O/Dx+JaDzrc3Ao0/8/OLG8lJ\r\nwB2hUhFz9jagJ/l8WW0d05FAVQAbEdDG7OPKw5LEk5iwhH8y5MZWVqhpvI26\r\ndwrMgwoOzuYdgV6WDaTlN0lH/9xEFXLzjdLsMitv+c/3z8+hl4HUaBTZ5dL8\r\nY1i0amchDr4jT2VNISDlqqmLzolGRa2jV/GuBnaZfgRVrfvEh4xtS2+XPqAm\r\nRtVsHhhjQhVl07GZollYFcwJwqxmvbuoFj+CWeV2qu2eV+sw1L85N9waZ6F9\r\nA/Og0VZh+cwfma6oB0TAVlHpt6bVtQmEYbUbX1pJapHFCLZ7obW7H1BXvpco\r\n7EXBl13SJgKiyUPSS+aM3njHiEc6xzmiEeZfEyPIvJU7vOPGGkfS8pwpWCJN\r\nBmQHLD8ifnXy6tyZSUBrEda6yuwYjiv2YWEswMfrMJwrQQoup2TxuIpP7e+B\r\nr7Ockfsq9xA/a2eKvXfxbAZ0ZfkjEPhB+/nIKzPkCdU0yrQ5OMWpkdBFchN/\r\nCGUhppD5pzpwP1ybedt7/XREylKv5klRicM=\r\n=ldZA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.4_1680651320321_0.01774479559078812"},"_hasShrinkwrap":false},"0.7.9-nightly.5":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.5","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.5](https://img.shields.io/badge/version-v0.7.9--nightly.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"0fde398f3962e754389d3ad14b6ea0595d7fe935","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.5","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-7zXqOiwrCJcK+X9IOubds6ApYene1RAU8evbP9PkPL1xIXmi2V9PkpzgQ8rtmhsjpL+6LKnxgm7badiBtaBl4g==","shasum":"efff11c8b78b3103d4b8986f7665fd235ec650d5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.5.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErIqSQr/JJyb/oX6CvQIyPQ3dz3RaeRV2E3922fmCn6AiAYYbxMq6MwPJEshX0g7fvFLSCaRNPPcJchRCy5zM1kCQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLgW4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoY0g/+NGGHlTGm96oeierKKwIYueBtn9ZSQJu5TUiCxJBrtCLEJ6oW\r\nU16FKJ+aUSvMb9lqKT9FQVgu4e2aGCii9vlo5roWyyieh/9M4ROiTPzNoJqe\r\nZWUmxcqtKCN7yId2BQL1be0LfTN7LHdIHNbBmR13mK9vO2E29zRLmM3eqk4M\r\nWLH02gV8qY4//yoz1iNvjpxtCVWJPSIWrwhwm6C1CpGh2wIorOZCPkM9HCmE\r\n2D6GvWnhkO+lnPf3sVQOv01ZiAOxR+ZWURX/VUqbQWjlf5wBF7QspavmxMdM\r\nNoDE694Kul2XQCuxwgTVeWOUhEQj1C5IZUFcuDpfMvZAFghaQz813kwZd15N\r\nHuMZSVnjBtSQ1rTtfCs2swgfNW9FnGOMgMKMGw3cfE9aDBmS+ezQfLi/Q/Bt\r\nq/KnFZIvAt//N93s4pPS7/rzrmfuJkD/vY8LSyBHrdtsnQVXwXO+sMxR5y0Z\r\nbGMOSLQvxBs8iX3XLMsqkBQwpuA8/izcWmxQtc+HIxN9fGAnkRr1cHuUyyA+\r\nk4KIoz+EXRacayVsQpezLvNxHUqePOtITrCkSzJWbWmfIPY0LB1KP0Lej5HM\r\nd1bVitq/TLrmrzhSi6TaObaztjvcAYohnKr4MWrzm/65gdLcCKAfmDdlClRS\r\nGtx6mwjBx/4zWWTbuGQi4jk0V8Qhp//STZw=\r\n=opBR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.5_1680737720662_0.637396506217029"},"_hasShrinkwrap":false},"0.7.9-nightly.6":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.6","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.6](https://img.shields.io/badge/version-v0.7.9--nightly.6-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9f68d5a85811905b2539a90a8f6f89a202a54866","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.6","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-aO01aKPdbrgUfZRdiLk6XfNVRGOLUY2n342iGgTDUe+gVh93mVo3Tv3MEYzH4pSyEeiLozUOgurUaOgfyytzNQ==","shasum":"41e0b4aef213daf6c407b3ddcbd8d37cc8a08892","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.6.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFhEnqGlRM7EIkuM8lFukRpU24p2UZJ9M6PkzGhH6lZgIgNqRadbjW1pDUDGyWjzQn3UJTaacVg+ntHiWqzFqDy6Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkL1dXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9IQ//d0aRd6BFc0NZm96GE9ev3OST+MW5IKiGMNTmi1nmm8LSgSEU\r\nZaJnZ/125nPebysto0Twi15Zp2YxKDZJAotxGP4jM7G0zRqUaQz/uw+HedQj\r\nTkk9zm7KW5oe6moj0eEAG6OiOKW2vp849YBsyEKFS4C0jZGYixBZqRae3E3T\r\n2DJ8DUzg08aAZ9L4+mTJbuaaELb+cAoiUhOaDXOA6Zv5YUsLI4urvuzyVBoW\r\nGZv2t7jtyRwUd2lnzYORfJEw5b2VLCw3sGPbQ7tttYZ12F3/qVmZOiV12JoU\r\nZ7W7oqE3LiwaAYtE0raMLJKGmJTuCHk/DHtrTX7Tfa/SIxybQqg0wXFlJOAI\r\nBkc7y9cFu5OQmvdD7hGy/X5AROn1H8TMeygeadQJRf4MUHH2xUtlhCNWZQae\r\nGRygEwSRKoZ4Qcsv3695o1fA5w5+oZfm1bYhxl6+4/MwYRsariW054eCV5hO\r\nAoeVZCUsFsMxzNlCaqbYk5idwvgzvi/Z4WVLJrxTUPg0ZjL7rM3fIh3FX1+L\r\nPpzyO1aqXeE8X+ggXmKvQz35u2N9TukgaNpCelc9r58dBhi0RvUwqqI7FTh5\r\nOUsDUV1LmtG3EFUFoA5in+IAb5vkLDZUw7hXbSavhoVuoGoG9h+mlkG9WjmQ\r\n8veoswB14T22joGqo7QvX+ji1ITRkvE6VRU=\r\n=mLBm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.6_1680824151206_0.6570066252846922"},"_hasShrinkwrap":false},"0.7.9-nightly.7":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.7","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.7](https://img.shields.io/badge/version-v0.7.9--nightly.7-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"df29b99974ea282b641eb1d11ef25ff82fd55938","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.7","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-+10yL75jRgwGbe7vjbGIgr4qzvG0M1cLClLIA0MZk3p1n1rnYPmdqTwBEta7ArKHSZZBgHEptjZKS4zmXwq19Q==","shasum":"2de7ff765e36bb7e91be640f0e707e08ca11945d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.7.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfIRvwoaNduLdAdmPDZ26UM/pZs9OYOyB6uoRaADr1KQIgeS4Ds5mKBvJ/opoSiI9lUI7ew+Ql7pNsRhbhE1FqmTM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMKjRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrd+xAAjC6iKXgVzaIerAmcBkhQ+ZgaiKtTvw3C2QvHdiH1WNN4+RXA\r\nD53NmWdKzXGuDPszoMsqteJI4+WhISCTbfj8w/+hbfWWJ8hP7b+JnjWP8Sur\r\nZZPBp19h8siDWDI14/H3vaPMRaUc2Jo+v0+SYoWLjw6V+TNhpdjxPu1rwz+t\r\nrJijd0q6RAsgQPOh/KdCN/ekyyyBVSSSPBWRrX7V+H3+ULqMWq7PxuHlR+Wz\r\n4JQ7FxA2MdrO8pp9dqIDZi12ok8lMY18zmNdK4i2fhf1PZcST0Ud2/yBKCN8\r\n5JxPwFIIwBIqD549KGbKELonSm+mcDb0JdVjuUabitfAaZCCaq+RHdjncVW6\r\nsHphOmzA/OS2u0Ch1kig6totIh4+h8IEPGnwNpp4zwt4hhLeUbuSQa0HY+47\r\nhpz2w4tzolEsR1q8J717Q8qa6ckKarDdiX/hjdYWKvwTxCnb/h/v8h3Wk9aR\r\nT7kRV3WT16wzU02+XK2cyLGSOLfOYTQzwsOh6A8gBGjLCRy3EaZ6MfMpG3hG\r\nNFxwUGg9/JxhCOV14fQYBbzA3xsW04KPznUDREo9BEMz/OUTCvQiGaAz7gNe\r\n52KY+E0NReZyJANruERbgdTU+Rej4urB+k6ij5LGTUlZ78/b54h/fqycw1R8\r\nZwZdRyPRN4CKjqm2tts3LgWeRbb/PCwMses=\r\n=Zedn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.7_1680910544940_0.6346426092217929"},"_hasShrinkwrap":false},"0.7.9-nightly.8":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.8","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.2","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.8](https://img.shields.io/badge/version-v0.7.9--nightly.8-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"41b20550dea0c60eb9fbcbe2667ec31c1522cf58","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.8","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0DgKbw3n8aXn5vrevOIUr00hxQ11yfxUitvFKPxkvxNV9zGQg7vWxtOe+zmZhqZsU+WOYEsnKXlhiOg4vrDcuQ==","shasum":"b3807ad832ac64e02243f5b153975c149e32f7ca","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.8.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCCv/HoVEoqs+vWLmBrG14EL+5Cw3ThNsEUCbm4YCGeAIhAOIOjUV4NdpjfjicHM8VjHBdYn9cqIPksYUVf7nGBLqP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMfo8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoajQ//XLX3J6lHYF0MvwCd3fP5j5zKgNIqQug7Zx0Ha3BTDiFTR2ML\r\neypauKIx970Zo1ezlXLHdm/zG25xOAyNh3F6Apws40tbLfi9XwL4AXd2s86d\r\nCVOIMYmE0iY6cDu7pV8xVYGA4/mrYW/y3RzkfNs/aOX3rNcKbjgNuWCAmUtb\r\noBA/VlbrMIZNr+mrPNCCTyU9YhhFl3rrFzg5ZVwR0VG1visUIdWE1bOjtDVd\r\n/4sieY9yP1beEbfuaj+uYF1+Zdn0KRLHTCZhAeG+Ay/zqPesOGjtn2gzimgH\r\n5MOUM1y3LgFMzAGGp3FOFuabQ+3RjWxoOeCoEgDqCnZWyZAq6KVS7ZuQJrMc\r\nR4l2E6xZXQak8tgHh2GBhEuOQvr5h8Lmt+uQmjdYdtDRKQX3WmBowlTJglgL\r\n+Yngsf/R60K9MZQR9pHuCy1oUxC24Ix5SML2FP0ZH3wh/5EXTZOXc+FbKZ9+\r\nbizYpbL28AX0ije9Lqy6FcwwztJtstuqM6gCV82rlLcw1dQs8Ew1iIHO2hVC\r\nrz/RVjPHxYrlIcWxc9YcrbdbHG311+dLN+rqphunNDHm+GXcp0F6x5Bl0Lor\r\nnEVE/SwjMqLRtQIHkVLw7Jegj3ZenxJPZS7/j9R8bqusFNxxauOeK8rmVAmE\r\n4oEUExqQWD0cvqXUCzQ+CtezMSfswg0O2FU=\r\n=YxYH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.8_1680996923946_0.8477082196028969"},"_hasShrinkwrap":false},"0.7.9-nightly.9":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.9","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.57.1","@typescript-eslint/parser":"^5.57.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.1.2","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.9](https://img.shields.io/badge/version-v0.7.9--nightly.9-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8552695527bacc981aebe924f3a60ab491854abd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.9","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-FxOj2haL1hbjZ0CpQ0wI0FioC3hawY6+O6HIEuqHEmzbQ0pQpE+1gUSNS8WwuiLA1BDNoIKao3kUrFKZ9ZuaHA==","shasum":"d0f43fdd6f1614c428fbfa3e417d91b094c8b2ab","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.9.tgz","fileCount":10,"unpackedSize":32158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIexqRvZntdYt49KQeT5RqXwCW4rp9hS9//RaAg8CZpQIhAJhgif3hsOsrQKZJJekGzltTj5xcuPJvatC0WlFvCU/G"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM0vCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrPg/9FHSmbZcLTUvEhQytxfJFXs66ptCJONIESrGvqvGdBg/QDffx\r\n1nD4GpPWWAg98Bpfo6AY0BToPOpOVKvz+85hPTC/6rZFh3nB00Z/O6HoY5BP\r\nf6Uvp0di1+IvZpzgT7s9kC/5YBJV6tmtxl6uLyXpda0IGIxMWz48QEScLkl7\r\nSZ4nc7jHz55tjxwbVpcQAl0FD0sNvROyTYBfST63VEAf5simQvvsFMVWDGqe\r\ns1+eDbsmmOS6ijuCweJfDvmb09vMhcHU0Z1aza06K4yTOOtRbcm422Ax5rYx\r\n/7a/WXMq3Pu8sy1OX1GOmpDfJMy44U7T9aKN8iSNwZoB3itUl5jbQbk1vDTx\r\nH7tsEmc1Z0NkHiyiY0dXxwJb/d9bm/UIFEjP4525ggeFYKhDB9Vw4W1sSxJu\r\nPGLAHu45NwElY8zcuXx2bMJwCGUzuAL2Ty2OKONkNQOtqRgW1XRKggMnhSxg\r\ndMCoKaTPaWpRuMdapYpqvs1MPGh0Mw55q2mdTUWnz6aJf9RPHoi3wB6Qwruq\r\nb++vL52JKKndK4LcMHnZb8TVietpKXhuofyWd6iaTLzI3PN0JoSs76eGFLHz\r\nrjsfoVkaBY23xZlr7FZbn7aAHAjK74qGX/ydQP9YemaADhEjMrDQ1dGkoZis\r\njnICTaZ3f70cdbj7KY7xWwFLpeFeFhfQ3FQ=\r\n=Mp3r\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.9_1681083330217_0.8210299281457161"},"_hasShrinkwrap":false},"0.7.9-nightly.10":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.10","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^40.3.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.10](https://img.shields.io/badge/version-v0.7.9--nightly.10-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6446deedb333cf99073641f6889fed3de8f5ab3a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.10","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-BMgSGmabPYasy2eaBYnMOWyIG2jfUKMw9/9BGYZigVuIUvKW60iwnYjV14zPFQbUTieot1VpqhnIc+eLavLj1A==","shasum":"e4a7b318d0a1ee1c2081a1a518797cb5e9f66a8b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.10.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNMAHo6crR0IXBONp/IJc3ZIgkxOpTH8zM4oYsgSIOPgIhALDDDNux439DtA6saCA0GQcuHA0Tww2pI/8Ky4hKvNvl"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNJ0+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrvmw//aU2x/f78IfQwMn7qP0uBVvF9Vg/ggf2DNYxE0vWJIGSfmOSe\r\nGJrxzSQ5wqmCedxYUAclYcWLZ8v7AvEp5neUgeaELL/pcCtOOqBYKll04g7B\r\nN0oYRRMVif9M1tOb34P9nsyP6MAXfiuj5JYRCCSzy5DN7mh1b90A4MyB1WA+\r\n1y8d99FHq9g0zBvO/76M7+rmK/kBevsIZuPe0blEmttuA4XfmC1+mAHy+CAw\r\ny0M3Ss5idJFduRvxf/eyPVEEfBCowlYfoRgQ7dbhI06kiRbuevxFyjKZMFH9\r\nP0ZWxrFej5+GDTQgKsWjc6CDKLWhAPD/mw/1wqWm4mpSPoo1RfJOcFd1Ygbr\r\nWN4iy4uoiX3/OCLgag7Ud7e1iMGOwLNmkuUzHUVkACMNOWc1nSBVN9tVTHc8\r\nByFXnIkQ5xUHj8zkZrV6YxHE82AhMFco2t48Jf2KfDRUT5CPH3/H2l+vQu23\r\nKp3zMwZ65OJiKrS6Q57LpO3bD2mF4lMOmAcJYuTh8UdScIaS0smAt9pV/geL\r\nPwujTuW+koR9+oX36zLb6EISyDwVPJWLuETi4VNG2RYb3RWxh8mhLWeVFOXm\r\ntXZVm/6/bh8ejwdfnFjCHy+lRP8oVCSj+JYGZYADhE2zsthvx4mRSKthMx0/\r\n9Ci1B/+irWxeyu1Y4/yKzNrbRzw+8CzNUVM=\r\n=gn4k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.10_1681169726399_0.26464546284923895"},"_hasShrinkwrap":false},"0.7.9-nightly.11":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.11","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.11","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.11](https://img.shields.io/badge/version-v0.7.9--nightly.11-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5ff8b967789e814bc6d53f0f2ee4be6a1223d6a1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.11","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-SvD4wA/kZ117g1meQ3G/XIJDcpQS88PcViFBNkpZUsARvw1vMXti1I8prX+XTIQjpb1VTNzZh/qOeP5CV/D2RA==","shasum":"45cad90d44c095bd4f2c2e0f962a8674764fa628","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.11.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd4Yq4iPEi2sRsWETFTaygqJRI0LxoRaNQ9mjdflR1fAIgeK8ZHs3NC5t3IpOL2YdPNPw7JgFq4YKw0FmggJFoqcY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNe61ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnfBAAmBsjA5yV/Ktb5+DJ0CM0Lcwy3dzsH6y50uC0R1zjh4YE+dME\r\n488yHRCXQkjuUyzOL6KlJ/wj8tdhq2U6FkdttBo4lf56aFFDTJejOGaDDAHX\r\n04Ez3ossbHkgJdf0o7DTIBUYX9Q10zqEpuoAfIdvRYB2J3xooyRGyKKjk6lq\r\nx/1sdTzO5iXyPwBTQWMwE4xe9Zi+p6kqaJEy9E0m8LBqIN854Whd4dBPtISI\r\nqHPAOO3XOWRHBS4fTCgto7nYAWnE9mazNcWJmXQciF9+iu7C9HbfBPa2OzO1\r\neeJK24xYijOQ9nvw3OV4n85yWS8mwIY3Bw4wiFqVr8wG1yRKHlxHmRDF3IL5\r\nddHzb3eVfBPl1cKcnQv1x1eqT47tD/TrRPkOMOU8iM0QQttk/cgfPYx2I3BE\r\nsdt2/OV2rgjHvq0jOpA0G1mTBsTiK2d6CxaUDGORSvtXorf/lKfjyygSUKAb\r\nYdNZQxXT4xhFkw6zOfP3LM5RwLB8Y6W1bA8mt27UdtN/SV2crUuOaDl3pKJr\r\nsOH0lEEQFWu1hSntU8qoZyU1mNCTg3nwjEHM9lhCOqoo9FIsNgsFixoAvBls\r\nzo1oDEcJMPZ48Mgd3ipO6KTbD53MXYO+kqjDEVhazbxXbuAj3uBoNVj0xEGM\r\ngAxII5wsyB6YpGy/u+2ndRqtEsh8q6N+vEk=\r\n=jXGQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.11_1681256117476_0.38485108785507527"},"_hasShrinkwrap":false},"0.7.9-nightly.12":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.12","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.12](https://img.shields.io/badge/version-v0.7.9--nightly.12-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7eecedd0994360641ac56caf48b340d3df240e70","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.12","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-9t4x7J7nbxitLxc0wZsMTp45LkrhaemZmr7MwmfW8E+pcOO+q2nN6Xu78Vik1CIXGTXt2uqU2inG+McLRcRQUg==","shasum":"36a292ff9bd6778cacd843a49133d9f0cb5cd70d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.12.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDq5qLIky05wp7TbZzLRiKIhadBXtZ42DUgNZq/2HoiGAiEAwAsALYQXQfIwwxTOkHPUGtB9NU8kXr6O4CxSnI0cD68="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN0A8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCYxAAjmRHspoqA8bCxGAYFu4f9zY/cpje78sYMOSWosvW66E0p+Yv\r\nK7TAvxIjy8Iv/XSt4yEbhc9OYSLD/phKNrTPMIas/0dCuGzFQB4AuojTtRUB\r\nNXVizdlagdYmUG8TytVux81/nkUyCm07lrm2Dp27PndKTLGFZ5LVpiowjTVZ\r\nVxhrZGiRftdKBb10AbSKOKiWW2Jb++UtboF6PkVpzXf1+ZBJIfJCQEUM7koi\r\nTSwoJ2B9r3kcEg0YV8ExA8c2XMP4TxaFDNFVbX8VCm1/g+ZhVs3mOdBoT2Wj\r\nF98FtM/HAaW4vlGo3HiYvOgFIXKLABQmqboogPjG1ysRWZg6z/g/UW/rX02n\r\nGFqchpdwVBwgbG4JJVgsmVyZ4X80baUM2nNCvJ1Op1fP8TBhAj292IpfRacv\r\n0e88HUNCuXd7+MGML3ipZjDIVP56d1pTchBIuHroxgLkvizFdgEHxlpRT4/z\r\nYGInXmGyUaiTaVta+6WPqDbH/gbPRvU0Go3yR460H7vCESjRL08DFlF7zAew\r\nXo6EL8M7Elxa1bKxWDRoULCwNwKKoct9fsMYZqte9I6jG8f3vrIWS0twi5zt\r\nXOPwTXMooeTKmaJQ1ktrpdlPsXxdViEgaUbBGY2JHsHnsW8G8yiFq/n6LHv9\r\nyDTS8lDcU0hqpZwYLrTyKKbuqWpyPZLf62M=\r\n=2jgE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.12_1681342524640_0.34895177143168277"},"_hasShrinkwrap":false},"0.7.9-nightly.13":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.13","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.13](https://img.shields.io/badge/version-v0.7.9--nightly.13-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d852766b1d0beee3e1f54f1afc9dda34ccc0670c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.13","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-WkmSVX5Oaz85Z89LcDfCGECNnk1hrcFq/IZHX7A5EFFlmvB4+9HyztJ67sLOqcqiLiWyfWOkxkiZxFHrFJs8ZQ==","shasum":"829c653dfd452d16a47413d1f0fbc998a9f9a6dc","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.13.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVB8VC5MyieXx5wVI9K5o6j4/xoRZAiBXeH7JLCPRsiAIhAPFhkX3a1UfVHnWv5NC3N6xIbEaxE/u3cjH4x2e2Z3im"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOJG4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvRg//exBSe2o0Cjro+Ga9637q6/1JhFQhvaGT2jC1UUyycSEOpoyi\r\nkT5BV2cR1WmItPV+rx2h4JeTP5cc9UdoqnDJyYL/v1Xqi42ToJ0Bf0LN1UZ5\r\ngpOuealXItkwILdDwmvjlXJBzGIDQdj0AIMlOhG5zFatLK34lQnMTF2yK4nU\r\nolcJa+od5CQIaSLpS/oq4vDoMiuPmprpazPtbZSP2nInrODZVtaIVuujuv17\r\nsgpyNe3hhlX3ZsC8X28jXsY/7p2V65hhFn5Nl1JJxCpsZfqi5fY7ltz5ctqb\r\n27WbLC+Jp795vFNc/rwJFEob8uHrdKSNN3iL1WTF/9sTwcviB57nnVhILt+y\r\n438dFv/pvfjgAyuRVpkqgjSyGq+f66qlapsd0M3hywQqsAKxw5x/vlicLCHk\r\nfsbToFCVCkze9Q1nMGujjRn7C7FhmZX7s18lDQzy38nV4t5y9TyUj6xXP4pP\r\n30KkrYOpyF/X5B80O8WGoQ2PLgD4RvaqLuG069Wrt21sTD3dvWGVlxs3gLEl\r\nY5ExepMf+4J8d1L8XKblnY9iRz/aV9Md2oA+XFjdcqXnpFcV3HVNKXUGdoNQ\r\nPnS77uj+Yb6cYpl5GNvC2W057AWGjXwTLWn4wM39CleW1hzyhzu30dEQJeup\r\nxeRbVfzAJWTErAXVQ4d2FXWJX1FSJLQgbws=\r\n=Lxbs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.13_1681428920746_0.6093603814660091"},"_hasShrinkwrap":false},"0.7.9-nightly.14":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.14","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.14](https://img.shields.io/badge/version-v0.7.9--nightly.14-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"426eb0d035b682338f1ebc018ee98889babc0610","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.14","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-iJnqR8AJ0oJkBh16xK3vUNSU5z7/8x3IJN4T399oR1NebaYSksrkHRAON2VZwTQcPqV26ov5ZJ3bEpEEXcsJRQ==","shasum":"a0450b7f389a494c5a1c032ef12b793ef95fddb4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.14.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfFNdNKzZPsAKI++wXnMCKKZ/wwo1scbi8DyWAs2KuBAiBgz0DCOdkHAC5hbeSnWwutPjzonubli/PQYH1lB73Zmg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOeNZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofHxAAnotduxThhMNdV0idnT2yRsDU8Dbezhc20nYYgFsMMyL5Q4Ke\r\nuj9pK6v+ftnXMHMNgmM87Lgr4RL3jeiRFcYr8jtFxtxGYHznAIMAexjpnsOo\r\n3B9HzswrMeeSlNKcDxH/Vb5pwOMhcNWe45dj1vqMf6rPpD7ynV6fQSdyCUpt\r\n4UJTWqNglai4vAzv/GhTG+ChwNB1SZHw9JQ8LJOPHH/GI/px8ke71pmR/29z\r\nnTeO982Je3vpT6/OQLoqbopv+mMY7gwrswXkMHPEeul6swYUBNvywmMgvnbl\r\neZDxWgLrTJQXcBmVyJK/7z6ql/6R9NS/HOQpfVlVCl5aw/d2tLgwCQFuJ3VY\r\nDXHsipFipV+c9ATErCAuk0LMBewHG7351vL7aXdnzlt0An3tZYOyXHvYBKNQ\r\nmiV6zlI8u2bAHcdL2M2oImjDEvTXeBnxnnOICQfftRcR+xN7DcEl8hWq0T74\r\nXYs9v6jVOo769klBqsz4uLPbsJKdVgAE3n2bIT4gLtvP53MIV5S5OuQZcqOj\r\nlCw8gBlsl3aSue+1fjbY5NdkXN3MQgyAal+tnz2E0jeBek/s2fZcoNplSY0J\r\nqStfutX8FPcwhp26scGvIZp2OjlujL5TGVS7EIAL1qew3bfkw9o3vJ+L49ZJ\r\nBm0qIqwAWECzi4tFT+OhTo8Labb2FVrzs4s=\r\n=DNSH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.14_1681515353569_0.7457372584159361"},"_hasShrinkwrap":false},"0.7.9-nightly.15":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.15","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.15](https://img.shields.io/badge/version-v0.7.9--nightly.15-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a8d49681613b31817b21feff032dd19eedc8b65d","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.15","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-N2Bc45nx7PxcTygq5QxAyQg+SjornpDSdiY65EFHcBWHRPYm1q2JLNJRsfWrUyQ7GpItbL4XkJmx3dwI7tyUtw==","shasum":"728660f2a9bb4ff4835fd366334c3a6924b5baf5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.15.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo9sPJXRn+imJ9UyZCdGB78ij6SIlLfPoQef3+i6q3wAIhAJzUDdOncbKiRvudOhjaeJ+QlZbLug/IgPNBSAgWoyDn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOzS+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoP8RAAkg5N0lra0P97XqM9ssvj6CGoFK4fqENxyxwKvU9e5ERof8+U\r\n8ZPOqJDVHBwWj3nGlmsv/6GEykUXJALm4XmUyiE0KRFiSuw1WGcvAZEXtw0u\r\nJtOji8PDnZrihvooTKRFsgNLAYlL4okx0LJxNfBqzi9qvV+ww1olA71BQrWl\r\nY+QV8qLuYUtjlPEHZqDsBfWER/yAIKVQIoPSc6RaaGSz8YKILDJW5JG/QQ7V\r\niAZ2ZblOJgOWooNcHVY1EUi5zDshBI5cRD+0Tu8NZ/tFCeOFvXqL7e41/KW5\r\n9TRUJNlxmx+8+ZlJTccHjp22ZFL6m9tAXw9PmAAOQcvVJfiCDC3Az4tm+ny3\r\ntmR9/bx/EIU1JNIf3EcK3nYH3AsqYvbVjsQiHJxSk99pOTMnXkUOfqzpvQjf\r\nbfjWEqnaIounAk4H/jG2XTPjN9RmFsBPOhWWbb5llCD1lFwzjYsJRUIeW92u\r\n/D0UdZINFiEVlAaWDXoIuq9fUXm+NIbFMRw5f5QzpM3PG9nnl4s7NX33Syj6\r\nLnHPNIKGiw3PeCJKvZ7KcqtMNzFMATAXjRifXSQaYAw3PpQN90STXnKzapfB\r\ndkd0BnhgSEL0w2XVFbJIJWZN2LltQ+xcBKRa0wdQ3KyexmjwT6NwGkRlzasv\r\n+D3btI/C/OejoOuRi0LdAYtIDbEnD3/+ydY=\r\n=GCE5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.15_1681601726221_0.024773996927045072"},"_hasShrinkwrap":false},"0.7.9-nightly.16":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.16","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.16](https://img.shields.io/badge/version-v0.7.9--nightly.16-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6c866547201c1829041a7ae9670ea32bdbbe2f66","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.16","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-7qIALVpM02I+80+kJsSWjrffEvfjvcuHiRNCZveSihI3XCnbyfy/oJentiYLwH/iNiRdGl515n1LgBKVAPQiGg==","shasum":"f8daa0b42f909f42baf58c851d4d1e1b8f1d618d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.16.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEWg2gYgFXCxrIaYIW9/tqtTPAgz0j/UwOpWOILFhUuwIhALwe9U97Xc5mMqON2SJJca0iYXeDUYQL8vL5DO4UQKe3"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPIY+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+KQ/7BXdv7vlh/uUsyXAXRJt2JXOtNTd+7K03BsHBRyfYPw6RRGQT\r\nX3JURFv4FuTj5gcFqs2z76zseJhfJ9dphRK5/eL7v6ZQAoWwS4GPcTu7I7Ho\r\nPXRCfydokUrkbL3noQ5ekQGxEplYtYUHNxBDOo0n12MNMQU1A2gZvGAjExwd\r\n0qcE/asMvT5O2/T6qxkf/H2kD31tPRzS/ot75NjPRpE+BlNFpTi0dwewagbU\r\nlukkc6rJ2Xg1qDdqimDJoqounHB0h+nPvd8XSUpmpwBWK6UPzjqVhEPb+Vto\r\n7+jD8Tcsx3tkD+lHHl/W5t3dleyKh0t5l3d8SGkyTwXukWnmVxPY0rErfgaR\r\n2FC2k8y98HEarJCQf6Qb9ZwmaM0iEgP5QtIcZ3lZ0ZX2TIlnyhk6/GmyQOFS\r\nQHq1sel1/QyakC1ldb1py9ggRoVL6rRodyBXYYnFqGOc3Lx0n728QXKcr/AT\r\nb1/a8VrxBkGKzzeWjxSJcLL4My6898DCk/yKEIbDjqyUwe0RZ5f3Otxo18ku\r\n+0Fq+88IVAmSG2WYuBl/ilf7FKmw8FQIy/P0UoH29DFb8lA0TrocfgSBEepG\r\nveJRVG3uggmWvdmwdn/EknySE0TECh99Nk32B/M7Q8C4C/XEX+wKDZwZDdSF\r\nh0nWqi2X9OzBzmnkvQptdNRjP23PiX3Z7Pg=\r\n=0cM6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.16_1681688126373_0.4456696938548268"},"_hasShrinkwrap":false},"0.7.9-nightly.17":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.17","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^41.1.2","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.17](https://img.shields.io/badge/version-v0.7.9--nightly.17-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"22cc7d1fb2fd1753e964d01ca1de40cf1af3b550","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.17","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-VqtMibBNFVJRnQKs18KMzM9ZrpfP7WNVo1vHqHwc6dM2AqQLtqP+rlkEqmUGHhzuW81A7PncdpIuVznAFsaWkQ==","shasum":"8fa578e95d5950e5c3c2188832a6f59a195a7c00","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.17.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETGOlNRu3GgcjwNFapLZvCai4llPshGazoybdo7hnSCAiEA0UpcydtIjIg6TRHi4z9vTiWmxetTuqXDE8vSqB+Dskg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPdfHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoS1w/+JbnJVKqxZlAorJoFoYeNHFcI32StsJDQR5/0MWzNK+igLA6I\r\nrtcpT6icWMIVJl5YZb603gWyF/4Lpbhv5OlvzzmDUnQDGjr9RM1VhAC+93g5\r\nqY+4QW5HZFxHo5Uh2BcK2/v1qNBv2jkR2Hbnu3yIOu4dgbrxlGR+hg1ozFgY\r\naVdtngPIbM5/rZJElv1KP5InAEVNNQj4rXL5ksHjoo4cxFyAbqWsEr1htH4w\r\npWrXzMnC67Yd4zhODTgPnafhbe7hxz+OELKA86duiCs2LkipVNDIeuqFTURq\r\nwo4QFU+++hGvgBub1c3mKixgUntkrhuxzSK192gooRTrJHqw1kWXRyYUBPvn\r\n0QTz57UOgM4lmahNYbJgZd2o4JYp2i2Ycd4u+/RJ0K/hEVIwS5PEpEIlRPxi\r\niSoeQct6V1Lf8nNRXQIkXt5YgdZvySyfYD/sSW6kvW8l2prxaKEUR8ca55yN\r\njd/8IB/WIJF5Ao2+WNCpnpLFIUk/4fnl0kBp5+T6pyO3Pc510h7pbBok+u9k\r\nM2REFaLmzOKJLkJkMbLQ/XBhBpUEawDGNSa9GsUtacbRtkXDJrlj9zHv5cth\r\nI+wg12lWMJP8jIoUAYyDmPj22zzPvLvlJ1i3Cl6W2s7FeypsqGfmpHJOEmED\r\n0hPY0RZlZ5Hy0bgEMRCk0o+hb2/FjlRLOjc=\r\n=LC2d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.17_1681774534900_0.22487989929668495"},"_hasShrinkwrap":false},"0.7.9-nightly.18":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.18","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.11","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.18](https://img.shields.io/badge/version-v0.7.9--nightly.18-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"282e841ed5832e3d0fc0aeac69bdf49906d442aa","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.18","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-gQTM3qQL7so+sezTX8teaJLOGIgoGgg0WljSUGjiBdEwXX1ZThUA/HNLj3BC9IVaE+rxCEaMNbLXC9/7hE7s+g==","shasum":"428151cbc6c7c66a9a2b0a1a05ec4e046626f000","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.18.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlMbX4NjYTtUNo9gjhzm2jzfOXMnlJrJ55z5N6tfY3OQIgEHpfTTQV+LEqeXfqzzCs665nmAaq2VX7TVfgAGwlN1s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPylSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqTA//SLgtk7o9A2k15vu/qHxRrWmXzriUACBAYgCpHpUMO/VZ9Jbx\r\npMi27Yw3tSm/d3FfHs2pxXQTvQ/gYFaCjCbBQWfOrRajkAJltG/wYg5Dr4LY\r\nvp63rSurvPoHv7rPhbWH1yxj5tsB18Y1iDkZhbeKRWWSnY/Kq0eLZ5G/BSN3\r\na/ZVwJfaM8QbTbRVlQRZVSa9snup8wxaj0O3tzA/Xn/I6TTDNJ8sxYntRvGV\r\n3N7Myf5xoZG21dxxgck3WCkkxPfYDZBGHbrzvCPLJWD4l4VcNXjBb+bp2WZG\r\nHj4UpFmSc4uCPuGANgxvDiilkwi1/XiFaiEBkjNxoL1TjEmCJ7bMub9GFJZk\r\n0ES3rv8m+Ps758pZpY9oLyE8pESfoyNswo0CQP4mBYcnepr2ALU7+thwoZZg\r\nCmBq96FW2qeeolwcHeKNRx1FK/UzdZH7U7ey25vUmYBVGG0DHPPb3l5UdZKO\r\nesVnZ5EPAAxcRjO3OLTMJjCj0LFKCniwtl6RKF7gGn8709KxIZ2Qm+4n8z6+\r\nENqA0xDwP2dTZG1LyOCWpbJ2ykcjQInVhVkOc9e4Ef74qGbjGJKK2Fr8KNQ7\r\n3RO98IQq9VTVzzEt2p9POoT61HWJhVjz1LBUtbFuv/mLsSd5v0WAzA4f7iGu\r\nebtl5/pX1IB2e4fRWy980pQ2yk/lf5jx7zI=\r\n=XZ7A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.18_1681860946104_0.024843848481752584"},"_hasShrinkwrap":false},"0.7.9-nightly.19":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.19","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.15.12","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.19](https://img.shields.io/badge/version-v0.7.9--nightly.19-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ddb27cf4586efbce0d551c038d7e51ed5f7d65dc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.19","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-TnYU2cC5dbw+GLWs3zKSF47lv31esQ3o8xIrVlDkkSJiv50zje2YDRDzQJZWsU98nsIQILMOxBKhfvPQ8BOLEQ==","shasum":"8f762021de321352e9269d8e51d3f94d4e13a69e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.19.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVfmStXwGiVvdBrPOqFcrfZfWnapRxbzQdAkgAWUcxbgIhAOEROWteJvF5MQO/pCRnCj7UD6yrT3jcr+LlGK1t9LAS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQHrEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5aA//dMZ/n4YGuq+TNAXuIRb0GSoxHbQz1/haYdSRNetxMFaiSRnp\r\ntvhBApwbDgyDtwvOTXhaJ99nOO0f2qkhHHZGeJbS/Rqr2rS//ZFmCFpgTjs/\r\nz9fSAWjsFJOc/CWupUXFVC3deOE/jbQMRA7shviSd2Xqry8xgAhZx7UfYACB\r\n16DuMbzm535B/domA5M03oRi+5VuNv/RzUsYUYHVCCkz4jK0+xD53GLTAOj6\r\nnQTn3rT2LK08rf5p/8I0b2FMYXjsNDu+8TJwV6bqRRQnKSgAU8ZdbRH7VN+n\r\n9qVACExgCr/A0seISSIMbJ+fIA+M7k9DptfHuCaDG2SEt2uXEdcUROFyKBau\r\nKc2Ep6PMI50Meph2+qr+LgGQ2t6dnWiag4A5bdoQhRv53VpDl2dKLK3eoksP\r\ntWChwnJmzlp7FS9Cv2sKj6KnfR0Cm9bXcrRPyp0a9ga1wEQG4YcxEU6UBAiC\r\n3lxIJkRF0Fi5yFyYUFSfgYBLZ3d7sIY5m2ilMmoxxcRjlNQXoOZcNZx7x9pL\r\n8QVdKQ4VC369XbOLHi0fTQhq9wosN75COXXr8yD+WQKHmyFGX6a+5F0g/QvZ\r\nNk/8gDtZPhDVIUonkM8tghBogHgxn553j6wmy3KZ3XpHXHvnMEP60yXqFHEs\r\nWNdmU12Muh88Q0E2gKz1Esp2JMrlAAVB5VM=\r\n=KMMG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.19_1681947332214_0.8704050489609851"},"_hasShrinkwrap":false},"0.7.9-nightly.20":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.20","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.15.12","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.20](https://img.shields.io/badge/version-v0.7.9--nightly.20-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ac48838f24f5089e166b75dee5f0990ff634e334","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.20","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-l4+wfy1zVIhOw+g86jXnCrGNfdZ8MfFtpcszLSc9WDJqI2rzY+9xuuGODDP+9wgIf7/3d0FQWKEZmy/Zc9bwAQ==","shasum":"8c610983628acfb19736c5ad0d3d768e46fb02e2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.20.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXhohbFsFBS3SGW4x2XzGuk/HevuyVoKoevTjHCKhNYAiBKrU5BSKVCWNBlEKRSPNbHMYRYxBxNMtTQ8/j27U8clg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQcxTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtHQ//ZnmFyhrkAIO/pH4jRl6INoVz4ti6bp7tuY0f+kU24Z2obRPc\r\nRdaPmy8BeFgo/AkKT8MOxlIF2PCzIelqZLFQiKasvZvWw3RqQ+0e7nVV7Eps\r\n89njS32rpq0XVW8F0EbXOGBenWFtgZbDa9Va4gLvNZeZQF0Vaw/iNzhQLM4E\r\nXlxhSy53OGG9Gt9gS1khsOxrjHg0F3VcW54PRNhuqshT3/9d3qlxMzXkLb7b\r\nO+AfzWwBEQSN/sb5Wr8xH2Qm8XsV7Tx/5vlJzle5qgYgWiEs3xCrIYz0ixAR\r\nJ9G1dpKPuw5xklAzcAXc8chYqEETL9W4mR94LMmbWYU58w0HydsFU34iUpV+\r\nYQj9FDYuBWpxtda6xeQHIUGBnijT/fGHC3WOMGcw65jRRVIibAGcS4xT3jQ1\r\nwq921ShNRkDR1IbWNBO3sdAhsqJwfODaluU9vOuN1MCq3T7mJduexS6U6jnr\r\nSRy80NvEoFwt/SpKO+aCowJMnzf3/i75mo5hgEE0pO2PMrJKXxLfh3qPRBjc\r\nVDC6zhyb9rCpwQK9GEmUeqJcfkuueuGI17ggLQUWHbvr8Q14jqlVksjijwH2\r\nUFFGAxrkw2jHE2Sl1CxNLqXKf4wR/dNx9/khqtk5E0tATfwvviv233Pzu6M3\r\nFq9rGLKUkjT/UW18p19QwVOUqD1tuNkpU3A=\r\n=6QoO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.20_1682033747719_0.3965023262777527"},"_hasShrinkwrap":false},"0.7.9-nightly.21":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.21","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.15.3","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.15.13","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.21](https://img.shields.io/badge/version-v0.7.9--nightly.21-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2046bee4c2bac5c9bbde678103f5768da336a20a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.21","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-hLkycwgbLa7gqNMxFJx5wx4Mfnbi1QjTZXWkjAVLHHhj06Eyh3I0SUu+MUvpwa8oPyztc/jyhQM4rpp6cYNKog==","shasum":"19bd1e395f3d48832ae3a301ab28ca6979171fd0","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.21.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8+45vA9jLkGivqqUQZFFbwqSDkLYQ/QNZ7jD0AvKxSQIgGo0OO+5p+VfMz7SjJv/dJSH49BNDcV+tuXyr38Phveg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQx3yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnSg/+JTq9K9MNiPkk+b2n29a/UU0X8k/mGrTymNjEaSF1RWQ6zfiI\r\np2WSowDvHgKZAwjgZU5ivfKGRqS0B5CYunhS5RaYm0pTmxhQAJ+Hdj2TgLIh\r\n+s+ee58r2dDo9HypjEOj4nJ0h2FgukvqL5RAtCexSnLw1S/4ns17XZz58lE/\r\nsODhL7ka7fd0XUzyuFzPTkI2ZMO8lernMU/9IPRW/KAokZD0VlN7/CiGAS25\r\n7Riy4YrJQbBDIbtXoqSzUNuD1L9FXpcgEjRVrcCcfmqCY2I58pg8qCdoKczq\r\nln3+DGzWG7YnrQ8EaH76j7RIWX5KnbxMtXsUbMgS8dxj3O4Tk6uMk7OEANWH\r\n7YhlyOCwriY0ahNmqoOAUz3y6TQKkGiYhl+nVoRg1XcWnzFz5chU9Kxiweqn\r\nTbhJt18P2zRnRecqe6R7nLQ9ECxg4V4BH7/yDc0Y2O0bGpJTSSwMU2qIDWTy\r\nErkZ4yZ3zavBW4HNTfmHQNTEVII9JMN9FaYhPaLa4D9GdZ9eFvO0waT3/naj\r\nFwsLrSY7jM11QlDrsCnjkYjZiXzdPDFQu8lVTXExfhTyucYasbZkCZcREjrL\r\npgAS93rkrZTBx/JlrmgW7cXAgmSTe3/2piGDq4WuSCvGOHbd56XYtb9KtT0/\r\nRpe74gLkSkNJ5tZWv+UJF77UJZzqU7cuzdo=\r\n=ZqAO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.21_1682120177825_0.2538205119000829"},"_hasShrinkwrap":false},"0.7.9-nightly.22":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.22","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.15.13","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.7","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.22](https://img.shields.io/badge/version-v0.7.9--nightly.22-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a5c74cf1192afcf360ceda1f3d460425ff4ad482","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.22","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-mbwiRz16vr4I1PjI3yaWkctMH1cBeY2aCwDbgCg14I4gXaGWe+6948qjaIJh/JDt3CrKzIPuKs9CCJ+q4FyRmA==","shasum":"a162dcd325fcb88ae6568f220fcc88c60007d487","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.22.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJr8T+2rP1pNEy/f96FhtjoGG0J1+24C6sGp/u1xqjxAiEA53tT8VeKxsGDBd3EMPqCriR0DrARA82hPffzqAGMhRE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRG9PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4Mg//TI41UWynBDJ3ZK+UU+ODym2BwH7qdXosqd/Ymz6vZ39hsXgL\r\n+f2sOgb91xIBWg0bXiHuh1JiqhmT27AIOm6r/uCKRpEw6S6GzHaq3jGFY3gM\r\neU/izoWrOsouTgBpnERrJTbKtjRG4vNPiHnKNku5rrYTK2fDRCsXY8CVyf6q\r\nYq3txCaMsf3cJf/1K2jMskebEK6NExd/UvmGx2aHp5Fx1wdLT39MNa+ajOtz\r\n3CGVQZPT5Ec3DPxvHTuqdcS0cZHQBxip1f88mqCtKJnqcPnhwfkrRJs8bVZ6\r\nRIsW95PvQid9MrY7RZzgmKg7dG4kUpwc8Z3NLtzWcHC+PvI1/dufXakGAKTC\r\nCjLlwVOhA8FoH3FI1nx0+BDNyhjMDKHpnXvIGdbfCoJASdd/DKom2jWD9SeN\r\nDh2sqBZGDlPEMwy1o/EyXVhzJBA15CnOBAnBcEk8nHOLn/QECHBzULtExgzh\r\nk5T9Xsx52UK+qA0El+a7lJl4tV4QbIljsg1MBAJzq1+t4r0pGfUx+imZATS9\r\ncB3a2Gbo2j9oZqBIVsSWPNNy4AgbOQlFEL1UOWtzE7PXNMACWA88NNQx3XFV\r\nSG9fK29X9J2j4H4NxvxUI09exLh/FL5H84QdFPUqGAgYPqbBR52nPYml3Y9Q\r\n8BLAFrX/3HSXvXCJy0F2Cgz5MMAcUtDmIv0=\r\n=q6C1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.22_1682206543709_0.8763477450138781"},"_hasShrinkwrap":false},"0.7.9-nightly.23":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.23","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.0.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.23](https://img.shields.io/badge/version-v0.7.9--nightly.23-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cfc79084fe9310569c32c28c1f6e39470815d647","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.23","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-LVPneELkpEprmq1W4pt16Lch1eCUKzZ7STmTxl4tmAeRuf4SLxMbFlWP/dHezcwGgjAN1fWo/yi/eHtZBf4k1A==","shasum":"77e5447936872db0174c4d60ad09d3fb06c15932","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.23.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBG9Hs+GQ7YLT53jqKdgohajEY6tkcamAn8JtQ1H0gpYAiBoQPMxPRtcqDyNbAFUzGJGSCU3INGn271r0L+fK67MdQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRcC6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphzQ/9HMM3bHeFyX3umt6C+CsCbM62ByRu9ctVLmlkDCmUo/b7CFI9\r\nG7bPtIpq01hDTsOrgW0RvaGCJDag271dQz23W+JUcYxClYTqSGI4Se2CPBxF\r\nsymcMRIY0SdiibdMh1/rNjWbqpPFtFfH47Ie+Zq/XnMz7G5RnYSYh9xrCnCS\r\ndY2WJg/Tg6WGRJpgK92ixmbGQ0M6ycTpoQIzlwyVI3SS4vHUf4nNQgfQI/Cr\r\n0fAr3MbkprHiISbA5dL6K5m7d1SsyZ8xZ5Rc3o+jMJf/MmjXDupd578IBQc+\r\nAYER5cYoLFKsdRtStolhfqZValWBYZE1ZG14VHKviVt58YWOwfQnHMGQlg07\r\nTBWBb/jYIQcf+yYhplwYptcoYJHkdFfagX+fW/V16uFRpn8yZtHP9miEQ1Vn\r\nlc/KKettQvwH4fJVzNoS73EYQJYFYOf9+QijqOfyNL9c0WxZYHuWcuntJL+3\r\ns8S29C7umHxYC2Rn/TxVVpVHpm8SkXXWOVbjaoYXsOAswXtsY5wzgjjvTOoh\r\nYp7mXHmh4vwfkdHw+6JCr4irGUWcGkmJ+f9VeU2uWHUIqIP7vwE8UZk7k2o8\r\na3xmjYhqXd5JJv7bE2cygHPi2+YA3UFBBPAWxfs2AwGs6TuQTcxIR8BMYNUP\r\n0RrzdqrqG640CKi9I+vjCu9SDQdQzkvEDUg=\r\n=4dhL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.23_1682292922071_0.16290411919963899"},"_hasShrinkwrap":false},"0.7.9-nightly.24":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.24","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.24](https://img.shields.io/badge/version-v0.7.9--nightly.24-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"57dd0a5e5a12c59eaa9c60fbdd069f5e5299f037","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.24","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-DbqSPlFc3guOqaLQrY7TG9A9QpRfzjpBunyjvrIBNlSRPCSUM0FHpO8jeCRVLCPuTAp9ZxNf0Irwvsh/kZD23w==","shasum":"0687b6f94d8868604e1df9909dbc4a366121604c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.24.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEY4VcCuycAUBtYpUfm4oHkli3UiFdEMd4tFuheFYfdSAiEAh6vr4ae4Mq2/Xq7wstNd2lT7+VGlEmfC34BHtQtuOGs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRxJFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2YRAAm4Uf5Q1bzKKyWwMcBLfo3atrfUn/XHwsUspkw02qFKOeQYO4\r\n1e8u3vi0IX5XO3sNbdZQOkSlYouddYmqNACfjEZW7RNz+OoMsTzk3cx7a0Mh\r\nu2dgUe9IUVk5P2QZSD4YuNvw1zjJ1QSrRGU9bD9Xql9iizqXAUYy6++QvugU\r\n7AlA3bX59zqWPronW6entxjVsnjjVPDX2BqyAmZl/6CQnZJQXz5+v2BsgaGE\r\nwDsPvjqXFzV6ykBr8JY++oKRUvnyoSAnnDk7PAqJvRcCrZgQyDxj7HPR3cp3\r\nsmPy3cgmh4gOPcxmnUZJzmnrHxBw6GhCDArfNuEDcZmvpqTyxx9qm/BvsuTS\r\noslECFuiT7k3X/BXG9cHulFtryqPjlTb6E7nVTVF4ZGm6XSS36C2X5IeeNRU\r\nWEDvcY8FhLJp9fI8eq9X0qsRpXdUsjM2JhfgIcf+om8JpUeRqTDNsarRSxEo\r\n3KS7uBLVNTcuDmEs2CcmQcQQmzZ/jEoxe4JPmHqL3jQdifkw70Pof67Fwekx\r\nesGEQqM8YSHov8HmRkglNTZFTEWNCfkBQ0JCAcHNK+km4dgWSi0NTnluxryW\r\nUOitcBWBDAAtgDnJRDZAqr7//5SUyqiOJ5rKyfd7keiDw1RpWyULhSdopxlm\r\nDiZEOml9aMEw9GQ4Y2LBJDZqEao73gcjw8w=\r\n=e2Wi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.24_1682379333067_0.14155745100311168"},"_hasShrinkwrap":false},"0.7.9-nightly.25":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.25","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.24.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.25](https://img.shields.io/badge/version-v0.7.9--nightly.25-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"39b27988eccda473d49832c6e0c2c7c2b0d901ab","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.25","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-l3AAsZd23LHxOiSpBW1+Glq+7X3CEclOUGTfQjcEIPV++PFWX4EAWE9/B96YPTaCn/WpN+ELjVRUfRB9Cp1rcA==","shasum":"7630fe27a534050e1ae32a84e2e1f6bc812a3c9e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.25.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu6qKej/rRWRg86pWo0QsCik6GrYxYBK12ILS1irshsQIhANlpRgeVisw+PQZXEadiG20xyiuiOpuw14okCqo3zslS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSGPMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAlg/8DsiN/gwQNJgLCxFEboDlTzIzyHF/YSJ0vQ4C2jP+7ZK4uBqp\r\nEHeGyFuInvlvWR0XyLOjUKav0nl4NZuRT5QpQmyQZg8T9USwvbMUDAHjGScA\r\naTdPWVilg0dwQ8IwHIdzOtPGK9yMf9G/3/QZ9mzDsOGcrXB+Vs+g5nTaArmn\r\nvXPV3lwpErw8JA/q1u6hIuEaGsGV8SdGSJCSogFwNNuYJ9emIbqjsmrPznVp\r\n5/QLWAo0kQKl5N+BxuBi5zQ4o2LAg1NniV3Mzwu2iVvxSt3cWanlrO74uKL0\r\n6lrbEoy0uMCveujMelYPY1/USRaYtD0ZX9CviRF8DK+Bc3lZxDNFR/HpvUVr\r\nK7nIh54Pnr3vjQnVe7I5tFWk2IGVsnSHLlaatcWN86jQRbPi35IBYMSD0OWB\r\nzkRi4bR5TnpMhq8m7HO3GFGjkXOMvUeym4pAwwT7kQp71HCQjiNEQvZBbV6o\r\n/AaPSQnoi6f1h5ZeSopR1+6m5/V7sNniUJnTe0bah5VxSUgu6HJjsoLopeml\r\nT5xbLXHWeQEb5heNypKqBRgN6Rq6bN3GJ1RK50uOrcFwEsYQ0uxXWiR/EiwX\r\n4yjXvpkwClAaqM1SVBUHpA+SCCm1+s9XS/TM+J77zKO1Fou03BDYX0nbmmwo\r\nQEL16zDV2+/7FYc4bokM6aT7viQDxUiTBuI=\r\n=DlI0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.25_1682465740650_0.6792999289145072"},"_hasShrinkwrap":false},"0.7.9-nightly.26":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.26","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.1"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.26](https://img.shields.io/badge/version-v0.7.9--nightly.26-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"4ff3b72548830be0419aa7049cbe972b1162ea73","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.26","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-oEe6O9RNMsSQOj8xYEVypaQPduDepl0h2SCqbqlftvDtw/LME13xk3jHSlXXnefzOB5yS/kVodTUTN4MtY3lKA==","shasum":"9b282018baa1c49ab8ab83339faccebd504e722f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.26.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPvlSEOAjpvPR+i/f4EDdTQkEcp6rKOoyoSEOfmtzK4AIgFHSLWAjWVrFgOkHSJr7LK30zFyuyVKUseX3oGScr3rA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSbVZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnhA/8DfvyPURQw08WHaxDGeq9zyKYhjKc90vUzpU/aazp7bPVKK3T\r\n4waD2YbRYp1c+856EXdrbX6nnb5mN1CilynhG3eYB5TChm9lYsZa+wjAdmkk\r\np5X4xh2ZUm1R7ik5r0X7GMTljGGwFkWzNvachw4QBMsU4AOIFhub855EV/d6\r\n+9RPBoyB1jFIW7lVzzKQfFjeQm0TAMzdDVUYbgM/WNkbhifw1VL2sV4us+lJ\r\nou/zI3obKIQDl7vLd9V5fqrq46F+rcNlliEXj1krcA0ZVFKM0cBiiU+RL2Ja\r\niomQSQE1EuYI5uE/MS/w5ItTEOKLuQ/aLHMuV9gbKH1X+j0XEcsOyPe7lyip\r\ndpHFoyxQp1UVri18pXubCMoT3qA+Vj43aMBU/FgPbGCZ92RhRUprfeRoQHO+\r\nlnkz0ILWmX0oeyEPs49XpBAtn5h/edNYUoMKqamWuTywOPQ/ZO1tw9CbQRcs\r\nfMTiCLZ6f79Fxn29ZU9f/wj/dCYSF4NpPIBbz3cwgVE7cbSYkKhEWUr+BdH3\r\nd36T3x5X+2vNT5aGrhxZ46JtAWwfkjyKgQ2LLUXzk04Ql9Q3HGsW7TkA/RbF\r\nZa/9imL50EPCvyY8+fVezTLu8PVStWtLm8+XMTpyMeilmUYGpJkR2w40sAKH\r\nBmEhqjHTGt8qAO1H8XnKDwSfgPId+bpu/qI=\r\n=HwA+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.26_1682552152787_0.4257613494551169"},"_hasShrinkwrap":false},"0.7.9-nightly.27":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.27","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.27](https://img.shields.io/badge/version-v0.7.9--nightly.27-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"039836f8400c7e1003763a4b889219a77d6b618f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.27","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-uej8N11es2zK7ak34+KiF9qGlGok5BqosDrCLXV23wSN0DJAe51/mH0cjCj7KybsT0CT7JqiAyBWaGc8iNYtqA==","shasum":"6c7f3b637083ece6c1a9cc5d14ff82ae9131612f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.27.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/CnflNVulpkFn+R8HqDn4EI8hL8R8E43zPBLzta7mfgIgddhwHD3/YTgy5hCvAjG3BDlN9pNW/8iVxCFZSNv/C7I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSwa7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYNxAAiNuSbh63btrr6p09N9FjZDT7qZMXlP+yaWrqGNcftHdODHcX\r\nXWnS3bnVrCxlHkSsfstDePH3NSJ4vlNX+/FM/bYZSCbY7mAce4No4EElPyCp\r\nfZOy1z998/I1kptX08DXqSRg7qJ30vv5aZ91nJ5rXHifoWqWcKf0HR2Etsf/\r\nNqOLDShlTQr88VDfpiGTgrSPgzMWDKgBi3sErrdY72H6NM8eQYCrDdolh5sE\r\nXAlKc/Oe0Uc2z+1Q+ojmsOIjtoVAjbYZXCrxPeC8fe6Zh7MiibB/Pb6wPGVi\r\nGKSTJjBVlCoSgxSO2V2PDgsR1lCagPyMpKKnWgV1yceTW66T1TrrJrHSdb1L\r\n5Ha5dFH5TWIB1KmG1Y7VjLkK7l95qsmsGCj5Ig1RDLUwra7JZFgNhvePtEXk\r\n9c2+Mj7MkfYkpoIKXZHNmTNwLji2kGxEp8vBSV9YgryCcxtOxGDW2V63OhAS\r\nSP7uN9mbqpSTZ7h1o0iNyZhjs9QaBL3FZHf8QzSLG5xPgwb25lsL7CryrUhh\r\n60Arq9wawIbgxh/YBPHEryaSqgE/LYGmwN9Qn4gWYJQsBOz9zJsIenMfIrCw\r\nC/dZ8OgCS5Q7umH+nXRxxoLQ+1USDWlTcsqhi1ld7OabcVmTFSqMMkTx+P65\r\npKTQT1IJMwtL8VtC7HNUcKcU9Ri+c799LSU=\r\n=XtsY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.27_1682638523004_0.7031273934655735"},"_hasShrinkwrap":false},"0.7.9-nightly.28":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.28","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.28](https://img.shields.io/badge/version-v0.7.9--nightly.28-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"49578940dc5bfe55ac2400d25933666379826d1a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.28","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-EqPqE7aCg24HmHV4sHHjNjNndU/n8WVL444M+45YTcR6ytH/EL/jlVGh9q50snoBmpZw+tXkxT/bf59k1d7W3g==","shasum":"fcadfff042a0ebf4845d93b62557502beb5d7294","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.28.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG/MLT/y0j2+uKVeVTp4YePgWxs84Ljmini1EPFUrELwIgLrCWE0RA+x/C2X6AE/iKedivXqygliaIgNoJuYMDW/A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTFhSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMFg//RUwlLeMKfitYNy/z/ypWAFnwRd4HWmcNKSVGGEwaNWYDgQ47\r\nwYwDnZu7cFGR3ZiCWNIfwR1yGRYMe0Rlugk5KSSbrcV1cxCtH9aUZ/58gEGF\r\nuQdogfEkEuTBTHDm2Q5PoCsD/hk3v0hsk93V9Atu9Qc1b7FoRjJwhNNx7S+m\r\nOvzdNxctUuaGruZ5yQEGGYGyz7/qvAYpwwxyORFrkT81LmaW9Zu0KqskxdHv\r\n4juBUgsHF7JH9402KChvmLRoJjpuWN0gjtz6nfY+Qrj7QAGQ4X3ZVmPMft+j\r\nRidnP0/8aja6D6sdvB+Spj0OQKGVVzQ1vbnBrXBwTH15Bm3mB2DKX5u5btEj\r\nT30/0RJuEO4/uPGr4PFN12tbqaV3KPTKBegG8L/o7xJAAIxBib4QGhv6QDm9\r\nReUE2kSp4DlHKD6LLCOHvMd+/MuIksQxerkHuQsse3IEFtAUfRHD5SdjhLd7\r\nmLuKSrLM/YfKbxLQXvpg59LB8RFU15v2/SLY43+nEDSZ1N6noeHS0IzL6hka\r\nP2DAnBdEeDbSqK0dX7URi/y5XRUtR06p//66oNORJokVLcc4nf3Kdp2iLdkA\r\n8Wo6T3oJifL/meeXdATEN0ep0JbI96qON+0PhFn40T2TxJVD9pqVBj4212GY\r\nYnK40hqZcY6WWj++q+p1sltLfS0RNqrRX94=\r\n=KPke\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.28_1682724946183_0.02959373252312969"},"_hasShrinkwrap":false},"0.7.9-nightly.29":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.29","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.29](https://img.shields.io/badge/version-v0.7.9--nightly.29-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"dce5be74ab379828e4911023194f8050aec0a682","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.29","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-eCf8uio8R1JrhlUZreCCgDLGwEq4T0Mps6J60exP+vpVnyk4jsS+p8N2LgUZ7bj/THXg0+5FSKZDceR0dTGiUg==","shasum":"f8078d7ae76280f90438ea02dd96f6a40a47ea56","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.29.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOSUbmiwyFFVHmV5DC1Ld9itjHAvuxBMC1UeP1E75EAAiA4K5J6RqbQ2gdrFBFJhsqjNLbnmnpEfexgXqNn6vyuNg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTanLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMPBAAilqrKMCqIL1ZzYHFiMZwSTpI6MKUBVp/Ri3J+pYMkLX5gYLl\r\nRZT1W4TPg+ckjmlyg1+t+j06T/TdKZu8g0f0SjyFHbhx0XcZ73Z9yyS59Nwl\r\nyYZde8AQ+SnumgCR49or1U+IOxhjJNuWL5dzEOfTjd1MNrHwi+8rgNn2fFrm\r\nE0nOQsh7Nlq1aXA9BauBadBXvteFsCQOMKc+di4C+N5zeX9n+8Tp0chr3kHb\r\nLB903t38TIoB/af3/0e/CVpaa0dvGBHq3Sdx766yNhMEv4PJfXyXPfUBA/d6\r\nqNlggAqmsEa2RRxtx0ssxjh/Pn5jbQIVlpMdQJSPwcf4OEbrcNtmHvnJCrq5\r\nz1tQVwCjtuV+G+KYA+xvKnrF53J8ifed43cgf8q7Bj2AV6qG0lCyCjO5ydbG\r\nxYqkq4/l63hgRETcUFlNmeWvub0MnAvIWxq4+AAYb05p6NwYscZUUhBlkHSq\r\nCeWmHoKEbqFuqrhCXFqZqfJnuTPVcxhkzP8PnQs8GhZrH+Sj9OnCKCR045qv\r\nZ3MMTMjy6okN/0E90o1RJim0V96FO+EPQyOo36ZMwifrkKO5Bt4ExCQssnvQ\r\nIX/NxyZKiD3E0K4cad1HiQCTeA4HdcdjJOn8XroWIfOFyjK0tzE2wIlUrkPR\r\nEoCJX/dqKNh/+j/b56Tl6k1OkmvWG0I5wII=\r\n=q16G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.29_1682811339534_0.585718202359407"},"_hasShrinkwrap":false},"0.7.9-nightly.30":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.30","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.30](https://img.shields.io/badge/version-v0.7.9--nightly.30-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"cd857d9a2df4be3dd9e18a4bcd2aa60a736a5eb4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.30","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-p0OimdyZrHy60o7QTv2P05JyqYUexllXMITovsRVD5cLv74dGIxY8eP0/+5mS+gWel/bCXio4zyYmMi8vCgO3Q==","shasum":"f915c088cc2ed204e80919b08f5cb36a4e4d2095","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.30.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS36DRjtHy2zBsJaVkyfYfqgE8WYLAkFo2QJSQuBT2WQIgQqPD62fAlsacfsPSL+bOrfJLjW8UKwnnspwOQAs1iGU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTvs5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpttw/+K+6eUZXMyHZq4gHeLleTGtnIGMzioyunA2kNOAqSQQBxZQII\r\na5UeLxAAMuqONRwMXqwLjztnvbLVk1dlYX5ZSYJhswnP+0l1Rf8mDoy/0woD\r\nSAPtIZYyZbbz0GbkPUgYJY4+lOzyPl8t6pUCyWGf0I4VfkRRSvxlhJT2wPOG\r\noPwmbMfePuQxHRNgN0WlMZOjXC7Cqo08gafKo1HjlmAZMSjibKL9cyRFW7bB\r\n7JqvUPoyinCbMUWJLgaz2BKy08Tl9+rICZhBpcTCYyG6MWkuFk/lc+CXqc6l\r\nq0L9LrUSstEJgbsWrlxUxSnL6QB2ZvFLiwMzOOOaDzGGMTUKCmGSQEXVy4ax\r\nAW/sv9rytfmBy5xUULDYe3yk5wEr4if1hzWWJnSDvGLkgxBKcwwJokYoKKcP\r\nenzB5sXFyQ0eUg5xtSMGZ+1T7x5QQDhySEXwyFm2k7iSjuWoug/u6eSKHsdV\r\ndYYx4iSqJd3FN10wQ3b3mLzjlSyzlqQ8M/kmiw47PCDaWOCu05GyXCHGl8PG\r\nHC9vdIh1zJxQLyO4BmEjpwSu6ZfUM7ChiE2u+UUQ7QHSQvn3XALPjaypdcNn\r\n4gLTU4EpU/qUP4ykx5nlIEkVv0iDXitxX3pHINNAc0DjnkcNx8XpJXTx0H/p\r\nELcbRvjL7xWFw9LjtcjDgym9lWZyIruVlaU=\r\n=+HrX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.30_1682897721461_0.5923736184118493"},"_hasShrinkwrap":false},"0.7.9-nightly.31":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.31","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.31](https://img.shields.io/badge/version-v0.7.9--nightly.31-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b8c66e7a61945853728eb030348c7c21206b2875","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.31","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-jTNR/yfwSZeRVLHF+aW2BSWIiWNWWNNasq4VQffXhoj1Hi7cHtuvADc30f2MhYwZj41kPBwxQrmqMa2HkdKKeg==","shasum":"3c12890c66f9d0621e3d4a844a04402a9c1ca7d6","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.31.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtIqpMCItm0lF1lozD7R49+oEFM1yuYb2e0BeJ7jtWcQIgQlGq3hcm2IuzLFNvlfg0FrQLc4UEhaDLg31fbv89eSw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUZ4zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/oA/+KpVb786JJREuCgFC9hgMwbtSE5FzqWkCFoRdL5atXARSQXcN\r\nwtO3byuJbVLtV5KWMsFlrfnDWerNbwHPpx+vSAbHeqR0ahJOSG7/smZzsoaM\r\nF1Cx2aPcPI9ChefDodRvKLnnmDKDf5wY+nJGfppEHRQ7Yal/l1HMfIVHeuYL\r\nIE9bXsV3gcpn21e7mLMPwZXaDdTjo6KKdxb4RfvhQKaoWpl3X1nLBf912eIL\r\nuclzd421a8V4W1Pl/FlaCu0770K9FF8thqhB9U+s+lI+PPblouSWskc2QHGY\r\n4VFx6dKHFeueV4fCE8C7m3FFZF93sJQIZvcrn1za6WaUcOLGWq/VJjJok9ya\r\nDWUj5R7v6pLPckTSf4BGijes8UdD1TCvcqXjIoD3lclQSlU36ebowJRyjaJX\r\nm66R7N1TjrbHuVFB0qMb4/5vyMr4z+zQWbPSl1YdJ1MMSMS5+nDFnqVUnip4\r\nUwlM7J86MVYvA3SCazNAN+P0VrmsinQgtn3CZFIEYr+UC0tt5NWaXIQflK4c\r\n0LfD1v0hblWKg02TA7eMZwKBluFS6rXaj564eXv3ubuhpd5/4uXnPLua4dzW\r\nXFn+jRyauiUQspz2hGvb8w3GI+UGElBSC8oFR1hyEfAn0SSgY51cO4OgWDAk\r\nh8iDMA83g39W4zRQOo9CKaKbvTGathoFhqQ=\r\n=haaE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.31_1683070514909_0.3607415619265735"},"_hasShrinkwrap":false},"0.7.9-nightly.32":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.32","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.32](https://img.shields.io/badge/version-v0.7.9--nightly.32-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5a48011dde7251e792262df4366cb9252ba7cf30","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.32","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-vwwj2WVmirv9xQ0ciDiS+xsbt5S16nx9uLyBc7jDBax/VHNlJhnQ2fWEy6/vWxSrRHsMRNWVKvBws6X/ssEoow==","shasum":"280fa4aabe0cc6fb696ee8389fa00aff215f474d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.32.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1q1Iv78c+8hSd/x6WbbeuXCKlDs0de/jGl4aVBXU4yAiEAuJ1c4MsVQv3TLq3y7pBzYXnmoUlyHyJCrso3DTGBt/k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUu+zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrgfw/+IdHHAzVi9nC94/WTEDRCmQzd7CTKyxiOf56uoQ5qQ0tUNker\r\nidjoLSqgHKBNK+NS1pT1iSS7LkAin9qbKjzNuBen8c8l/b507fcUz/joze9q\r\ny59fBbBPQGLlAn5Pz490Pzqn4W0Kmnf2yHvxr0lJUIEnFSHHXoMSsTz/l4qG\r\nuJSBoO8OP0dnSdbjT3A9uQpqfF76A+ClQAAKRmpTBjoKS48ijim0jmum20nw\r\ne2EherU+iwAN9ODU5Tw8OHj85ISBI2hkNKoUguHQ9HNIhm8s86LJSddSEWEv\r\nj1jhcBeqcjVS/RP+yb3z4Bkqw7uJxAjuoj3q8WrJBL4JHoBWz8DLFm359guQ\r\nXZw5jAFPiNLL1WbELs2AUOtLaQnMsVLIIegRUy+C9P+CF/L+2KTgGuk91Ot6\r\nz4IZ1FaFxHqWqNqWYBuHyPePVr3XBTOSKkTJnLCBKib5TJ7esQOU7cybUaqh\r\n6xfeJ32v0SP6A/Rz7dwM5ouifbKrxw2kBPBA9wt5fG0wn3fKr9EgHhYPwtKT\r\nLuC8AC2Tgh6dusrl+GL6slAtnAnrS2IJrCYd6wZDUMLik1Go/gpI1+1gXOla\r\n4DH1Kc67ea2Oho7anBmRn4klG5M0FwYpqUVWASLe3z0kGlQmCBL4zbM9KBJ7\r\nX2J6n9nYaqJaCrjKFtEXuojf7f+fRTvgH5M=\r\n=3klJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.32_1683156915673_0.5781816326779905"},"_hasShrinkwrap":false},"0.7.9-nightly.33":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.33","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^18.16.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.1.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.33](https://img.shields.io/badge/version-v0.7.9--nightly.33-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e5301f648887161975770ffe638042a8ab218cbc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.33","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-PNzDsqQrj9rh/V6WZmM0W8aaqgEtXII07ZBrQ7LtloH9iroB5Qm0aBz3BtapO/j8pNcowBMbp17WGc+sFZDmFg==","shasum":"d01325c1fbb8957dc9c5854548daff98ea2213b9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.33.tgz","fileCount":10,"unpackedSize":32160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiFoSGhVzGW9pcj2AI2eUzMJ2x255lnMwdbvXVQBo80AiEA2Cja0LrjRvkTewlrBwnzGPUGxYdqWtW0UNCdBb2PQuc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVEFZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqolQ//QfnT1P70d74YWym0zGzvCmGO1UXDnKGhGL501lZLbgUOFTit\r\nWZjMd0tzBbwVJIUUEq6b603je879h6SSduMlDBengI5/RtCyccMeHcsoBM2Y\r\nYZ6+yUkagDuxGF1yVeaCNelzkc3OkiLHv/WQ6b/z6MsXylA8inFh2U1L8IX8\r\nMVYu+c9TXUh0/2PA9VuTmYX3OTxHv8PP4apa5CWJMMNT+MwO1KykPREGV4Jv\r\nKas2hblOGS1Sqy2pHD5Kvt9fSBIh3yjPYBOnv03tLYKaM5QSSAw1FUY+vXYa\r\ntw30IOt9PyQgsFpoINHH7gyWMON0ijrLeIB3CTLyIVC4J/ObtYkaP6pxcZou\r\nRLUPmTF6yCj/dC8W/CxIyEilgiqFzdfOThS5wyhwwP76iva/sX5UuAkzAtQ4\r\nGp2OqRerSGmF5/HXnb7AU5JgO6XKrz3sJvja7LMRjy0jexYcnMEpQN/xKg+E\r\nSB3TRsSQ5gqVPUjwPOWlTsu4IMEc89Iv5G16YxFOSspRyyZWnhDzxjY9en70\r\nGimVscCxzHlZEgjEwhNMnkI+c/Th8qAiT+XwOH2u9/VYOuxXhQNkg3/iX4K9\r\nvxqmlu78drGhpGDoceCxD19yff7RiRFt688nfuXm1bMqYXHvU0w50IH8JKSw\r\nWLPHBFpF4wfaOb9FeUUGeqtB7Zon3JTV42U=\r\n=Isq7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.33_1683243353236_0.825154441865324"},"_hasShrinkwrap":false},"0.7.9-nightly.34":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.34","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.2.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.34](https://img.shields.io/badge/version-v0.7.9--nightly.34-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8d2aea700be8f3ffb89be3896369797d15499eab","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.34","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-b6940M0pL2ioGXZwglF4mkLoOViICC9KBG+o9iHyh5PirHtk/aIeW8B4CgNlwEsjoV0+mOWAjGnDxIIKcp/9DQ==","shasum":"3fb89d6e4bfa54386eee6562f9448f030e475734","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.34.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnXEsqJDg6LMdhtsEZBguNr6po5mcFc8chNVYV7FuAbgIhAPPRQ1X3QQq4TkhGu0KWyToiRzmm9dtTa+IH5+x8YnyE"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.34_1683329728559_0.914078342650168"},"_hasShrinkwrap":false},"0.7.9-nightly.35":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.35","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^43.2.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.35](https://img.shields.io/badge/version-v0.7.9--nightly.35-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1e4b2243941e270e5951da3828006b68e2bbefc0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.35","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-TfEqjIEj393C3eeLV2PAzraoGd4xkJDybog8B1UCEoaRsyLNZzOPUsHB1XTcX4Aa86l67zWnJAuBWC28piFcZQ==","shasum":"002ba0524502bf28c0355d16e7658c0b96e536a9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.35.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiOi07kOr4MOz1N5yIoJr6+Z+GwtWCTmLKYbVjXzbyfwIgGRS+p+OPiBulU3RxUiyh8+KxAFfDK79yurCmsJbg7ec="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.35_1683416153090_0.18990884091389115"},"_hasShrinkwrap":false},"0.7.9-nightly.36":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.36","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.2","@typescript-eslint/parser":"^5.59.2","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.0.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.36](https://img.shields.io/badge/version-v0.7.9--nightly.36-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b3dbd70c5db2275c770ec00ec895fd6d264be635","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.36","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Xu1E0qLgcRDWax5sH1wRnUrxT2u/UK/hQlZlBY2vWLP2EljRmQRyQtVnbfdQYbBkuEn8vZZ1Cz/2Q7JEF4CFhA==","shasum":"38637c78d3754936a7e1a606b69dfa82568554c4","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.36.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFBlWeWWBXZ4xsMbpxyMBcJCP8VMrSQAZ25cnHi71eSgIgQCRBWxA4f4Coonlu8X1WooF3dnBPhKiWSgWPBsDJbS4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.36_1683502520895_0.8776708343085633"},"_hasShrinkwrap":false},"0.7.9-nightly.37":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.37","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.0.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.37](https://img.shields.io/badge/version-v0.7.9--nightly.37-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a73f645dda492515d9b9738acbd2ef9036b0199b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.37","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-mypJMWyxg03h1ltULn4lmxvyMXadrthJUnSJ7P4qL70svnDc7wrJ5lwzoOa+YJSvA9xbz3vqGy+EuNuOD62Z6A==","shasum":"4074586278850eb6ff63ce76182102a01030f80d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.37.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjLKCWKLa7WOBAzWGOW6t0f+MHbQWx1v4/rWVPChn+jgIgKUg9cAJGHTBNl6UtG4cSyPDEr75Z7kvR/EtxJOmp8j8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.37_1683588919907_0.8348061793119967"},"_hasShrinkwrap":false},"0.7.9-nightly.38":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.38","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.1.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.38](https://img.shields.io/badge/version-v0.7.9--nightly.38-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8668bc5d70d87f88a586cc8c9a4034ee5f5f47b6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.38","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-E9ZlJREJcfujQvCEglFaik48ZWB30h7Y6aP+SpPUKolBNKKuBSJSxlL9GJ7eZxM31GJQl+D22qNEyQq5rZlybw==","shasum":"b3237d85d44479c968c10b3b357f030743b344a1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.38.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIX3NjKHS0h72be+dK10k8ya2TRv8jtrQnxuVORoeuMgIgZCi9VR/1OtJGT524InGGCfdBTu6gmZdYvTsPMhAxfKY="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.38_1683675323164_0.46086348575658564"},"_hasShrinkwrap":false},"0.7.9-nightly.39":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.39","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.2","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.39](https://img.shields.io/badge/version-v0.7.9--nightly.39-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"55a4da898c2a732ca002a484d700f6b01b1a7e39","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.39","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-/Gz3K/OsIA+BVAxBFQYeLTTRPx8EBw9JZ77LjtDvcg8K1AhsV1N+EZzP0QHBmfm+HHqSymqPMedtSmqN4x/Qhw==","shasum":"046b36fa354aa5360a57e039101c0b033e52084a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.39.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRjW3hAK1I/MrYXJpwo+/9KLjhoaqvsdmxWvOGcqmFeQIhAPOauU/DY3mdv3lK/Wb61AC6KXEMtvY1MTxQs+DDmg+z"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.39_1683761737973_0.33062368384429486"},"_hasShrinkwrap":false},"0.7.9-nightly.40":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.40","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.40](https://img.shields.io/badge/version-v0.7.9--nightly.40-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7728d930b86f6a090d9a9ef43f28221be002a541","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.40","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-hJM3dsBdTDliUGCJ8oT2EmuKXFA8yv36hzTl6gl4VLHdweHpCVBuz8Pt3aAXj6MYG3mIJh2XGKY/EBHZHn5cpw==","shasum":"c4146a222a3fb8f340413b87b955ee9b015e2718","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.40.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHqRaBbUEtL/GELnzS/lAGN1svYofgGnhjODyciePA9AiBK9w5GjEFMIyxXRywxMrEeUWQ8CW5BAZbyoDICMcbVdw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.40_1683848117832_0.5140304115809324"},"_hasShrinkwrap":false},"0.7.9-nightly.41":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.41","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.41](https://img.shields.io/badge/version-v0.7.9--nightly.41-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8612404b99486bb921f4afdfbe21f62a461f10ee","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.41","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-mhqHMEYBuJSiAkvrAh+b1hBzytSPnBEoFXWIaKStdwqJUV9H/RY+wp1F115oTHH6l77HzVQFnyZdrLBg1JxDeQ==","shasum":"de4edc8cdbbda3871027808a31ce5cdb90bf331c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.41.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqhfHSerFIoyhYkcQ8BWz8L2NP0sg9cFmlIrjV2zG+VwIgYiL3srzMB0GMRnhvRixv1OuDIc1I3I/J7pdXV+s6xrQ="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.41_1683934521114_0.45653494102340453"},"_hasShrinkwrap":false},"0.7.9-nightly.42":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.42","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.4","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.42](https://img.shields.io/badge/version-v0.7.9--nightly.42-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"7a5f2fef2e2ff37aed04d9a47df16e7ba7d571dd","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.42","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-DAzezMP9/OGOSt1tzs+iEiFNYTdqPkkEp82nB7LBzjqZtHLxaUg+qM9w66DY4D9qEL3tmknpxp58eZZL40JZmg==","shasum":"4ef7b7b178613cd5a7f41c8aa5f700cb8e89a038","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.42.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0KKS8Yy+dUeruVBeRd1Fya9qMGxfZs7wa2LOX0xTYlgIhALKC2HeFPPpC/QLp3QJzhkW2cx5MgzbnwkJPSMe7nmVN"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.42_1684020922908_0.7411441701584531"},"_hasShrinkwrap":false},"0.7.9-nightly.43":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.43","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.4","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.5","@typescript-eslint/parser":"^5.59.5","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.43](https://img.shields.io/badge/version-v0.7.9--nightly.43-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"40c7dc461464a8ea522fdf99042de4f55e130117","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.43","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-QexZJzZylEnmBxBDAOAVcM2TsniHIflbCkKVGDRaRQlMU+w4X+vmf+DC6EaN5NZfXTSf6knPtypX67QoZ3y5Zw==","shasum":"e918d240885afa4142d4a3356796122f44a499ec","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.43.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFeE2HwIe8tTFUny79BeTZCj1LpRrTBexED7n2Bvsu4YAiAxiYRpRp6uGSviWMzOg8l7e5qUf95mQ6No8p23vemzdA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.43_1684107337991_0.45813633701180945"},"_hasShrinkwrap":false},"0.7.9-nightly.44":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.44","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.4","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.44](https://img.shields.io/badge/version-v0.7.9--nightly.44-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eb955d732203614b400ff702420300b52539c998","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.44","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-J7deqDnZLVt3YCIDhYs096jJ2kldV/E4OI+JBPUi5rwgZ18plc/V6aWaiW8dbjqmsIK9JDWYazSoOjaOQdDoeg==","shasum":"85fb26207d8929e0e88ec6a693d3de39acc02a8b","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.44.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgIUvnaZy2sqABPvQBbAMtZYkYjO2jWGgFy++ZUVTfUAiAYe3NuJx/wXfMoCT/QbPHTLSJlM6au80WGm2YLkaXE0w=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.44_1684193723044_0.5770126286040711"},"_hasShrinkwrap":false},"0.7.9-nightly.45":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.45","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.1.7","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.45](https://img.shields.io/badge/version-v0.7.9--nightly.45-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5f5926123364bc415ebbd9e3a98b57b39f8ca2f2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.45","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Ky+eXF83Da2GfTIjJ/Y86pIeFrLLxAYhCD6k94S2crp/riZT+C3y3OEDV7eF+xUrKl4yqRkPsJsPqJtmfwG8aA==","shasum":"18ea414a549bd801926e5af2f0654ae898372dc2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.45.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsxfPra3xNJPZYP+rh7WEF6kwrndfIy+BSPbtJbLIe1AiEA2t5TPElIcEfoQUrl3kqT4T0qKsdtYBfhA84B9KkkHfc="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.45_1684280119413_0.24460399246789866"},"_hasShrinkwrap":false},"0.7.9-nightly.46":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.46","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.46](https://img.shields.io/badge/version-v0.7.9--nightly.46-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b599778a38b93bd6d00539b39e478671a9310575","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.46","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-m++H0W657TSwv91DKwZFG3CawseazojpV/zVYklUTAaH8/kLSIDzl8Hf9xMETNVciYAzarXQUP0TnNk6hzOE9g==","shasum":"4bec7b7e931da11341a39bdebf6de0e770878051","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.46.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMeFQgHhxOGVObvLEwT4krj4q1/kH6Xa6g10VB4/m/PAiEA0SwTqKDTPDVuEyqKdmXYoRTinNMZdcAajzE1B+Ei0v0="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.46_1684366531752_0.1957075644632087"},"_hasShrinkwrap":false},"0.7.9-nightly.47":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.47","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.47](https://img.shields.io/badge/version-v0.7.9--nightly.47-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6c150fb4b14345d88a94e3534d5da456e576817a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.47","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Vi1u3Z8fDdWruCDQPrb/TlplMI4VUqG9y1Dl3xmZ+NwcL2Z8AUDSHKaY0MAtXkmoVqaKxoEYtU5/ds3Yydt5uQ==","shasum":"64da2f7cb9e9d9b8fee2f69603126a949c742a24","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.47.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSmYlZhOvT36B8vxFOmgTCfzqXGja2Ic8jc0sBbdoz0wIgN9rGBAqE8EV7ayEpypEzdM8ry7+5L/6ZAphh7u3sVSM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.47_1684452928953_0.9842402086654323"},"_hasShrinkwrap":false},"0.7.9-nightly.48":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.48","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.48](https://img.shields.io/badge/version-v0.7.9--nightly.48-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"97cf13b8488e625e240c3e37072051e8032a4f24","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.48","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-CKaKSxUj/YNsJ07QVr3X49baKwH1oO8Sdf7wBzbwBdHS54hPLOBQD1nBtS/Ep6i8g42iRfOeNliaq9r3Lw3riw==","shasum":"1711ea02fcdfcbb15ed6c155c00ea204a4c8927c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.48.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXzwftBWnJS0fjjqBf/7AEZ3UNIpudr8VemUvHf3By4AiEA/XzeaEkGBnpqVXRl2A8WVgPBJXIVTM2FBm+sYqDKHAU="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.48_1684539374607_0.7186202254727803"},"_hasShrinkwrap":false},"0.7.9-nightly.49":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.49","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.0","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.49](https://img.shields.io/badge/version-v0.7.9--nightly.49-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"6d3d187d55bbe9276b9aa53511932fc583092a32","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.49","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-yYx1QSgOtXXwIrmfOvzmjYjMGXvAUrSLp89sBF73A5YT9SJyjczt2WcJZo7nu7CpVIWL4dM4Zip5iZTBsPS+yw==","shasum":"e17419f602d75e3688a6979bde50d4dbd2f42658","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.49.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICR8Cyz4ncQ2QyC91FIj0OWhwPoBIMyz1TbDJeFrdrO0AiEA8IJYguAyCNS/VTOh1siltuSEGvLItPjpH8xKyTC9Xbs="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.49_1684625724710_0.04198627788984477"},"_hasShrinkwrap":false},"0.7.9-nightly.50":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.50","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.6","@typescript-eslint/parser":"^5.59.6","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.50](https://img.shields.io/badge/version-v0.7.9--nightly.50-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8dad78c9937e7f41000f9ccdbf64cea5568b56a3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.50","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-HUnBUifpVk9XQkS+//pF0RaQF8HdZBa8dbhXl1kQ8AHdV+o8op+iHDhUNnYjlhK1SyGzgtRTRiBCtuxJwbOx8g==","shasum":"9ca6d9ac5ffb47c2efa18caa89f0b9b950da0a97","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.50.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUflU44n+ln8QVwAFq0FY8jGMUmb0W8V4Jyk74Ck+yCwIgFZj8klzBTgdoWpqRJFfXHm2URiAgvwl/JRUA9KfRjiw="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.50_1684712125212_0.6700736925933826"},"_hasShrinkwrap":false},"0.7.9-nightly.51":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.51","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.51](https://img.shields.io/badge/version-v0.7.9--nightly.51-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ac8357416c2b91579b56c0d60485e69aafdd6967","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.51","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-xUevwLdtysUx5OoCnoBn23upZ4HmgRNEqvnKtpqINnabuJPfmiKChFiUuwWIH+BUdyvAnJLwQh31Xcvy6GUEXw==","shasum":"3d968428353dd99d0a02886dd1f7bb10bd8f574d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.51.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQsQjl4IE0JKd+yXsYs3lDYebqf0WaO489e82HLV40ZAiBBJCUjQthVwsh4wKLH88NysCiDptYDms/oi5TS3jysTQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.51_1684798555229_0.28402389153272134"},"_hasShrinkwrap":false},"0.7.9-nightly.52":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.52","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.5","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.52](https://img.shields.io/badge/version-v0.7.9--nightly.52-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"a121b1e960f5a8145875591f19055122a8d5d16e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.52","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-toqfzxfpVKTh98tvDuraPAlPHW8UiJ+Gv5+W8S5ahnUdA+mWlf8lVXq9AR+cLAvksExSam0jeBpZklBrLbERAQ==","shasum":"279b32b7377e9929131d65b028139b48148dab4e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.52.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNbYuw6do6H5et77Q5prww3QNU5gjGjwhcmwm78gL9jAiEAwgS+1Mwy5Ga8On02Wmaruzpewfye71XrHzfAPpKTopM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.52_1684884960718_0.9226910562560418"},"_hasShrinkwrap":false},"0.7.9-nightly.53":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.53","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.0","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.5","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.53](https://img.shields.io/badge/version-v0.7.9--nightly.53-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2e15a04080c83d80766a4446a0612fee8795e828","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.53","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-v5OsVxVC0gkUAaqoBKCzjhFnuEXTLCLXCw7ed2gTKLlflOHAipWoG0eg5MRkTNmFjw3zi2LAwKHm3cvkJgYVMg==","shasum":"7439951975edc0655365b5b104ca5f2ef0124995","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.53.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU20kQ3bJAd4UNQB3XH9e0dEYR6L+pSxHbD6gLeqKwCAIgP5DaYCJKORUIk7qc4P0CeaPOx9zcsi5+YgZO0iUktmg="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.53_1684971328006_0.651011206969266"},"_hasShrinkwrap":false},"0.7.9-nightly.54":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.54","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.4","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.5","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.54](https://img.shields.io/badge/version-v0.7.9--nightly.54-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f5b56dc9aeb8c179843a2f1b5da577770bff3cd7","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.54","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-dtYn7D5LRpBI6pVM6yoFv/6px5VM9zEvHJzl+OQ2C3RSk5usezecgMNyU9tzylzJ1y0bdzb821OPRJSe4gbpPw==","shasum":"957163f45183b1ab763d826265df3ed2ee219022","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.54.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF99Z1BytzHVCaKk2BZLynLOrCqgDr+sr+dECTfJtZ4cAiEA0QOv7QAGUBJge5Riy2vdCVwm4Pj3eKSYO7j5ObX51Xk="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.54_1685057731644_0.18274019109504325"},"_hasShrinkwrap":false},"0.7.9-nightly.55":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.55","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.55](https://img.shields.io/badge/version-v0.7.9--nightly.55-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"b55b6af690e79a729200d2fcc5219fb20605b14b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.55","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-wMF3LyMdTON4uTBKKfZZHGn8QXLPWaBtT+uWpCuntQFUWKUm5p4G8Z98yKgmkfg24ynBmmzoFQZki5G4ksLLTw==","shasum":"8e4b0bfc86cb9585253e9c0fc814be14cacf0e74","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.55.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZ1F9nqpxrjcn44mlDSQch4QFHI3l8o14XEA5IObVZZwIhAP8hhzgVAofEYOfpceJb9B1WXjm8FLNvhXqz4ROf1erQ"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.55_1685144128927_0.19019694109995977"},"_hasShrinkwrap":false},"0.7.9-nightly.56":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.56","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.25.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^44.2.7","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.56](https://img.shields.io/badge/version-v0.7.9--nightly.56-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"da774a662fa16ae2428ea89d996ca6d0cdef4bc3","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.56","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ssXj7LBAOTMKwkwAef8LqAvxyN13/GN7y2QWKGIajLv5C4XvaGnFHCWXmlmu6ElyXwgFFeH2q3PT+adrCuug+g==","shasum":"e362d8a4eee158f938c6d278594b04ba81a12fdd","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.56.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmW3xYW2Y608pG2zjiANVaRCy3h8VJ6EgF0pzAdWrMNAiBBGK+HInckpE9DNp3LchkOu6vApoPbTFbPK76khrMNIw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.56_1685230525644_0.018538437275935626"},"_hasShrinkwrap":false},"0.7.9-nightly.57":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.57","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.7","@typescript-eslint/parser":"^5.59.7","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^45.0.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.57](https://img.shields.io/badge/version-v0.7.9--nightly.57-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"49942facbcdcaff06c271f8e70dcbbdbdabf62d8","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.57","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-/iQtMOqn9QxDa9opb1xrZNKhmL88GS/mSfcL8eF3k24Re4UJZp0piclxKS2QHzHq7uqB3cHMSaHfDs7DMGZNqQ==","shasum":"029d9e399b54fe2a79fee1f3bc530cb01d73611a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.57.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqWZqFASV39Mfu3RziKhq/cGF3nXTzFav0MjEq8rlq3gIgMA51laVyxXQgU4WRgq5iS+R7xUuRCdWiarnSrUA1KlM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.57_1685316938972_0.1885974246305926"},"_hasShrinkwrap":false},"0.7.9-nightly.58":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.58","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.0.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^45.0.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.58](https://img.shields.io/badge/version-v0.7.9--nightly.58-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f91e9a9b15caa2d3f8f0783ee9a576c847779da6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.58","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-5jBbWSxT7hOQ1cHw/xSWK3nz77+YVtA8fTwF9igK6cg0AjlMoxaCpesYD2RQUlka6p3IqVuL2Bdk7K3JEXC0Yw==","shasum":"231085e7e19aad9077a94b76db2065a32b7575a9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.58.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGh9BH5nM9HYhvs6TFH0IGtz3/I4D55UvzX4JFDLJGr+AiBYhgSUE5tUCpXUclfjEZNOdIwZS7pt/xCfFJiau1LTHw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.58_1685403345424_0.9509603449988671"},"_hasShrinkwrap":false},"0.7.9-nightly.59":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.59","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.0","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.1","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.0.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.59](https://img.shields.io/badge/version-v0.7.9--nightly.59-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"55afad4a7e1ec76ddeea9c1d909408a4bbfb6295","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.59","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-x8pkfxsILNZDKw/MlADfFVjSpbNMQT/3xva1cN2ZdE0J8UURh0ztNa5SwkZurygVpvoBzUZcH7MVt6KSsCw8+g==","shasum":"2ad0b2bc7634224c270746a486a7d007a0a877b1","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.59.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp0AO22wP3h9F1CLeHclnjfhK2vp6AWB9VdxbwfJG/fQIgDfhleS8IeJaR4N/i0NH2m63kzhTYjSoPviwp4rUsZNk="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.59_1685489727631_0.2066152305975828"},"_hasShrinkwrap":false},"0.7.9-nightly.60":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.60","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.1.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.0.4","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.60](https://img.shields.io/badge/version-v0.7.9--nightly.60-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"c852c355d84084c0f1e8c336a3d800f4b3497de9","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.60","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-iYr1TisUe3/z6KIxrwSr8qRsXGU6/HK1uaS15sTYdE091T3rCBhd3JAg0CBcn4ok0J0164Q3AtiAq9APoVOX8w==","shasum":"d86a13d83f23a5571c8603d8c56ce093f55ac237","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.60.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC7HWYCyZy9jLrgZbWoGl5KUO0/dXasZ28YTm3c1oRhJAiEAg2asoMVqrX7el0Q4cVFuBv0h/LuSJwV4ZuVnPGzDsC8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.60_1685576111112_0.36677579393122195"},"_hasShrinkwrap":false},"0.7.9-nightly.61":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.61","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.1.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.61](https://img.shields.io/badge/version-v0.7.9--nightly.61-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5190ff5a2780c47a3db8c82266d54f0a21dabfab","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.61","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-DswviDIgaJvBdPZfZE9pX0wJhvp1ooJpX1QHdG/OTpQDbgmrOSfLUaRqpp0iVDD6KlPYjHPEXNyG6byFjKgDOw==","shasum":"96108554d0c0e91aa26e4e502aba6742711bd786","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.61.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcGqONGBnBhpTLYgu24QhGBlwWXD9zW64/AEe7eSZi1wIhAJ8sb9YBug9pORrBH4w1wGwcbPNye9Dq0FM/Z8vllXTX"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.61_1685662538709_0.3255976048269038"},"_hasShrinkwrap":false},"0.7.9-nightly.62":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.62","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.62](https://img.shields.io/badge/version-v0.7.9--nightly.62-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"08cee1978a51c9de4e15677edd74dc687a069624","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.62","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-uMhIbFY7D8uE1XYE2b0xqHcHTbO48+0xVa0cZ0LAiCnpZmr0yQmlWPoaRZhYXmSgsodgqtgwzqDPaFEQPERIMw==","shasum":"7ad7f227cd5434a448536506fd3e22a353c1808f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.62.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlxZ/yXdR/GEmWQtba3MH42ScH1Awa982iXEsrQD6SUAiACmILKJBLrMVssF2LD0Mgxoafiy/QNnTiHmdWOr7Ck1A=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.62_1685748917779_0.7854277199121913"},"_hasShrinkwrap":false},"0.7.9-nightly.63":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.63","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.3","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.63](https://img.shields.io/badge/version-v0.7.9--nightly.63-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fe882dda7693dba631e85fe7917ce909f0c6e58e","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.63","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-yZRbmYKI3Ov+bTFf3nBwUn5xCJcvLz7YlIteSLJ2k0OBh1P6J7lIVjvdE+C5kXwUrqEFQ+iySt/Xs954gFou+w==","shasum":"a273061d31e92d70aea59f411ac01ab088d41edf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.63.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDr5/DVm//c5x3XtHrmGi/cJ8iRdB1+miGQNtmrLKsimAiEA8KQdvzIZ0szUCkF2n4iJwI39cntY8uCtr6zMI9y+urs="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.63_1685835331663_0.5101234010304128"},"_hasShrinkwrap":false},"0.7.9-nightly.64":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.64","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.8","@typescript-eslint/parser":"^5.59.8","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.64](https://img.shields.io/badge/version-v0.7.9--nightly.64-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d5f1fedc15b79c121854f8f45fa7bcbca3e2acec","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.64","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-WeBqxKCwP0OnMveOwFM5xTZUZUwZITmKFwBWjGTmREhnI6rl0k1jjWple22Lme3ypWXCOC2u2349D3wIUuslkA==","shasum":"278869573b4080a4c15259bbd4630ad64bdd7808","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.64.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICT9TjkuTfVeF28EQPmuqsLd7CAgd5aGc1yvUFR2aZA9AiEAirzjjLC7BYxPAFk6uevTrxFIb88PixBQstznvux7tRQ="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.64_1685921717736_0.4588536335042708"},"_hasShrinkwrap":false},"0.7.9-nightly.65":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.65","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.4","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.65](https://img.shields.io/badge/version-v0.7.9--nightly.65-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1b33d27c25019f95dc1b44e302f7660ae576496f","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.65","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Zv2+g2B8o9tXc0rA21GvN/sBmw0BsjDWJ6krLyrMGrZpR7LM8NyVh1maR5nuLRc/CYZkESXHeLX8uH4NIhxo+w==","shasum":"59764944f9f739a3710f7da1bb9b1e010828a060","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.65.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwrlS9tLlas8eJF3zJhW1UFeB1HmdjqqNd6Lx7R4a+kgIhAPYQ9aMO0Rbbz3R1c6K7z6pUmPRx0DWFG0GagboK+zDK"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.65_1686008127416_0.6023914736030564"},"_hasShrinkwrap":false},"0.7.9-nightly.66":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.66","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.5","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.66](https://img.shields.io/badge/version-v0.7.9--nightly.66-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e6fbe30605dd22eadef35c854cf9615b70633284","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.66","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-jD4mYAH4GgWLcNEMRVaoEymFFOys1/jN/86T5KQtuxP4XYHK6fVLj2e/ry3hYMTRr3hX/b4S0YMPtCbOTKPIcQ==","shasum":"7d84e4f6bc05b98df5f9353424224ea0c9b61851","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.66.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGs6hCz/YUqvmryHzcqiEj1SIQ/naWDo5+GRPVyhxjxdAiBq6/hkXjJZ69EHScVWHxanEMARew/sYlc1/YLO5kDRvw=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.66_1686094522158_0.027128882428626433"},"_hasShrinkwrap":false},"0.7.9-nightly.67":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.67","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.67](https://img.shields.io/badge/version-v0.7.9--nightly.67-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"265116997cecedb3defd9a49c9cde48fae19dea2","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.67","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-4DVAgQoCNzCiV8aLqNKMV6vQIbzRF7u7aWih3y+kp+Np1oN0BiKsw1aH71QOaAvBiUkY38+wMEOfIo9BbZ0IiA==","shasum":"e7e9cf3087bc3faf62de0ace58d074bcfbb8b325","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.67.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGmRYDnGBaC5D5IWbU/ISz+YnCrVJozZyNYAxGhK+xQAiA2BPizFt9gcVF2X9ZUGHKS3RqsxJko9TksjOlZLKJLBg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.67_1686180915123_0.6691650239176452"},"_hasShrinkwrap":false},"0.7.9-nightly.68":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.68","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.68](https://img.shields.io/badge/version-v0.7.9--nightly.68-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"de19f34b49c8cfe3b585b0a758caca51d77ec294","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.68","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Dv3XEZ74WPpEgYHIb0z83Jb6pPtGXWR0pWuPYXMm9tZngzo200EzdZoJDTH8XQZjKv3lBYwd+cx2zAI4Zw/a8g==","shasum":"a4fe704f41a99d5c325e3274dd1806423e7a4b09","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.68.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfl1Sx7WpBdSGvt2POy5S3YcQ//KsO7CFGFYreT03emQIgXdb9sE1jZLquzi9v6BtvxIQOfF56vqTuX4jz3shh13M="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.68_1686267337435_0.7670113909195373"},"_hasShrinkwrap":false},"0.7.9-nightly.69":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.69","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.2.5","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.69](https://img.shields.io/badge/version-v0.7.9--nightly.69-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"76789233a233397f3b7685f7cc1609c653fe3786","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.69","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-DegrllPrak2+Twymhm2d5IpoHeCoHH7vo4ntFByl/QSecACqEXWmXOAOC8wyiugdQbnBxWzbA9BAdznkZgP+gA==","shasum":"cb3443f3fba5604b3d0f178f7ee957089d6093e2","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.69.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGP8FuGfbr/ti9+6rZpS1+HxL8i8AS8yH8MIvylOVwJWAiEAuiS4w/Ft/bEcnazdb2xpTqNE8Ej2DATV4ZBXU/gY+lc="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.69_1686353736042_0.3869969349000075"},"_hasShrinkwrap":false},"0.7.9-nightly.70":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.70","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.70](https://img.shields.io/badge/version-v0.7.9--nightly.70-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5affc3be55bfd2230813a61718d0af11107c01cc","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.70","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-q/inXYOiavr+vX4eSIAxAC09XoeOtY70Gf9pmHSlwUD3gsNUJGG6HezlHjR33Oweyaokq8F7keRno/SeI+NdUA==","shasum":"1e0c4ef1490344643da8218a83851673a815f2e9","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.70.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf3vA1VmKed3TSH03BcrUnasYj4NCKb2wPhnG4YCgN3AiEArI6+pTWmezd7w08+21iOINoVr+4K8nslQTjWrrWcsq4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.70_1686440127321_0.5056636477659575"},"_hasShrinkwrap":false},"0.7.9-nightly.71":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.71","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.1","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.9","@typescript-eslint/parser":"^5.59.9","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.71](https://img.shields.io/badge/version-v0.7.9--nightly.71-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f6c3d3efdc26c2c4038fe8b7c4f4a4668674d37b","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.71","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-wB9HYMQ8VyBJWuq+HP1w7o+zlnNYanwJU7HA9M/XB5grkyMrUbInLO0lSQTv6U6NYjBYF1X+UPG9+68JQdtWNw==","shasum":"e3612ae1a8db1c2f16af639e6fc9918f34bc2708","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.71.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNS4xj/vIDJv6PmAiTyNHUQ7l9MjiRq0NrH65hf5RFCAiAi0NoaA/pqCR8HNAjuSKzj/exCKX7tWZvjbd5KJWvBeQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.71_1686526547955_0.40060351110181114"},"_hasShrinkwrap":false},"0.7.9-nightly.72":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.72","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^2.1.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.72](https://img.shields.io/badge/version-v0.7.9--nightly.72-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"603a50665aa9e6b4de934c81f979dc51359b85ae","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.72","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-TJpNMGl13ANTgw6MHWrf3u3UpUio/6eY2MRclaLj/NdqF3PR9HN+E+4b+d2h1JfUs2Tq9tn8Z4J1nFUBdfCPaA==","shasum":"dda9772284673d703ab43a89335e5133e56f6d3c","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.72.tgz","fileCount":10,"unpackedSize":32161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuD0LHHULvweLjO38Gegx6w0O6WwdezO5NplUXxisYOAIhAOCOIaLSEJn810CrrEEPGxYuJLgx1l98OtG0PM9mR/sI"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.72_1686612931195_0.4628722957847058"},"_hasShrinkwrap":false},"0.7.9-nightly.73":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.73","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.73](https://img.shields.io/badge/version-v0.7.9--nightly.73-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"fa74570e4662a764440e1974fc5aea990f0bb6a6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.73","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-mwVjbgf3H8Pu9gnvMnu6hXeQlQlbatqWp95mU7XT+q4gdvl8Vf/Svni+mOuhi6Xb9FDF3BTfGePSlXjz7I5tbQ==","shasum":"362421c697998b699afce786fdf5351b0e7ad04a","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.73.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID70jvBHEZNiLDchyNM3fjBnvgQHwINE8p4aJU7s0HbdAiEAvDZukPRWCA02DOMpcrA7uSSgBowT3EfzIELicz9PFFM="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.73_1686699327519_0.35818210533967787"},"_hasShrinkwrap":false},"0.7.9-nightly.74":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.74","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.74](https://img.shields.io/badge/version-v0.7.9--nightly.74-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"05cf3ad63f7a2008cc7ee94b14615ac6d21aea8a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.74","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-ETzaBtws/Hx+WMmmD1ydiMtF/GN4qo41/ig108NppMjDc0WChxofO4iMG8Gb1OnBAeSC5ICE26lz6cg6pKBvvQ==","shasum":"91c8b2bf7355e28eaf8b2779ea44957d4c275ba7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.74.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmgj42RF2opQGdf9nMbMeNpl/dnVUFxYUIb5hhU8lyaAiBAE2uRH3ke6Z0Wq1taJluGU2+eXKZhjb+Tl5RSxKl+AA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.74_1686785733582_0.7578523914313005"},"_hasShrinkwrap":false},"0.7.9-nightly.75":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.75","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.1.4","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.75](https://img.shields.io/badge/version-v0.7.9--nightly.75-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"70736dbb7b0f75d115d9e5025776af6dec996af1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.75","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-uZ/s3J2BUNT5lMRInPXEq5SV6812RUJzJbJSyCkZWJQ4LGQsGsFT3TEdPPnPax/iAzQxg7IF0sOtkJRKbqH4fA==","shasum":"e933850973d0f0f1093aa6daba18ad6261f4a55e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.75.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZnI8sDZt3F4yAXULpUmdG5DYJJak+vc/5h2VchJYTjAIgEQbeWX8vOmGrz9B13IF7F5S5ASbCG+TBh9WisX8PPng="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.75_1686872127777_0.6036482953488052"},"_hasShrinkwrap":false},"0.7.9-nightly.76":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.76","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.0","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.76](https://img.shields.io/badge/version-v0.7.9--nightly.76-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"83305047b3faf92c51ab6267e1b5a9fb7639af67","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.76","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-IITObSnWPfbK46KSCM7rHX4CZflJhLsXSpIv+x4E+ssqxqd2lPs/4COJ2hBRhx8TNWb84mzwSoYrJceBWbydkQ==","shasum":"71b686011f198194e1e4786fd5675197cca3b96d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.76.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7mVpPN4hU84/J5HXhJRO6nMQFkNhooA9Wg5SEMGUoigIhAKypUWvyhbHcRlcTDfXD2l7Wd/zlX29o4LtTb9NHBss5"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.76_1686958533172_0.19832976198771468"},"_hasShrinkwrap":false},"0.7.9-nightly.77":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.77","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.77](https://img.shields.io/badge/version-v0.7.9--nightly.77-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"8ebdeafcca343258e8acf3a0e4e7d7fc0889fa77","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.77","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0FmPCBfGve7On6PiDX+pazggQVJ2915i3U1RtNSXyLHGQIvpDK5f07hehpYGmHG60HLfUJomjOyjdSY4qnslug==","shasum":"8aa901084fdf65740b7ddaf6ecba05d3e67e77b3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.77.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAq1N1dyv8xh/7qdqJMHRxgodjYZ00dR9umeUI5t98+pAiAAsPR670Wi4wo0mp2thNCSyIy0H2MJ2hdEnog2ciw9MQ=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.77_1687044918712_0.20372858711135278"},"_hasShrinkwrap":false},"0.7.9-nightly.78":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.78","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.59.11","@typescript-eslint/parser":"^5.59.11","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.78](https://img.shields.io/badge/version-v0.7.9--nightly.78-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5a13ee4ab17341de88000bb82af19c512fd3f072","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.78","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Y7lL9ApG8eJfER1/MkK+JrcHIzwesuT8Aq38Fw1TXIevrQyc/Y1aVqSBJUoQbHGFVjZPWtKGJ4R761rNpkaeHQ==","shasum":"7daf8a95795c7c5841f5c37452cd7b00b6d95e41","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.78.tgz","fileCount":10,"unpackedSize":32159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKdMLj3QrcI/hiKqL9GQvCGglu3Y65XhRDciyBoBc4dAiA16sxyZmeXB+J58XarcAZh45KWTxxOk/Vjl8HNEFWoyg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.78_1687131329017_0.42361828956750736"},"_hasShrinkwrap":false},"0.7.9-nightly.79":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.79","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.79](https://img.shields.io/badge/version-v0.7.9--nightly.79-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"3d8ba5db6df1e1d2917f229aeca6a63358785f0a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.79","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-x/0pfcCy9iSzhbc2oWmE5fp4Rlrzd7zgpoQdAtM0U42HG27mT7MAoXvqCJSwFVDN+spwlei3Fs/icgTRTqFzMg==","shasum":"4ff1147c3cace53ac4fad9df92729b66ccbe3b71","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.79.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqk18KqP/xajrdEBmFA8kbbJQitVagku2p9YVvepeP/AiAX7Cr9xcqRBe1VWwntmlmwTVdumFjy9X0dllzrezNAFg=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.79_1687217734694_0.6044346098497768"},"_hasShrinkwrap":false},"0.7.9-nightly.80":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.80","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.80](https://img.shields.io/badge/version-v0.7.9--nightly.80-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"85e2e9f519aa226e4986f3ce34d7e6df2efa8685","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.80","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Gd2q+lsFchYLOQrXA5LeP5JZXM0qNIOmInbZ+67TbMgKWpSiqT5UKsAMi3eEhE7yAnXJrW1+Lq1MkMLpMiH0mA==","shasum":"f170a7e7c16f129af01bc50e338925afdab6d9bb","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.80.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkWjvs6TKM42OolqA1zkiIJ/4ExTmXOTlhXDiVNbXwGAiEA8V3qtTTsvy76hR3VF49L0QfkroOvA1QPFb+BuWV83p8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.80_1687304144937_0.2088016639565542"},"_hasShrinkwrap":false},"0.7.9-nightly.81":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.81","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.17","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.0","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.81](https://img.shields.io/badge/version-v0.7.9--nightly.81-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"36555c4a7c93015d6f70e996515246d7d4f30362","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.81","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-qoCyBn5UyqeIi5x2VQvihYKGaBRPY3pDjh5zbyd76y26GEPEIi19fIUdKjCYnstFsP+Jx3kqaJ6kV+PJyPWtuA==","shasum":"c72b5cebca7cd07b279031ba6d54cfcaac6fd2c3","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.81.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKnQT8YuB/EYZmFqm+LYF5tYYEbON5xlLhjG7Py+qm4wIhAN/JNTA2EWmSrplR/USVzdvMnIb0M6PH5Ffs+E+9Ty6d"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.81_1687390548599_0.15389658362588476"},"_hasShrinkwrap":false},"0.7.9-nightly.82":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.82","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.82](https://img.shields.io/badge/version-v0.7.9--nightly.82-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"1c4d53f4c9f52431f6a7000e637d3233175b5587","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.82","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-SNKfIXJXb2qE8U+VP48sPbiPjuM4cRvUM/4BiF18vxlcBo+WQpW1a/Vu2Lj2jQrJW8RR6WdIT1qBcqaf74FQcA==","shasum":"5856429cfe454072b0dd8930043ce54f57ee46de","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.82.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDMgydaJPL74KAKYkETsbU/9FrAUbCqYzTyqauCsojHgIgDhQTxYYEw1f0RIELOCEwGaWunot78NePr1BJTC7A+sA="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.82_1687476943681_0.15999649776648028"},"_hasShrinkwrap":false},"0.7.9-nightly.83":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.83","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.83](https://img.shields.io/badge/version-v0.7.9--nightly.83-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5b1aca482f32725210ac1778acaf0189f1208da4","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.83","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-tRSQaohaMINCkjQof1Z4odSApmeqXKNMvm5KFA5y1L8kYSTbFkqGehlq+j/vmaeHQJ6biEWwT8WwKTpnB4seTw==","shasum":"3e1a687a2789e2839c7a159055740513338e92fe","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.83.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjJEkWgqep3Cy8lleSGH7rhablQgUs6dnQb8EeXCDxbAiEApIuQlTYhSNUTeohHQFdUHKT6imnvXmn8797w8xCkpWw="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.83_1687563335637_0.9722437252909921"},"_hasShrinkwrap":false},"0.7.9-nightly.84":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.84","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.2.6","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.84](https://img.shields.io/badge/version-v0.7.9--nightly.84-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"2fd80a6c1f892bd2a9b84c6565449b90bc3a2183","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.84","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-KzNIwJDbDgnyG2nb967VSnmq6Wpr2K5usITsRdM/FkMiJB0ysEwXcFfovkS0L+AnHlBUuwA0VJEhkwJq96+ThQ==","shasum":"82e1f73fa66e495ccb815d2dd9a9abc70d7b5d5d","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.84.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/5spoe2yrxvsn+e5I+8hj7aHn++5dyG9TFvgJfHSPCAIgBhOh2QWcWdL+Knz+/M/igZdzB1/LW9lszFMY/zxd1uQ="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.84_1687649779900_0.6984737276590427"},"_hasShrinkwrap":false},"0.7.9-nightly.85":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.85","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.16.2","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.0","@typescript-eslint/parser":"^5.60.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.3.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.85](https://img.shields.io/badge/version-v0.7.9--nightly.85-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"189bfe52d8e7298c8d5a90f188b89d4dded01764","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.85","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-BtgF2OfGRlgMYnmG2uMIW1PcFjkithn2xgbC9xSz3BpNR0iod8ld53duQ4LO2VUffzFs38Gv7lLvEd/drhFIpg==","shasum":"a72259cb6eeb805e38c05bc51d71664d219ee145","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.85.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/C/VOpPSegTjei0xKn2K3NcdNOgUxnomkKumH4PyChAiEA8wD0mEunDpVvUWnlmQ34TawS5Fs9twFyJyAASE7uZR8="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.85_1687736138703_0.30455585791721584"},"_hasShrinkwrap":false},"0.7.9-nightly.86":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.86","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.3.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.3","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.86](https://img.shields.io/badge/version-v0.7.9--nightly.86-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"bd2606a65f96ed5f09b0ff0c92698231f4d58a85","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.86","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-IIpV6r6nJX4iN2oaRQBbgPktEMb0CfluyA8V1nxTCyGEZ5hc5L6CK79xCsCiHVICHQJztk+KRAl7+6TGRJn8GQ==","shasum":"8e24023593e2b75d4ff1114b83ec84a7b136f547","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.86.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGO+1c69zjhdwTJV+vSvxo3poDnjTFf9LuyS8gpDDOuNAiBHL6OEvcEpIJp4ocbVVSiKqbJUl9XD6Yd1/irZodC8gA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.86_1687822556995_0.3143652662902663"},"_hasShrinkwrap":false},"0.7.9-nightly.87":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.87","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.3.0","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.5","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.87](https://img.shields.io/badge/version-v0.7.9--nightly.87-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"662635fbe6963d98fe85ba50f932ebb947c9c07c","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.87","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-n/gNHs8KzEKkG3WePwh+XQ4wFdTem1UiKvSBtI+WVOYkMDjSMI2pzqo/EWbXnJR0g+NwMnRHaDnYOhWrl7wXQA==","shasum":"47c297387b1cbe5ff8e51fc630ac6e872c1fb433","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.87.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwpeFkGMrgm4HnJlViTuQurDLwOQZ7I0+T6HgP/PQUUwIhAPcjtIUkvS2n4+wXFGlpprzB0kXoC65fMR9Zt3CJaG4B"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.87_1687908971772_0.3911365926293151"},"_hasShrinkwrap":false},"0.7.9-nightly.88":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.88","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.1","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.88](https://img.shields.io/badge/version-v0.7.9--nightly.88-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d13fe76b05697ff20d4f925fabedbbd268852da6","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.88","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-MMuPiKsEQEHeOrk3hhfDAJ/GKDi4zt85l7E1idzuHs4PQPCou/4MlVYAXogi7Z6jIF+XKfjoa6G11LgKsesOww==","shasum":"36f2c5b1be7b3538f4570cf4193ad7f5a97e71e7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.88.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYpdX2ZxGkG7gGgl5Nj2g1lkb2cK00t7Le07RZnRmvzAiEAjRjrVG5aMp+eNQ73nXTQHo0pzH63fxue0ypI2OanaUs="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.88_1687995342944_0.3610244648566543"},"_hasShrinkwrap":false},"0.7.9-nightly.89":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.89","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.2","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.2","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.0","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.89](https://img.shields.io/badge/version-v0.7.9--nightly.89-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"90596fea01f2d11dbcacd54320e929b5200ab620","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.89","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-FS7QvG/EzgVBkq0sKIIAv8GKOQpunndN4m0UpSaHOYayvqxZLhmaKowo9bHV3Xe+WBLjNfbQz27SoEwF4BaBDw==","shasum":"c48c1a253e6e5c7c0c9bf8b97aed7bd29500493f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.89.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWao2d+jxkKnFLVuNUi+v8n3bc4KpxkjwzjmnI839jBAIhAM6rIDHfRxDLYrVDALA3SPzowzFwuvtjjoX4sb2VPMZQ"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.89_1688081734503_0.01803699541121162"},"_hasShrinkwrap":false},"0.7.9-nightly.90":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.90","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.90](https://img.shields.io/badge/version-v0.7.9--nightly.90-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"28b6291c48b5722ca387bdb4c588d05afd16a3de","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.90","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0uM2v3xU7ufo9/yWJQD7U3zdzAn9akqih2ZVifXgMBia4qthSwrZdHl8f8/u0IfwfGtxjiW6k4HFOeAmYd3xzw==","shasum":"342e241cf68a02f4ef38d424f05c22fbd2d6978e","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.90.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAiO+ahXL9EdqVXuxsLOfUD341QepTloUzNxeRvmt98AiEAudjJqFNjuWmMiYc8k13hTyz9sVX/gwH8aPcVijT5/Q4="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.90_1688168143915_0.46876001969387326"},"_hasShrinkwrap":false},"0.7.9-nightly.91":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.91","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.91](https://img.shields.io/badge/version-v0.7.9--nightly.91-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"f5193999f3fcc0cc2fa2b782d892c2f7431bcea5","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.91","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-DJrDFVy2WvDwE344ObybpoyJXRiZpdOA4QLFnic6JdhJTx29cFCapKoeLfQHVw5yLkcxas3Jkhauwtd8xjyfhw==","shasum":"45cc011db6aa59a2b5ffbde93640ea2013681a9f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.91.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWNPMdE0Cj5YSpQgKqeJGW7WNEIxs7EIL3GMo/vjvJpgIgFyk+sOj+DljobDO8t3MYs7yO9EvmAojxJGBdZ4Yvfh0="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.91_1688254551708_0.26293021981987885"},"_hasShrinkwrap":false},"0.7.9-nightly.92":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.92","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.92](https://img.shields.io/badge/version-v0.7.9--nightly.92-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"eceb105edd6cd71652b699aab9dc3b62563fed21","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.92","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-hTXzLv/lFOx+HFBZLc0tGVO13j8Ybzmi5KOnFxUHQ2mqTqyEbwwEGOg/FiBXstEq9BikpaYjj8uGpKuxrYEIgQ==","shasum":"8aed864efa3faa9c159cc9669086f3713e9e56bf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.92.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTlEVdNtNMMAeIjXHN/lirH8OXQ0Eda2fjf8w/suG5bAIhAORoRWtSheTBFpESm52qWhScYrFAh/gNuWfLNSVJ1Xo8"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.92_1688340955784_0.7348680363178444"},"_hasShrinkwrap":false},"0.7.9-nightly.93":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.93","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.5.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.93](https://img.shields.io/badge/version-v0.7.9--nightly.93-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"d040fb2a665150d2c261ee86680762163b39aff0","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.93","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-FRye/ZWFPTx+FJn/mWA+bKbVKyMKQIHU8oXCkXDPSoWni2UYWQdxui9oPfuQuQ9TfArPgfS04n2jKh2x1XVh4g==","shasum":"8c73d0ace9ee2e9ff63f04e5a704c43aa11a01fe","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.93.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSPkjbfcOhWTCT1slX7xZifeShMrPulRH88T0PdNpYBAiBqR+c+RiIeRQvYELxEKopT+6yW6/4LllQ5Qag6YCeGhA=="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.93_1688427384992_0.8719097324615683"},"_hasShrinkwrap":false},"0.7.9-nightly.94":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.94","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.3.3","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^2.8.8","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.94](https://img.shields.io/badge/version-v0.7.9--nightly.94-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"37f5794d56b50c6f5b929af2d142cf3d040c6c0a","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.94","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-yOVLWf+1VcM1u7aYQ282b5VhHuVDd+BkjuCNB/GJ+xM7Ie1zRYREudchxxwsy9smUhQmZQqfLCWPs46/poYSiQ==","shasum":"8434507f769d6c040a7f6366d1c3e35c409cbbe7","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.94.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9ZBFIifpJv49XLLr3rq//NoGtauOdktCXFIMndJT60gIhAImpMaQO8ZobrrKCyoWbxKQR2PJ/mJ/zaka8HxKeHNBW"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.94_1688513764104_0.799734080102545"},"_hasShrinkwrap":false},"0.7.9-nightly.95":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.95","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.4.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.0","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^3.0.0","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.95](https://img.shields.io/badge/version-v0.7.9--nightly.95-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"e19cf2829d2a14ec78004e924f55c6be1d7c2d31","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.95","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-XcbUY8I/9QT5yyTFwKyIWjhT3Zz+E8tVP7SQgFFeuV5e9bpu0wffGlV+D6GYPVJIoKByYmcdLUwQG0zyxyKD/w==","shasum":"42295ef49230f2f861234843717e06dc5f6a8235","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.95.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHD2ENOuPaJsq23NLMt38pjzotXiXWOUfZCMN2wVLzSAIhANtjj55Ld04TPLwq4Dv5ed7PG+QrSYdqcq62t7DfVVRr"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.95_1688600142408_0.09388313576473362"},"_hasShrinkwrap":false},"0.7.9-nightly.96":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.96","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.4.0","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.0","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^3.0.0","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.96](https://img.shields.io/badge/version-v0.7.9--nightly.96-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"5ccfa8d2ee95263c7294fd38f302ffea2c8c51a1","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.96","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Ww4CUj2Icb4TCtUPyAKRddLbgoASdhAHt3yldrs8uplu4HLnsieO+Qd9jYTAyIdvyA7Ow/MtR/BPwizP2pxFZQ==","shasum":"a12cb6466e43799deff97a6cee05cc72e923cbbf","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.96.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAhK7TvPKn0RNzX9PnQHIjHND0jhUwQXR6gDgLliv/HAiEAt8dbmOXIP7LNC/tlQpMl9/ZQcnHD9VU45cZTBPRxDRU="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.96_1688686548345_0.787475982267269"},"_hasShrinkwrap":false},"0.7.9-nightly.97":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.97","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.4.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^2.0.22","prettier":"^3.0.0","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.97](https://img.shields.io/badge/version-v0.7.9--nightly.97-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"9c17bec0496a0e137d579029c71538ecd303f111","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.97","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-af+TWECIcg8i6KGxzCMAgQIoKf+2PNTk4LurMdM0LZMrdFTctmZxO1zhs3moBFCOjdDwC7jOqOkjYufZ8jEgNw==","shasum":"540c815a4155feb92a34386fc2756bbc6e3b94a5","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.97.tgz","fileCount":10,"unpackedSize":32157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUaMxAnQTy9sIAeH5aqjnFyGGf3V5cTPawH0wXRCU3agIhAPNZY07lIIu/34xo7BX8N8XJPcNh7zGb/zvqIZJ/qCrX"}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.97_1688772967816_0.85392784003346"},"_hasShrinkwrap":false},"0.7.9-nightly.98":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.98","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.1","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.4.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^3.0.0","prettier":"^3.0.0","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.98](https://img.shields.io/badge/version-v0.7.9--nightly.98-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"902542107bd6147d389b16e0ebeda536bf088953","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.98","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-h3bmV9wVVS5lXmDFgKyTKr3MgjN5G8bLFgUADkeU1UamOOvsR0aZIfXqbkhywZ0B8YiGse5IxZORRnI53ZcFeA==","shasum":"085757ab2bfb9e913a679d1a21ed01d6f3f0074f","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.98.tgz","fileCount":10,"unpackedSize":32156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAoZDbhO11hB0zO2qjbCYs6QE96ZYnD/yeFweXbLVukAiEA1SzoRX6rv9kG0iEtyRPqAFlys8hSPKgve9CBXKdvQ9Y="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.98_1688859338507_0.40383529832194887"},"_hasShrinkwrap":false},"0.7.9-nightly.99":{"name":"@ptkdev/quizquickanswer-telegram-game-bot","displayName":"Quiz Quick Answer Bot","description":"Funny quiz game for telegram groups","version":"0.7.9-nightly.99","main":"dist/core/bot.js","publishConfig":{"access":"public"},"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"license":"MIT","license-docs":"CC BY 4.0","license-translations":"CC BY 4.0","license-images":"CC BY-NC 4.0","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"engines":{"node":">=14.0.0"},"scripts":{"setup":"ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit","start":"npm run git-hash && node dist/core/bot.js","start-pm2":"pm2 start .pm2-process.json","stop-pm2":"pm2 stop .pm2-process.json","dev":"npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --enable && nodemon --exec ts-node app/core/bot.ts","build":"ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && tsc","release":"npm run git-hash && npm run build && tsc --declaration --emitDeclarationOnly","test":"jest app","migrate":"ts-node scripts/migration.ts","mongodump":"mongodump -d quizquickanswerdb -o .","mongorestore":"mongorestore -d quizquickanswerdb quizquickanswerdb","docs":"git submodule update --recursive && markserv ./README.md","lint":"npm run lint-prettify && eslint . --cache --ext .ts,.js","lint-fix":"npm run lint-prettify && eslint . --cache --ext .ts,.js --fix","lint-prettify":"prettier --write --ignore-unknown \"**/*.{md,json,ts,js}\"","git-set-upstream":"git remote add upstream git@github.com:ptkdev/quizquickanswer-telegram-game-bot.git && git fetch upstream","git-pull-upstream":"git pull upstream main && git pull upstream beta && git pull upstream nightly","git-pull":"git pull --recursive","git-hash":"ts-node scripts/githash.ts","git-ignore-reset":"git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"","github-workflow-next-version":"ts-node scripts/version.ts","github-workflow-changelog":"ts-node scripts/changelog_release.ts","npm-publish-main":"git checkout main && npm publish","npm-publish-beta":"git checkout beta && npm publish --tag beta","npm-publish-nightly":"git checkout nightly && npm publish --tag nightly","contributors-generate":"all-contributors generate","all-shields-generate":"all-shields-generate","pre-commit":"npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test","pkg-clean":"rm -rf node_modules package-lock.json && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","pkg-update":"npm update","pkg-upgrade":"npx --yes npm-check-updates -u && npm install && npm install mongoose@5 && npm install eslint@7 @types/yargs@16 --save-dev && husky install","prepare":"ts-patch install -s && husky install"},"dependencies":{"@ptkdev/logger":"^1.8.0","cron":"^2.3.1","dotenv":"^16.3.1","grammy":"^1.17.2","mongoose":"^5.13.19","pm2":"^5.3.0"},"devDependencies":{"@ptkdev/all-shields-cli":"^2.0.2","@types/jest":"^29.5.2","@types/node":"^20.4.1","@types/shelljs":"^0.8.12","@types/yargs":"^16.0.5","@typescript-eslint/eslint-plugin":"^5.61.0","@typescript-eslint/parser":"^5.61.0","all-contributors-cli":"^6.26.1","eslint":"^7.32.0","eslint-plugin-jest":"^27.2.2","eslint-plugin-jsdoc":"^46.4.3","husky":"^8.0.3","jest":"^29.6.1","json":"^11.0.0","markserv":"^1.17.4","nodemon":"^3.0.1","prettier":"^3.0.0","shelljs":"^0.8.5","ts-jest":"^29.1.1","ts-node":"^10.9.1","ts-patch":"^3.0.1","typescript":"^5.1.6","typescript-transform-paths":"^3.4.6","yargs":"^17.7.2"},"keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"types":"./dist/core/bot.d.ts","readme":"# 🤖 quizquickanswer-telegram-game-bot\n\n<!-- all-shields/header-badges:START -->\n\n[![v0.7.9-nightly.99](https://img.shields.io/badge/version-v0.7.9--nightly.99-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/quizquickanswer-telegram-game-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/quizquickanswer-telegram-game-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io)\n\n<!-- all-shields/header-badges:END -->\n\nFunny quiz game, play with friends on your telegram group!\n\n## 🎁 Support: Donate\n\n> This project is **free**, **open source** and I try to provide excellent **free support**. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. **THANK YOU!**\n\n<!-- all-shields/sponsors-badges:START -->\n\n[![Donate Paypal](https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal)](https://www.paypal.me/ptkdev) [![Donate Ko-Fi](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi)](https://ko-fi.com/ptkdev) [![Donate Github Sponsors](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github)](https://github.com/sponsors/ptkdev) [![Donate Patreon](https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon)](https://www.patreon.com/join/ptkdev) [![Donate Bitcoin](https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin)](https://ptk.dev/img/icons/menu/bitcoin_wallet.png) [![Donate Ethereum](https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum)](https://ptk.dev/img/icons/menu/ethereum_wallet.png)\n\n<!-- all-shields/sponsors-badges:END -->\n\n## 📎 Menu\n\n-   💡 [Features](#-features)\n-   👔 [Screenshot](#-screenshot)\n-   🚀 [How to use](#-installation)\n-   🎮 [How to play](#-how-to-play)\n-   🔨 [Developer Mode](#-developer-mode)\n-   -   🏁 [Run Project](#-run-project)\n-   -   💾 [Setup Project](#-setup-project)\n-   -   🚀 [Deploy](#-deploy)\n-   📚 [Documentation](#-documentation)\n-   👨‍💻 [Contributing](#-contributing)\n-   🐛 [Known Bugs](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues?q=is%3Aopen+is%3Aissue+label%3Abug)\n-   🍻 Community:\n    -   <img src=\"https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/social_telegram.png\" height=\"18px\"> Telegram ([🇬🇧 English](https://t.me/QuizQuickAnswerGroup) | [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA))\n\n## 💡 Features\n\n-   [✔️] Easy to use\n-   [✔️] MIT License\n-   [✔️] Powered by Grammy Telegram API Framework\n-   [✔️] Quiz game, play with friends on your telegram group\n\n## 👔 Screenshot\n\n[![quizquickanswer-telegram-game-bot](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)](https://raw.githubusercontent.com/ptkdev/quizquickanswer-telegram-game-bot/main/.github/assets/screenshot.png)\n\n## 🚀 Installation\n\n1. Add [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot) to your Telegram group\n2. Make **@QuizQuickAnswerBot** admin of your group\n3. Run `/start` or `/start@QuizQuickAnswerBot`\n4. Make yourself master of game, run `/master @nickname`\n5. Follow instructions and Play with friends!\n\n## 🎮 How to play\n\n1. Set a master with `/master @nickname`\n2. Master send private message to [@QuizQuickAnswerBot](https://t.me/QuizQuickAnswerBot)\n3. Master write question with syntax: `QUESTION ## TIP`, example: `gameboy ## '90s' portable console`\n4. Friends try to answer quickly in the telegram group. Who reply with right answer is the new master!\n\n## ⏱ Official Group\n\nIf you have no telegram groups of friends you can play in the official one, you will find new friends and kind people:\n\n-   [🇬🇧 English](https://t.me/QuizQuickAnswerGroup)\n-   [🇮🇹 Italian](https://t.me/QuizQuickAnswerGroupITA)\n\n## 🔨 Developer Mode\n\n#### 🏁 Run Project\n\n1. Clone this repository or download [nightly](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/nightly.zip), [beta](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/beta.zip) or [stable](https://github.com/ptkdev/quizquickanswer-telegram-game-bot/archive/main.zip).\n2. Write to [@botfather](https://t.me/botfather) on telegram and create new bot (save token and set bot username)\n3. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n4. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n5. Run `npm install`\n6. Run `npm run dev`\n7. Write `/start` on telegram bot.\n\n#### 🚀 Deploy\n\nDeploy bot to your server and:\n\n1. Set bot token: `export BOT_TOKEN=1234:asdfghjkl`\n2. Set mongodb connection url: `export MONGODB=mongodb://localhost:27017/quizquickanswerdb`\n3. Run init npm install\n4. Generate release `npm run release`\n5. Start bot `npm run start-pm2`\n\n## 📚 Documentation\n\nRun `npm run docs`\n\n## 👑 Backers and Sponsors\n\nThanks to all our backers! 🙏 Donate 3$ or more on [paypal](https://www.paypal.me/ptkdev), [ko-fi](https://ko-fi.com/ptkdev), [github](https://github.com/sponsors/ptkdev) or [patreon](https://www.patreon.com/join/ptkdev) and send me [email](mailto:support@ptkdev.io) with your avatar and url.\n\n[![](https://api.ptkdev.io/backers/sponsor1.png?)](https://api.ptkdev.io/backers/sponsor1.html) [![](https://api.ptkdev.io/backers/sponsor2.png?)](https://api.ptkdev.io/backers/sponsor2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi1.png?)](https://api.ptkdev.io/backers/sponsor-kofi1.html) [![](https://api.ptkdev.io/backers/sponsor-kofi2.png?)](https://api.ptkdev.io/backers/sponsor-kofi2.html) [![](https://api.ptkdev.io/backers/sponsor-kofi3.png?)](https://api.ptkdev.io/backers/sponsor-kofi3.html) [![](https://api.ptkdev.io/backers/sponsor3.png?)](https://api.ptkdev.io/backers/sponsor3.html) [![](https://api.ptkdev.io/backers/sponsor4.png?)](https://api.ptkdev.io/backers/sponsor4.html) [![](https://api.ptkdev.io/backers/sponsor5.png?)](https://api.ptkdev.io/backers/sponsor5.html) [![](https://api.ptkdev.io/backers/sponsor6.png?)](https://api.ptkdev.io/backers/sponsor6.html) [![](https://api.ptkdev.io/backers/sponsor7.png?)](https://api.ptkdev.io/backers/sponsor7.html) [![](https://api.ptkdev.io/backers/sponsor8.png?)](https://api.ptkdev.io/backers/sponsor8.html) [![](https://api.ptkdev.io/backers/sponsor9.png?)](https://api.ptkdev.io/backers/sponsor9.html) [![](https://api.ptkdev.io/backers/sponsor10.png?)](https://api.ptkdev.io/backers/sponsor10.html) [![](https://api.ptkdev.io/backers/sponsor11.png?)](https://api.ptkdev.io/backers/sponsor11.html) [![](https://api.ptkdev.io/backers/sponsor12.png?)](https://api.ptkdev.io/backers/sponsor12.html) [![](https://api.ptkdev.io/backers/sponsor13.png?)](https://api.ptkdev.io/backers/sponsor13.html) [![](https://api.ptkdev.io/backers/sponsor14.png?)](https://api.ptkdev.io/backers/sponsor14.html) [![](https://api.ptkdev.io/backers/sponsor15.png?)](https://api.ptkdev.io/backers/sponsor15.html) [![](https://api.ptkdev.io/backers/backer1.png?)](https://api.ptkdev.io/backers/backer1.html) [![](https://api.ptkdev.io/backers/backer2.png?)](https://api.ptkdev.io/backers/backer2.html) [![](https://api.ptkdev.io/backers/backer3.png?)](https://api.ptkdev.io/backers/backer3.html) [![](https://api.ptkdev.io/backers/backer4.png?)](https://api.ptkdev.io/backers/backer4.html) [![](https://api.ptkdev.io/backers/backer5.png?)](https://api.ptkdev.io/backers/backer5.html) [![](https://api.ptkdev.io/backers/backer6.png?)](https://api.ptkdev.io/backers/backer6.html) [![](https://api.ptkdev.io/backers/backer7.png?)](https://api.ptkdev.io/backers/backer7.html) [![](https://api.ptkdev.io/backers/backer8.png?)](https://api.ptkdev.io/backers/backer8.html) [![](https://api.ptkdev.io/backers/backer9.png?)](https://api.ptkdev.io/backers/backer9.html) [![](https://api.ptkdev.io/backers/backer10.png?)](https://api.ptkdev.io/backers/backer10.html) [![](https://api.ptkdev.io/backers/backer11.png?)](https://api.ptkdev.io/backers/backer11.html) [![](https://api.ptkdev.io/backers/backer12.png?)](https://api.ptkdev.io/backers/backer12.html) [![](https://api.ptkdev.io/backers/backer13.png?)](https://api.ptkdev.io/backers/backer13.html) [![](https://api.ptkdev.io/backers/backer14.png?)](https://api.ptkdev.io/backers/backer14.html) [![](https://api.ptkdev.io/backers/backer15.png?)](https://api.ptkdev.io/backers/backer15.html) [![](https://api.ptkdev.io/backers/backer16.png?)](https://api.ptkdev.io/backers/backer16.html) [![](https://api.ptkdev.io/backers/backer17.png?)](https://api.ptkdev.io/backers/backer17.html) [![](https://api.ptkdev.io/backers/backer18.png?)](https://api.ptkdev.io/backers/backer18.html) [![](https://api.ptkdev.io/backers/backer19.png?)](https://api.ptkdev.io/backers/backer19.html) [![](https://api.ptkdev.io/backers/backer20.png?)](https://api.ptkdev.io/backers/backer20.html) [![](https://api.ptkdev.io/backers/backer21.png?)](https://api.ptkdev.io/backers/backer21.html) [![](https://api.ptkdev.io/backers/backer22.png?)](https://api.ptkdev.io/backers/backer22.html) [![](https://api.ptkdev.io/backers/backer23.png?)](https://api.ptkdev.io/backers/backer23.html) [![](https://api.ptkdev.io/backers/backer24.png?)](https://api.ptkdev.io/backers/backer24.html) [![](https://api.ptkdev.io/backers/backer25.png?)](https://api.ptkdev.io/backers/backer25.html) [![](https://api.ptkdev.io/backers/backer26.png?)](https://api.ptkdev.io/backers/backer26.html) [![](https://api.ptkdev.io/backers/backer27.png?)](https://api.ptkdev.io/backers/backer27.html) [![](https://api.ptkdev.io/backers/backer28.png?)](https://api.ptkdev.io/backers/backer28.html) [![](https://api.ptkdev.io/backers/backer29.png?)](https://api.ptkdev.io/backers/backer29.html)\n\n## 👨‍💻 Contributing\n\nI ❤️ contributions! I will happily accept your pull request! (**IMPORTANT**: Only to nightly branch!) Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in `.all-contributorsrc` and `package.json` file.\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://ptk.dev\"><img src=\"https://avatars1.githubusercontent.com/u/442844?v=4?s=100\" width=\"100px;\" alt=\"Patryk Rzucidło\"/><br /><sub><b>Patryk Rzucidło</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Code\">💻</a> <a href=\"#translation-ptkdev\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ptkdev\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3Aptkdev\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><img src=\"https://avatars1.githubusercontent.com/u/50172746?v=4?s=100\" width=\"100px;\" alt=\"Alì Shadman\"/><br /><sub><b>Alì Shadman</b></sub><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Code\">💻</a> <a href=\"#translation-AliShadman95\" title=\"Translation\">🌍</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=AliShadman95\" title=\"Documentation\">📖</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AAliShadman95\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/den_karina\"><img src=\"https://avatars1.githubusercontent.com/u/91738047?v=4?s=100\" width=\"100px;\" alt=\"Denise Scazzari\"/><br /><sub><b>Denise Scazzari</b></sub></a><br /><a href=\"#translation-DeniseKarina\" title=\"Translation\">🌍</a></td>\n      <td align=\"center\" valign=\"top\" width=\"16.66%\"><a href=\"https://instagram.com/i.m_al3x\"><img src=\"?s=100\" width=\"100px;\" alt=\"Alessandro Di Maria\"/><br /><sub><b>Alessandro Di Maria</b></sub></a><br /><a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/commits?author=ImAl3x03\" title=\"Code\">💻</a> <a href=\"https://github.com/ptkdev/ptkdev/quizquickanswer-telegram-game-bot/issues?q=author%3AImAl3x03\" title=\"Bug reports\">🐛</a> <a href=\"#translation-ImAl3x03\" title=\"Translation\">🌍</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n> 💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!\n\n## 🦄 Other Projects\n\n<!-- all-shields/projects-badges1:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%92%BB%20My-Portfolio-3498db.svg?style=flat&logo=)](https://ptk.dev/)\n\n<!-- all-shields/projects-badges1:END -->\n\n<!-- all-shields/projects-badges2:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%A6%92%20Tools-Node%20Logger-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-logger) [![](https://img.shields.io/badge/%F0%9F%A6%8C%20Tools-All%20Shields%20CLI-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/all-shields-cli) [![](https://img.shields.io/badge/%F0%9F%96%A5%EF%B8%8F%20Tools-Aspect%20Ratio%2021%3A9-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/chrome-extension-aspectratio219) [![](https://img.shields.io/badge/%F0%9F%9B%A1%20Tools-Badges%3A%20Available%20on-9b59b6.svg?style=flat&logo=)](https://availableon.badge.ptkdev.io/) [![](https://img.shields.io/badge/%F0%9F%90%BE%20Tools-JSON%20Token%20Replace-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/json-token-replace) [![](https://img.shields.io/badge/%F0%9F%90%8D%20Tools-ESLint%3A%20snakecasejs-9b59b6.svg?style=flat&logo=)](https://github.com/ptkdev/eslint-plugin-snakecasejs)\n\n<!-- all-shields/projects-badges2:END -->\n\n<!-- all-shields/projects-badges3:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%93%B8%20WebComponent-Instagram%20Widget-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-instagram-widget) [![](https://img.shields.io/badge/%F0%9F%91%91%20WebComponent-My%20Patreon%20Box-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-patreon-box) [![](https://img.shields.io/badge/%F0%9F%8F%9E%20WebComponent-Carousel%20Slideshow-e74c3c.svg?style=flat&logo=)](https://github.com/ptkdev-components/webcomponent-carousel-slideshow)\n\n<!-- all-shields/projects-badges3:END -->\n\n<!-- all-shields/projects-badges4:START -->\n\n[![](https://img.shields.io/badge/%F0%9F%8E%A8%20Themes-VSCode-f1c40f.svg?style=flat&logo=)](https://github.com/ptkdev/vscode-theme-dark-blood) [![](https://img.shields.io/badge/%F0%9F%93%9A%20Bot-GameBookChat-34495e.svg?style=flat&logo=)](https://t.me/gamebookchatbot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Svelte-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=svelte) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-WebComponents-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=webcomponent) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-BOT-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=bot) [![](https://img.shields.io/badge/%F0%9F%91%94%20Boilerplate-Node-f368e0.svg?style=flat&logo=)](https://github.com/ptkdev?q=node) [![](https://img.shields.io/badge/%F0%9F%92%85%20App-Me%20in%20Gifs-2ecc71.svg?style=flat&logo=)](https://meingifs.pics/) [![](https://img.shields.io/badge/%F0%9F%93%B1%20App-Stickers-2ecc71.svg?style=flat&logo=)](https://github.com/ptkdev/ptkdev-stickers#-install-free)\n\n<!-- all-shields/projects-badges4:END -->\n\n## 💫 License\n\n-   Code and Contributions have **MIT License**\n-   Images and logos have **CC BY-NC 4.0 License**\n-   Documentations and Translations have **CC BY 4.0 License**\n\n###### Copyleft (c) 2022 [Patryk Rzucidło](https://ptk.dev) ([@PTKDev](https://twitter.com/ptkdev)) <[support@ptkdev.io](mailto:support@ptkdev.io)>\n","readmeFilename":"README.md","gitHead":"ff6e85b647ed6a3c4765991d4092fd8f77764061","_id":"@ptkdev/quizquickanswer-telegram-game-bot@0.7.9-nightly.99","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-TOBvouEQf0NCzbQu7JR77C/1A3Rnx56cT2ypQBqAz+ZQTj7USR0fwObp5fdeNdQd2Eh6DOKQiaaeH0q3yknrvA==","shasum":"47e5c812312259d70b6aca47b60b3ff21bafc700","tarball":"https://registry.npmjs.org/@ptkdev/quizquickanswer-telegram-game-bot/-/quizquickanswer-telegram-game-bot-0.7.9-nightly.99.tgz","fileCount":10,"unpackedSize":32156,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcT/wuIePnM4ZcK+2D4NYOvDuaME7D3q9EWHUE6OteYAiEApqvKE9wC7yBq2b21k7zcIHzN8neZLtiJjanBm4MWyHI="}]},"_npmUser":{"name":"ptkdevio","email":"ptkdev@gmail.com"},"directories":{},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/quizquickanswer-telegram-game-bot_0.7.9-nightly.99_1688945754911_0.602941623067645"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-07T21:02:23.948Z","0.4.0":"2021-11-07T21:02:24.128Z","modified":"2023-07-09T23:35:55.308Z","0.6.0":"2021-11-27T23:02:29.431Z","0.7.0-nightly.1":"2021-12-26T00:18:06.693Z","0.7.0-nightly.2":"2021-12-30T16:04:36.216Z","0.7.0-nightly.3":"2021-12-31T23:14:24.495Z","0.7.0-nightly.4":"2022-01-02T22:38:03.730Z","0.7.0-nightly.5":"2022-01-02T23:36:13.996Z","0.7.0-nightly.6":"2022-01-03T00:12:57.058Z","0.7.0-nightly.7":"2022-01-03T00:25:27.158Z","0.7.0-nightly.8":"2022-01-03T00:26:47.008Z","0.7.0-nightly.9":"2022-01-03T04:47:33.880Z","0.7.0-nightly.10":"2022-01-06T02:33:56.205Z","0.7.0-nightly.11":"2022-01-10T18:59:28.918Z","0.7.0-beta.1":"2022-01-10T18:59:58.188Z","0.7.1-beta.1":"2022-01-10T19:06:38.776Z","0.7.2-nightly.1":"2022-01-10T19:23:07.901Z","0.7.2-beta.1":"2022-01-10T19:23:25.374Z","0.7.2":"2022-01-10T19:24:38.236Z","0.7.3-nightly.1":"2022-01-10T19:30:15.851Z","0.7.3-nightly.2":"2022-01-10T23:37:02.105Z","0.7.3-nightly.3":"2022-01-11T15:56:06.882Z","0.7.3-nightly.4":"2022-01-11T23:37:20.371Z","0.7.3-nightly.5":"2022-01-12T23:36:22.212Z","0.7.3-nightly.6":"2022-01-13T23:36:38.641Z","0.7.3-nightly.7":"2022-01-14T23:36:28.546Z","0.7.3-nightly.8":"2022-01-15T23:35:57.146Z","0.7.3-nightly.9":"2022-01-16T23:36:11.799Z","0.7.3-nightly.10":"2022-01-17T23:36:20.855Z","0.7.3-nightly.11":"2022-01-18T23:34:47.741Z","0.7.3-nightly.12":"2022-01-19T23:35:36.507Z","0.7.3-nightly.13":"2022-01-20T23:34:48.382Z","0.7.3-nightly.14":"2022-01-21T23:35:07.663Z","0.7.3-nightly.15":"2022-01-22T23:34:56.598Z","0.7.3-nightly.16":"2022-01-23T23:34:52.865Z","0.7.3-nightly.17":"2022-01-24T23:34:45.810Z","0.7.3-nightly.18":"2022-01-25T23:35:28.289Z","0.7.3-nightly.19":"2022-01-26T23:35:17.791Z","0.7.3-nightly.20":"2022-01-27T23:35:14.210Z","0.7.3-nightly.21":"2022-01-28T23:35:12.981Z","0.7.3-nightly.22":"2022-01-29T23:34:39.365Z","0.7.3-nightly.23":"2022-01-30T23:34:52.255Z","0.7.3-nightly.24":"2022-01-31T23:35:07.455Z","0.7.3-nightly.25":"2022-02-01T23:35:14.096Z","0.7.3-nightly.26":"2022-02-02T23:35:19.746Z","0.7.3-nightly.27":"2022-02-03T23:34:28.136Z","0.7.3-nightly.28":"2022-02-04T23:34:43.950Z","0.7.3-nightly.29":"2022-02-05T23:41:42.026Z","0.7.3-nightly.30":"2022-02-06T23:34:53.989Z","0.7.3-nightly.31":"2022-02-07T23:35:21.190Z","0.7.3-nightly.32":"2022-02-08T23:35:23.267Z","0.7.3-nightly.33":"2022-02-09T23:34:50.689Z","0.7.3-nightly.34":"2022-02-10T23:35:04.113Z","0.7.3-nightly.35":"2022-02-11T23:34:54.958Z","0.7.3-nightly.36":"2022-02-12T23:34:46.333Z","0.7.3-nightly.37":"2022-02-13T23:35:00.536Z","0.7.3-nightly.38":"2022-02-14T23:35:18.780Z","0.7.3-nightly.39":"2022-02-15T23:35:17.928Z","0.7.3-nightly.40":"2022-02-16T23:35:29.826Z","0.7.3-nightly.41":"2022-02-17T23:35:14.033Z","0.7.3-nightly.42":"2022-02-18T23:35:08.422Z","0.7.3-nightly.43":"2022-02-19T23:35:10.906Z","0.7.3-nightly.44":"2022-02-20T23:34:56.297Z","0.7.3-nightly.45":"2022-02-21T23:35:09.455Z","0.7.3-nightly.46":"2022-02-22T23:35:35.209Z","0.7.3-nightly.47":"2022-02-23T23:35:32.002Z","0.7.3-nightly.48":"2022-02-24T23:35:38.195Z","0.7.3-nightly.49":"2022-02-25T23:35:20.745Z","0.7.3-nightly.50":"2022-02-26T23:35:24.127Z","0.7.3-nightly.51":"2022-02-27T23:35:10.776Z","0.7.3-nightly.52":"2022-02-28T23:35:34.110Z","0.7.3-nightly.53":"2022-03-01T23:35:29.974Z","0.7.3-nightly.54":"2022-03-02T23:35:30.541Z","0.7.3-nightly.55":"2022-03-03T23:35:30.778Z","0.7.3-nightly.56":"2022-03-04T23:35:32.089Z","0.7.3-nightly.57":"2022-03-05T23:34:58.728Z","0.7.3-nightly.58":"2022-03-06T23:35:26.283Z","0.7.3-nightly.59":"2022-03-07T23:35:34.721Z","0.7.3-nightly.60":"2022-03-08T23:35:28.503Z","0.7.3-nightly.61":"2022-03-09T23:35:33.607Z","0.7.3-nightly.62":"2022-03-10T23:35:33.923Z","0.7.3-nightly.63":"2022-03-11T23:35:37.345Z","0.7.3-nightly.64":"2022-03-12T23:35:43.935Z","0.7.3-nightly.65":"2022-03-13T23:35:29.174Z","0.7.3-nightly.66":"2022-03-14T23:35:47.666Z","0.7.3-nightly.67":"2022-03-15T23:35:28.868Z","0.7.3-nightly.68":"2022-03-16T23:35:29.041Z","0.7.3-nightly.69":"2022-03-17T23:35:24.896Z","0.7.3-nightly.70":"2022-03-18T23:35:39.497Z","0.7.3-nightly.71":"2022-03-19T23:35:25.396Z","0.7.3-nightly.72":"2022-03-20T23:35:18.354Z","0.7.3-nightly.73":"2022-03-21T23:35:40.758Z","0.7.3-nightly.74":"2022-03-22T23:35:46.733Z","0.7.3-nightly.75":"2022-03-23T23:35:30.282Z","0.7.3-nightly.76":"2022-03-24T23:35:53.969Z","0.7.3-nightly.77":"2022-03-25T23:35:52.748Z","0.7.3-nightly.78":"2022-03-26T23:35:12.505Z","0.7.3-nightly.79":"2022-03-27T23:35:45.527Z","0.7.3-nightly.80":"2022-03-28T23:35:32.039Z","0.7.3-nightly.81":"2022-03-29T23:36:04.436Z","0.7.3-nightly.82":"2022-03-30T23:35:50.975Z","0.7.3-nightly.83":"2022-03-31T23:36:06.047Z","0.7.3-nightly.84":"2022-04-01T23:36:03.834Z","0.7.3-nightly.85":"2022-04-02T23:35:39.542Z","0.7.3-nightly.86":"2022-04-03T23:35:34.351Z","0.7.3-nightly.87":"2022-04-04T23:36:08.693Z","0.7.3-nightly.88":"2022-04-05T23:36:06.464Z","0.7.3-nightly.89":"2022-04-06T23:36:01.646Z","0.7.3-nightly.90":"2022-04-07T23:35:55.459Z","0.7.3-nightly.91":"2022-04-08T23:37:20.592Z","0.7.3-nightly.92":"2022-04-09T23:35:30.430Z","0.7.3-nightly.93":"2022-04-10T23:36:02.551Z","0.7.3-nightly.94":"2022-04-11T23:36:48.709Z","0.7.3-nightly.95":"2022-04-12T23:35:59.645Z","0.7.3-nightly.96":"2022-04-13T23:35:43.664Z","0.7.3-nightly.97":"2022-04-14T23:36:00.193Z","0.7.3-nightly.98":"2022-04-15T23:36:03.722Z","0.7.3-nightly.99":"2022-04-16T23:35:46.188Z","0.7.3-nightly.100":"2022-04-17T23:36:10.485Z","0.7.3-nightly.101":"2022-04-18T23:34:44.818Z","0.7.3-nightly.102":"2022-04-19T23:35:23.322Z","0.7.3-nightly.103":"2022-04-20T23:36:19.774Z","0.7.3-nightly.104":"2022-04-21T23:35:00.207Z","0.7.3-nightly.105":"2022-04-22T23:36:30.288Z","0.7.3-nightly.106":"2022-04-23T23:36:04.124Z","0.7.3-nightly.107":"2022-04-24T23:36:12.804Z","0.7.3-nightly.108":"2022-04-25T23:36:59.738Z","0.7.3-nightly.109":"2022-04-26T23:36:35.992Z","0.7.3-nightly.110":"2022-04-27T23:38:45.073Z","0.7.3-nightly.111":"2022-04-28T23:36:28.195Z","0.7.3-nightly.112":"2022-04-29T23:36:17.675Z","0.7.3-nightly.113":"2022-04-30T23:35:51.097Z","0.7.3-nightly.114":"2022-05-01T23:35:57.482Z","0.7.3-nightly.115":"2022-05-02T23:37:01.545Z","0.7.3-nightly.116":"2022-05-03T23:35:33.556Z","0.7.3-nightly.117":"2022-05-04T23:36:37.602Z","0.7.3-nightly.118":"2022-05-05T23:36:56.803Z","0.7.3-nightly.119":"2022-05-06T23:36:20.600Z","0.7.3-nightly.120":"2022-05-07T23:36:09.201Z","0.7.3-nightly.121":"2022-05-08T23:36:19.292Z","0.7.3-nightly.122":"2022-05-09T23:36:46.691Z","0.7.3-nightly.123":"2022-05-10T23:37:34.251Z","0.7.3-nightly.124":"2022-05-11T23:37:58.227Z","0.7.3-nightly.125":"2022-05-12T23:37:48.262Z","0.7.3-nightly.126":"2022-05-13T23:38:32.704Z","0.7.3-nightly.127":"2022-05-14T23:36:22.139Z","0.7.3-nightly.128":"2022-05-15T23:36:48.593Z","0.7.3-nightly.129":"2022-05-16T23:37:09.573Z","0.7.3-nightly.130":"2022-05-17T23:36:33.976Z","0.7.3-nightly.131":"2022-05-18T23:36:51.526Z","0.7.3-nightly.132":"2022-05-19T23:36:58.116Z","0.7.3-nightly.133":"2022-05-20T23:37:12.850Z","0.7.3-nightly.134":"2022-05-21T23:36:31.669Z","0.7.3-nightly.135":"2022-05-22T23:36:24.460Z","0.7.3-nightly.136":"2022-05-23T23:36:49.424Z","0.7.3-nightly.137":"2022-05-24T23:36:32.583Z","0.7.3-nightly.138":"2022-05-25T23:37:10.072Z","0.7.3-nightly.139":"2022-05-26T23:35:39.381Z","0.7.3-nightly.140":"2022-05-27T23:36:44.686Z","0.7.3-nightly.141":"2022-05-28T23:36:45.131Z","0.7.3-nightly.142":"2022-05-29T23:36:37.219Z","0.7.3-nightly.143":"2022-05-30T23:37:16.082Z","0.7.3-nightly.144":"2022-05-31T23:38:27.769Z","0.7.3-nightly.145":"2022-06-01T23:38:20.950Z","0.7.3-nightly.146":"2022-06-02T23:35:35.488Z","0.7.3-nightly.147":"2022-06-03T23:35:41.304Z","0.7.3-nightly.148":"2022-06-04T23:35:40.470Z","0.7.3-nightly.149":"2022-06-05T23:35:12.757Z","0.7.3-nightly.150":"2022-06-06T23:35:51.069Z","0.7.3-nightly.151":"2022-06-07T23:35:36.754Z","0.7.3-nightly.152":"2022-06-08T23:35:44.602Z","0.7.3-nightly.153":"2022-06-09T23:35:47.121Z","0.7.3-nightly.154":"2022-06-10T23:35:44.741Z","0.7.3-nightly.155":"2022-06-11T23:35:17.415Z","0.7.3-nightly.156":"2022-06-12T23:35:24.163Z","0.7.3-nightly.157":"2022-06-13T23:35:46.463Z","0.7.3-nightly.158":"2022-06-14T23:35:53.570Z","0.7.3-nightly.159":"2022-06-15T23:36:14.190Z","0.7.3-nightly.160":"2022-06-16T23:36:03.717Z","0.7.3-nightly.161":"2022-06-17T23:35:54.083Z","0.7.3-nightly.162":"2022-06-18T23:35:24.026Z","0.7.3-nightly.163":"2022-06-19T23:35:33.802Z","0.7.3-nightly.164":"2022-06-20T23:37:23.489Z","0.7.3-nightly.165":"2022-06-21T23:36:28.347Z","0.7.3-nightly.166":"2022-06-22T23:36:40.658Z","0.7.3-nightly.167":"2022-06-23T23:35:56.264Z","0.7.3-nightly.168":"2022-06-24T23:35:54.735Z","0.7.3-nightly.169":"2022-06-25T23:35:36.850Z","0.7.3-nightly.170":"2022-06-26T23:35:36.603Z","0.7.3-nightly.171":"2022-06-27T23:36:06.801Z","0.7.3-nightly.172":"2022-06-28T23:35:53.842Z","0.7.3-nightly.173":"2022-06-29T23:36:08.926Z","0.7.3-nightly.174":"2022-06-30T23:35:59.553Z","0.7.3-nightly.175":"2022-07-01T23:35:56.289Z","0.7.3-nightly.176":"2022-07-02T23:35:34.825Z","0.7.3-nightly.177":"2022-07-03T23:35:45.384Z","0.7.3-nightly.178":"2022-07-04T23:36:25.815Z","0.7.3-nightly.179":"2022-07-05T23:36:31.916Z","0.7.3-nightly.180":"2022-07-06T23:35:50.195Z","0.7.3-nightly.181":"2022-07-07T23:36:42.715Z","0.7.3-nightly.182":"2022-07-08T23:36:06.977Z","0.7.3-nightly.183":"2022-07-09T23:35:58.592Z","0.7.3-nightly.184":"2022-07-10T23:35:53.083Z","0.7.3-nightly.185":"2022-07-11T23:35:57.984Z","0.7.3-nightly.186":"2022-07-12T23:36:01.336Z","0.7.3-nightly.187":"2022-07-13T23:36:19.143Z","0.7.3-nightly.188":"2022-07-14T23:37:02.776Z","0.7.3-nightly.189":"2022-07-15T23:36:20.536Z","0.7.3-nightly.190":"2022-07-16T23:35:35.316Z","0.7.3-nightly.191":"2022-07-17T23:35:58.076Z","0.7.3-nightly.192":"2022-07-18T23:36:03.762Z","0.7.3-nightly.193":"2022-07-19T23:36:26.358Z","0.7.3-nightly.194":"2022-07-20T23:36:51.100Z","0.7.3-nightly.195":"2022-07-21T23:37:44.930Z","0.7.3-nightly.196":"2022-07-22T23:36:40.507Z","0.7.3-nightly.197":"2022-07-23T23:36:24.944Z","0.7.3-nightly.198":"2022-07-24T23:36:17.246Z","0.7.3-nightly.199":"2022-07-25T23:36:37.720Z","0.7.3-nightly.200":"2022-07-26T23:36:01.750Z","0.7.3-nightly.201":"2022-07-27T23:36:01.163Z","0.7.3-nightly.202":"2022-07-28T23:37:05.940Z","0.7.3-nightly.203":"2022-07-29T23:37:03.899Z","0.7.3-nightly.204":"2022-07-30T23:35:53.313Z","0.7.3-nightly.205":"2022-07-31T23:36:17.671Z","0.7.3-nightly.206":"2022-08-01T23:38:16.019Z","0.7.3-nightly.207":"2022-08-02T23:36:40.892Z","0.7.3-nightly.208":"2022-08-03T23:36:34.566Z","0.7.3-nightly.209":"2022-08-04T23:36:06.034Z","0.7.3-nightly.210":"2022-08-05T23:36:12.649Z","0.7.3-nightly.211":"2022-08-06T23:35:57.566Z","0.7.3-nightly.212":"2022-08-07T23:36:01.719Z","0.7.3-nightly.213":"2022-08-08T23:37:00.165Z","0.7.3-nightly.214":"2022-08-09T23:36:44.287Z","0.7.3-nightly.215":"2022-08-10T23:36:09.051Z","0.7.3-nightly.216":"2022-08-11T23:36:22.972Z","0.7.3-nightly.217":"2022-08-12T23:36:03.418Z","0.7.3-nightly.218":"2022-08-13T23:35:57.099Z","0.7.3-nightly.219":"2022-08-14T23:36:01.035Z","0.7.3-nightly.220":"2022-08-15T23:36:27.645Z","0.7.3-nightly.221":"2022-08-16T23:36:08.320Z","0.7.3-nightly.222":"2022-08-17T23:36:28.831Z","0.7.3-nightly.223":"2022-08-18T23:36:17.518Z","0.7.3-nightly.224":"2022-08-19T23:36:25.620Z","0.7.3-nightly.225":"2022-08-20T23:35:53.343Z","0.7.3-nightly.226":"2022-08-21T23:36:13.232Z","0.7.3-nightly.227":"2022-08-22T23:36:53.221Z","0.7.3-nightly.228":"2022-08-23T23:36:35.130Z","0.7.3-nightly.229":"2022-08-24T23:37:33.117Z","0.7.3-nightly.230":"2022-08-25T23:40:42.715Z","0.7.3-nightly.231":"2022-08-26T23:37:13.335Z","0.7.3-nightly.232":"2022-08-27T23:36:59.777Z","0.7.3-nightly.233":"2022-08-28T23:37:02.864Z","0.7.3-nightly.234":"2022-08-29T23:37:55.674Z","0.7.3-nightly.235":"2022-08-30T23:38:34.836Z","0.7.3-nightly.236":"2022-08-31T23:37:31.993Z","0.7.3-nightly.237":"2022-09-01T23:37:45.961Z","0.7.3-nightly.238":"2022-09-02T23:37:15.123Z","0.7.3-nightly.239":"2022-09-03T23:37:06.330Z","0.7.3-nightly.240":"2022-09-04T23:37:15.580Z","0.7.3-nightly.241":"2022-09-05T23:38:13.196Z","0.7.3-nightly.242":"2022-09-06T23:38:23.559Z","0.7.3-nightly.243":"2022-09-07T23:40:14.161Z","0.7.3-nightly.244":"2022-09-08T23:39:13.472Z","0.7.3-nightly.245":"2022-09-09T23:39:18.695Z","0.7.3-nightly.246":"2022-09-10T23:37:49.851Z","0.7.3-nightly.247":"2022-09-11T23:38:19.209Z","0.7.3-nightly.248":"2022-09-12T23:39:23.669Z","0.7.3-nightly.249":"2022-09-13T23:39:15.046Z","0.7.3-nightly.250":"2022-09-14T23:38:20.322Z","0.7.3-nightly.251":"2022-09-15T23:39:50.444Z","0.7.3-nightly.252":"2022-09-16T23:39:00.867Z","0.7.3-nightly.253":"2022-09-17T23:38:08.254Z","0.7.3-nightly.254":"2022-09-18T23:38:30.733Z","0.7.3-nightly.255":"2022-09-19T23:41:08.267Z","0.7.3-nightly.256":"2022-09-20T23:40:19.473Z","0.7.3-nightly.257":"2022-09-21T23:39:34.083Z","0.7.3-nightly.258":"2022-09-22T23:39:12.342Z","0.7.3-nightly.259":"2022-09-23T23:39:53.677Z","0.7.3-nightly.260":"2022-09-24T23:39:05.409Z","0.7.3-nightly.261":"2022-09-25T23:39:26.081Z","0.7.3-nightly.262":"2022-09-26T23:42:12.676Z","0.7.3-nightly.263":"2022-09-27T23:42:23.512Z","0.7.3-nightly.264":"2022-09-28T23:41:16.328Z","0.7.3-nightly.265":"2022-09-29T23:43:31.769Z","0.7.3-nightly.266":"2022-09-30T23:42:13.835Z","0.7.3-nightly.267":"2022-10-01T23:41:16.198Z","0.7.3-nightly.268":"2022-10-02T23:40:51.293Z","0.7.3-nightly.269":"2022-10-03T23:42:13.083Z","0.7.3-nightly.270":"2022-10-04T23:41:24.661Z","0.7.3-nightly.271":"2022-10-05T23:42:02.962Z","0.7.3-nightly.272":"2022-10-06T23:42:52.433Z","0.7.3-nightly.273":"2022-10-07T23:41:54.185Z","0.7.3-nightly.274":"2022-10-08T23:40:54.244Z","0.7.3-nightly.275":"2022-10-09T23:41:03.830Z","0.7.3-nightly.276":"2022-10-10T23:42:25.358Z","0.7.3-nightly.277":"2022-10-11T23:42:47.024Z","0.7.3-nightly.278":"2022-10-12T23:41:44.075Z","0.7.3-nightly.279":"2022-10-13T23:42:39.008Z","0.7.3-nightly.280":"2022-10-14T23:41:35.237Z","0.7.3-nightly.281":"2022-10-15T23:41:11.978Z","0.7.3-nightly.282":"2022-10-16T23:41:36.365Z","0.7.3-nightly.283":"2022-10-17T23:42:11.311Z","0.7.3-nightly.284":"2022-10-18T23:42:54.921Z","0.7.3-nightly.285":"2022-10-19T23:42:39.894Z","0.7.3-nightly.286":"2022-10-20T23:42:58.443Z","0.7.3-nightly.287":"2022-10-21T23:42:11.563Z","0.7.3-nightly.288":"2022-10-22T23:41:37.805Z","0.7.3-nightly.289":"2022-10-23T23:41:53.209Z","0.7.3-nightly.290":"2022-10-24T23:42:26.064Z","0.7.3-nightly.291":"2022-10-25T23:39:54.494Z","0.7.3-nightly.292":"2022-10-26T23:39:32.191Z","0.7.3-nightly.293":"2022-10-27T23:40:03.228Z","0.7.3-nightly.294":"2022-10-28T23:39:24.531Z","0.7.3-nightly.295":"2022-10-29T23:38:56.442Z","0.7.3-nightly.296":"2022-10-30T23:38:39.662Z","0.7.3-nightly.297":"2022-10-31T23:40:24.967Z","0.7.3-nightly.298":"2022-11-01T23:39:20.235Z","0.7.3-nightly.299":"2022-11-02T23:39:23.308Z","0.7.3-nightly.300":"2022-11-03T23:37:46.320Z","0.7.3-nightly.301":"2022-11-04T23:38:02.001Z","0.7.3-nightly.302":"2022-11-05T23:36:36.830Z","0.7.3-nightly.303":"2022-11-06T23:37:46.575Z","0.7.3-nightly.304":"2022-11-07T23:38:44.600Z","0.7.3-nightly.305":"2022-11-08T23:39:40.881Z","0.7.3-nightly.306":"2022-11-09T23:38:55.778Z","0.7.3-beta.1":"2022-11-10T21:07:48.441Z","0.7.3":"2022-11-10T21:14:33.236Z","0.7.4-nightly.1":"2022-11-10T23:38:29.186Z","0.7.4-nightly.2":"2022-11-11T23:38:05.509Z","0.7.4-nightly.3":"2022-11-12T23:38:00.529Z","0.7.4-nightly.4":"2022-11-13T23:38:17.656Z","0.7.4-nightly.5":"2022-11-14T23:36:58.857Z","0.7.4-nightly.6":"2022-11-15T23:36:52.330Z","0.7.4-nightly.7":"2022-11-16T23:37:10.604Z","0.7.4-beta.1":"2022-11-17T17:10:59.402Z","0.7.4":"2022-11-17T17:15:14.067Z","0.7.5-beta.1":"2022-11-17T23:16:01.576Z","0.7.5":"2022-11-17T23:18:13.087Z","0.7.6-nightly.1":"2022-11-17T23:37:14.115Z","0.7.6-nightly.2":"2022-11-18T23:37:07.166Z","0.7.6-nightly.3":"2022-11-19T23:36:50.872Z","0.7.6-nightly.4":"2022-11-20T23:37:20.877Z","0.7.6-nightly.5":"2022-11-21T23:37:41.670Z","0.7.6-nightly.6":"2022-11-22T23:36:14.034Z","0.7.6-nightly.7":"2022-11-23T23:36:30.900Z","0.7.6-nightly.8":"2022-11-24T23:36:40.415Z","0.7.6-nightly.9":"2022-11-25T23:36:19.307Z","0.7.6-nightly.10":"2022-11-26T23:36:00.696Z","0.7.6-nightly.11":"2022-11-27T23:36:27.918Z","0.7.6-nightly.12":"2022-11-28T23:36:22.891Z","0.7.6-nightly.13":"2022-11-29T23:36:27.679Z","0.7.6-nightly.14":"2022-11-30T23:36:47.985Z","0.7.6-nightly.15":"2022-12-01T23:36:28.030Z","0.7.6-nightly.16":"2022-12-02T23:35:25.553Z","0.7.6-nightly.17":"2022-12-03T23:35:33.048Z","0.7.6-nightly.18":"2022-12-04T23:35:31.675Z","0.7.6-nightly.19":"2022-12-05T23:35:50.365Z","0.7.6-nightly.20":"2022-12-06T23:35:51.897Z","0.7.6-nightly.21":"2022-12-07T23:36:07.709Z","0.7.6-nightly.22":"2022-12-08T23:36:16.463Z","0.7.6-nightly.23":"2022-12-09T23:35:44.763Z","0.7.6-nightly.24":"2022-12-10T23:35:31.549Z","0.7.6-nightly.25":"2022-12-11T23:35:57.862Z","0.7.6-nightly.26":"2022-12-12T23:35:56.881Z","0.7.6-nightly.27":"2022-12-13T23:35:50.339Z","0.7.6-nightly.28":"2022-12-14T23:36:00.166Z","0.7.6-nightly.29":"2022-12-15T23:35:31.400Z","0.7.6-nightly.30":"2022-12-16T23:35:57.717Z","0.7.6-nightly.31":"2022-12-17T23:35:47.907Z","0.7.6-nightly.32":"2022-12-18T23:35:46.305Z","0.7.6-nightly.33":"2022-12-19T23:35:39.281Z","0.7.6-nightly.34":"2022-12-20T23:35:57.850Z","0.7.6-nightly.35":"2022-12-21T23:35:44.605Z","0.7.6-nightly.36":"2022-12-22T23:35:41.412Z","0.7.6-nightly.37":"2022-12-23T23:35:49.111Z","0.7.6-nightly.38":"2022-12-24T23:35:42.048Z","0.7.6-nightly.39":"2022-12-25T23:35:30.486Z","0.7.6-nightly.40":"2022-12-26T23:35:48.408Z","0.7.6-nightly.41":"2022-12-27T23:35:30.577Z","0.7.6-nightly.42":"2022-12-28T23:35:55.633Z","0.7.6-nightly.43":"2022-12-29T23:35:35.236Z","0.7.6-nightly.44":"2022-12-30T23:35:36.285Z","0.7.6-nightly.45":"2022-12-31T23:35:41.629Z","0.7.6-nightly.46":"2023-01-01T23:35:27.329Z","0.7.6-nightly.47":"2023-01-02T23:35:45.928Z","0.7.6-nightly.48":"2023-01-03T23:36:03.531Z","0.7.6-nightly.49":"2023-01-04T23:35:44.858Z","0.7.6-nightly.50":"2023-01-05T23:35:19.685Z","0.7.6-nightly.51":"2023-01-06T23:36:13.970Z","0.7.6-nightly.52":"2023-01-07T23:35:59.342Z","0.7.6-nightly.53":"2023-01-08T23:35:48.258Z","0.7.6-nightly.54":"2023-01-09T23:35:48.541Z","0.7.6-nightly.55":"2023-01-10T23:35:30.352Z","0.7.6-nightly.56":"2023-01-11T23:35:54.284Z","0.7.6-nightly.57":"2023-01-12T23:35:37.328Z","0.7.6-nightly.58":"2023-01-13T23:35:42.211Z","0.7.6-nightly.59":"2023-01-14T23:35:34.269Z","0.7.6-nightly.60":"2023-01-15T23:35:42.162Z","0.7.6-nightly.61":"2023-01-16T23:36:04.832Z","0.7.6-nightly.62":"2023-01-17T23:35:47.165Z","0.7.6-nightly.63":"2023-01-18T23:36:08.581Z","0.7.6-nightly.64":"2023-01-19T23:35:58.706Z","0.7.6-nightly.65":"2023-01-20T23:35:32.755Z","0.7.6-nightly.66":"2023-01-21T23:35:35.929Z","0.7.6-nightly.67":"2023-01-22T23:35:59.900Z","0.7.6-nightly.68":"2023-01-23T23:35:28.045Z","0.7.6-nightly.69":"2023-01-24T23:35:48.759Z","0.7.6-nightly.70":"2023-01-25T23:35:32.433Z","0.7.6-nightly.71":"2023-01-26T23:35:26.266Z","0.7.6-nightly.72":"2023-01-27T23:35:36.752Z","0.7.7-nightly.1":"2023-01-29T23:35:48.617Z","0.7.7-nightly.2":"2023-01-30T23:35:28.393Z","0.7.7-nightly.3":"2023-01-31T23:35:31.755Z","0.7.7-nightly.4":"2023-02-01T23:35:46.211Z","0.7.7-nightly.5":"2023-02-02T23:35:38.412Z","0.7.7-nightly.6":"2023-02-03T23:36:03.735Z","0.7.7-nightly.7":"2023-02-04T23:35:59.895Z","0.7.7-nightly.8":"2023-02-05T23:35:31.069Z","0.7.7-nightly.9":"2023-02-06T23:36:08.587Z","0.7.7-nightly.10":"2023-02-07T23:35:50.848Z","0.7.7-nightly.11":"2023-02-08T23:35:29.507Z","0.7.7-nightly.12":"2023-02-09T23:36:19.066Z","0.7.7-nightly.13":"2023-02-10T23:35:44.167Z","0.7.7-nightly.14":"2023-02-18T23:36:05.627Z","0.7.7-nightly.15":"2023-02-19T23:36:09.577Z","0.7.7-nightly.16":"2023-02-20T23:35:33.849Z","0.7.7-nightly.17":"2023-02-21T23:35:29.013Z","0.7.7-nightly.18":"2023-02-22T23:35:39.946Z","0.7.7-nightly.19":"2023-02-23T23:35:57.887Z","0.7.7-nightly.20":"2023-02-24T23:35:27.155Z","0.7.7-nightly.21":"2023-02-25T23:35:44.742Z","0.7.7-nightly.22":"2023-02-26T23:35:51.936Z","0.7.7-nightly.23":"2023-02-27T23:35:37.868Z","0.7.9-nightly.1":"2023-04-01T23:35:36.637Z","0.7.9-nightly.2":"2023-04-02T23:35:22.175Z","0.7.9-nightly.3":"2023-04-03T23:35:33.561Z","0.7.9-nightly.4":"2023-04-04T23:35:20.512Z","0.7.9-nightly.5":"2023-04-05T23:35:20.838Z","0.7.9-nightly.6":"2023-04-06T23:35:51.539Z","0.7.9-nightly.7":"2023-04-07T23:35:45.145Z","0.7.9-nightly.8":"2023-04-08T23:35:24.188Z","0.7.9-nightly.9":"2023-04-09T23:35:30.389Z","0.7.9-nightly.10":"2023-04-10T23:35:26.607Z","0.7.9-nightly.11":"2023-04-11T23:35:17.671Z","0.7.9-nightly.12":"2023-04-12T23:35:24.813Z","0.7.9-nightly.13":"2023-04-13T23:35:20.927Z","0.7.9-nightly.14":"2023-04-14T23:35:53.796Z","0.7.9-nightly.15":"2023-04-15T23:35:26.362Z","0.7.9-nightly.16":"2023-04-16T23:35:26.528Z","0.7.9-nightly.17":"2023-04-17T23:35:35.199Z","0.7.9-nightly.18":"2023-04-18T23:35:46.258Z","0.7.9-nightly.19":"2023-04-19T23:35:32.389Z","0.7.9-nightly.20":"2023-04-20T23:35:47.949Z","0.7.9-nightly.21":"2023-04-21T23:36:18.023Z","0.7.9-nightly.22":"2023-04-22T23:35:43.902Z","0.7.9-nightly.23":"2023-04-23T23:35:22.261Z","0.7.9-nightly.24":"2023-04-24T23:35:33.221Z","0.7.9-nightly.25":"2023-04-25T23:35:40.819Z","0.7.9-nightly.26":"2023-04-26T23:35:53.104Z","0.7.9-nightly.27":"2023-04-27T23:35:23.177Z","0.7.9-nightly.28":"2023-04-28T23:35:46.347Z","0.7.9-nightly.29":"2023-04-29T23:35:39.720Z","0.7.9-nightly.30":"2023-04-30T23:35:21.621Z","0.7.9-nightly.31":"2023-05-02T23:35:15.093Z","0.7.9-nightly.32":"2023-05-03T23:35:15.843Z","0.7.9-nightly.33":"2023-05-04T23:35:53.465Z","0.7.9-nightly.34":"2023-05-05T23:35:28.836Z","0.7.9-nightly.35":"2023-05-06T23:35:53.237Z","0.7.9-nightly.36":"2023-05-07T23:35:21.092Z","0.7.9-nightly.37":"2023-05-08T23:35:20.080Z","0.7.9-nightly.38":"2023-05-09T23:35:23.362Z","0.7.9-nightly.39":"2023-05-10T23:35:38.171Z","0.7.9-nightly.40":"2023-05-11T23:35:18.006Z","0.7.9-nightly.41":"2023-05-12T23:35:21.286Z","0.7.9-nightly.42":"2023-05-13T23:35:23.091Z","0.7.9-nightly.43":"2023-05-14T23:35:38.573Z","0.7.9-nightly.44":"2023-05-15T23:35:23.290Z","0.7.9-nightly.45":"2023-05-16T23:35:19.632Z","0.7.9-nightly.46":"2023-05-17T23:35:31.992Z","0.7.9-nightly.47":"2023-05-18T23:35:29.103Z","0.7.9-nightly.48":"2023-05-19T23:36:14.771Z","0.7.9-nightly.49":"2023-05-20T23:35:24.859Z","0.7.9-nightly.50":"2023-05-21T23:35:25.509Z","0.7.9-nightly.51":"2023-05-22T23:35:55.451Z","0.7.9-nightly.52":"2023-05-23T23:36:00.902Z","0.7.9-nightly.53":"2023-05-24T23:35:28.199Z","0.7.9-nightly.54":"2023-05-25T23:35:31.857Z","0.7.9-nightly.55":"2023-05-26T23:35:29.116Z","0.7.9-nightly.56":"2023-05-27T23:35:25.827Z","0.7.9-nightly.57":"2023-05-28T23:35:39.124Z","0.7.9-nightly.58":"2023-05-29T23:35:45.587Z","0.7.9-nightly.59":"2023-05-30T23:35:27.799Z","0.7.9-nightly.60":"2023-05-31T23:35:11.341Z","0.7.9-nightly.61":"2023-06-01T23:35:38.850Z","0.7.9-nightly.62":"2023-06-02T23:35:17.980Z","0.7.9-nightly.63":"2023-06-03T23:35:31.856Z","0.7.9-nightly.64":"2023-06-04T23:35:17.962Z","0.7.9-nightly.65":"2023-06-05T23:35:27.687Z","0.7.9-nightly.66":"2023-06-06T23:35:22.378Z","0.7.9-nightly.67":"2023-06-07T23:35:15.355Z","0.7.9-nightly.68":"2023-06-08T23:35:37.684Z","0.7.9-nightly.69":"2023-06-09T23:35:36.245Z","0.7.9-nightly.70":"2023-06-10T23:35:27.545Z","0.7.9-nightly.71":"2023-06-11T23:35:48.154Z","0.7.9-nightly.72":"2023-06-12T23:35:31.393Z","0.7.9-nightly.73":"2023-06-13T23:35:27.703Z","0.7.9-nightly.74":"2023-06-14T23:35:33.815Z","0.7.9-nightly.75":"2023-06-15T23:35:27.930Z","0.7.9-nightly.76":"2023-06-16T23:35:33.377Z","0.7.9-nightly.77":"2023-06-17T23:35:18.896Z","0.7.9-nightly.78":"2023-06-18T23:35:29.196Z","0.7.9-nightly.79":"2023-06-19T23:35:35.033Z","0.7.9-nightly.80":"2023-06-20T23:35:45.102Z","0.7.9-nightly.81":"2023-06-21T23:35:48.818Z","0.7.9-nightly.82":"2023-06-22T23:35:43.898Z","0.7.9-nightly.83":"2023-06-23T23:35:35.837Z","0.7.9-nightly.84":"2023-06-24T23:36:20.079Z","0.7.9-nightly.85":"2023-06-25T23:35:38.895Z","0.7.9-nightly.86":"2023-06-26T23:35:57.192Z","0.7.9-nightly.87":"2023-06-27T23:36:12.079Z","0.7.9-nightly.88":"2023-06-28T23:35:43.165Z","0.7.9-nightly.89":"2023-06-29T23:35:34.710Z","0.7.9-nightly.90":"2023-06-30T23:35:44.149Z","0.7.9-nightly.91":"2023-07-01T23:35:51.924Z","0.7.9-nightly.92":"2023-07-02T23:35:55.966Z","0.7.9-nightly.93":"2023-07-03T23:36:25.170Z","0.7.9-nightly.94":"2023-07-04T23:36:04.332Z","0.7.9-nightly.95":"2023-07-05T23:35:42.695Z","0.7.9-nightly.96":"2023-07-06T23:35:48.564Z","0.7.9-nightly.97":"2023-07-07T23:36:08.067Z","0.7.9-nightly.98":"2023-07-08T23:35:38.686Z","0.7.9-nightly.99":"2023-07-09T23:35:55.072Z"},"maintainers":[{"name":"ptkdevio","email":"ptkdev@gmail.com"}],"description":"Funny quiz game for telegram groups","homepage":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot","keywords":["ptkdev","telegram","telegram groups","friends","telegram bot","bot","quiz game","quiz telegram","game telegram","game bot telegram"],"repository":{"type":"git","url":"git+https://github.com/ptkdev/quizquickanswer-telegram-game-bot.git"},"contributors":[{"name":"Ali Shadman","url":"https://github.com/AliShadman95"}],"author":{"name":"Patryk Rzucidło [@ptkdev]","email":"support@ptkdev.io","url":"https://ptk.dev"},"bugs":{"url":"https://github.com/ptkdev/quizquickanswer-telegram-game-bot/issues"},"license":"MIT","readme":"","readmeFilename":""}